[Feed-collector-svn] SF.net SVN: feed-collector: [109] trunk/inc
Status: Beta
Brought to you by:
c167
|
From: <C1...@us...> - 2007-05-15 21:32:48
|
Revision: 109
http://feed-collector.svn.sourceforge.net/feed-collector/?rev=109&view=rev
Author: C167
Date: 2007-05-15 14:32:46 -0700 (Tue, 15 May 2007)
Log Message:
-----------
added design
Modified Paths:
--------------
trunk/inc/footer.php
Added Paths:
-----------
trunk/inc/styles.php
Modified: trunk/inc/footer.php
===================================================================
--- trunk/inc/footer.php 2007-05-15 20:05:02 UTC (rev 108)
+++ trunk/inc/footer.php 2007-05-15 21:32:46 UTC (rev 109)
@@ -15,6 +15,11 @@
" <a href=\"mailto:c1...@us...\" title=\"the developsers email adress\">email the Webmaster</a><br />\n" .
" </span>\n\n" .
" <!-- <strong>URI »</strong> http://domain.is.invalid/prosimii/index.html -->\n" .
-//" • <strong>Updated »</strong> 2006-Oct-25 18:42 +1000 •");
-" • <strong>Updated »</strong> %s •", date("r", time()));
+" • <strong>Updated »</strong> %s •", date("r", time()), file_exists("styles/default/images/valid-css") ? "<img src=\"styles/default/images/valid-css\" alt=\"valid-css\" />":"");
+if(file_exists("styles/default/images/valid-css") or file_exists("styles/default/images/valid-markup")) {
+ $footer .= " <div class=\"right\">\n";
+ $footer .= file_exists("styles/default/images/valid-markup") ? " <img src=\"styles/default/images/valid-markup\" alt=\"Valid Markup\" />\n" : "";
+ $footer .= file_exists("styles/default/images/valid-css") ? " <img src=\"styles/default/images/valid-css\" alt=\"Valid CSS\" />\n" : "";
+ $footer .= " </div>\n";
+}
?>
Added: trunk/inc/styles.php
===================================================================
--- trunk/inc/styles.php (rev 0)
+++ trunk/inc/styles.php 2007-05-15 21:32:46 UTC (rev 109)
@@ -0,0 +1,25 @@
+<?php
+if(!empty($_GET['style'])) {
+ $style_prop = $_GET['style'];
+} elseif(!empty(HTTP_Session :: get('style'))) {
+ $style_prop = HTTP_Session :: get('style');
+} elseif(!empty($_POST['style'])) {
+ $style_prop = $_POST['style'];
+} else {
+ $style_prop = "default";
+}
+if(true === is_valid_design($style_prop])) {
+ $design = $style_prop;
+} else {
+ $design = "default";
+}
+
+/*
+ *
+ * @param String $design
+ * @return boolean
+ */
+function is_valid_design($design) {
+ return true;
+}
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|