diff options
author | Chad Little <clittle@users.sourceforge.net> | 2003-09-20 21:46:17 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2003-09-20 21:46:17 +0000 |
commit | 2450f15799cf36e8ba872ce746659eb15102ebff (patch) | |
tree | 9b523e337b217b431f563fb597530357eeb3d0b5 /includes | |
parent | 9fdcd1bee11210fa4d69bdd880574508aa3a3296 (diff) | |
download | phpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.tar.gz phpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.tar.bz2 phpicalendar-2450f15799cf36e8ba872ce746659eb15102ebff.zip |
Moved all closing html and body tags into the footer. Updated README.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/footer.inc.php | 7 | ||||
-rw-r--r-- | includes/header.inc.php | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/includes/footer.inc.php b/includes/footer.inc.php index 07b5038..65a46a2 100644 --- a/includes/footer.inc.php +++ b/includes/footer.inc.php @@ -1,6 +1,6 @@ <?php -echo "<center><font class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.4</a>"; +echo "<center class=\"V9\"><br>$powered_by_lang <a class=\"psf\" href=\"http://phpicalendar.sourceforge.net/nuke/\">PHP iCalendar 0.9.4</a>"; if ($enable_rss == 'yes') { echo "<br>\n"; if ((isset($current_view)) && ($current_view == 'rssindex')) { @@ -9,6 +9,9 @@ if ($enable_rss == 'yes') { echo $this_site_is_lang.' <a class="psf" href="'.BASE.'rss/index.php?cal='.$cal.'&getdate='.$getdate.'">RSS-Enabled</a>'; } } -echo '</font></center>'; +echo '</center>'; ?> + +</body> +</html> diff --git a/includes/header.inc.php b/includes/header.inc.php index 09ceb52..12d2943 100644 --- a/includes/header.inc.php +++ b/includes/header.inc.php @@ -1,4 +1,9 @@ -<? if ($current_view == 'preferences') $display_date = $preferences_lang; ?> +<? + +if ($current_view == 'preferences') $display_date = $preferences_lang; +if ($current_view == 'search') $display_date = $results_lang; + +?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> |