aboutsummaryrefslogtreecommitdiffstats
path: root/includes/footer.inc.php
diff options
context:
space:
mode:
authorfenner <fenner>2002-11-27 21:13:19 +0000
committerfenner <fenner>2002-11-27 21:13:19 +0000
commitad4b3af658ce9906a192164bdb4e00ad4f8acb39 (patch)
tree836f0f79abf1a85239b91324f8b0a6a27966bd27 /includes/footer.inc.php
parent4494119c693eda9bef34f329b8a83725bcbd86ca (diff)
downloadphpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.tar.gz
phpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.tar.bz2
phpicalendar-ad4b3af658ce9906a192164bdb4e00ad4f8acb39.zip
Some HTML validator cleanups:
- Use &amp; instead of & in URLs - Use valign="middle" instead of valign="center" - Add type="text/javascript" to <script>
Diffstat (limited to 'includes/footer.inc.php')
-rw-r--r--includes/footer.inc.php15
1 files changed, 14 insertions, 1 deletions
diff --git a/includes/footer.inc.php b/includes/footer.inc.php
index 2b550a3..c4bedac 100644
--- a/includes/footer.inc.php
+++ b/includes/footer.inc.php
@@ -1 +1,14 @@
-<?php echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9 CVS</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; if ($current_view == 'rssindex') { echo '<a style="color:gray" href="http://feeds.archive.org/validator/check?url='.$footer_check.'"><img src="'.BASE.'images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" />'; } else { echo $this_site_is_lang.' <a class="psf" href="'.BASE.'rss/index.php?cal='.$cal.'&amp;getdate='.$getdate.'"">RSS-Enabled</a></font></center>'; } } echo '</font></center>'; ?> \ No newline at end of file
+<?php
+
+echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9 CVS</a>";
+if ($enable_rss == 'yes') {
+ echo "<br>\n";
+ if ($current_view == 'rssindex') {
+ echo '<a style="color:gray" href="http://feeds.archive.org/validator/check?url='.$footer_check.'"><img src="'.BASE.'images/valid-rss.png" alt="[Valid RSS]" title="Validate my RSS feed" width="88" height="31" border="1" vspace="3" />';
+ } else {
+ echo $this_site_is_lang.' <a class="psf" href="'.BASE.'rss/index.php?cal='.$cal.'&amp;getdate='.$getdate.'">RSS-Enabled</a>';
+ }
+}
+echo '</font></center>';
+
+?>

© 2014-2024 Faster IT GmbH | imprint | privacy policy