aboutsummaryrefslogtreecommitdiffstats
path: root/functions/template.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2006-02-08 08:07:54 +0000
committerJim Hu <jimhu@users.sourceforge.net>2006-02-08 08:07:54 +0000
commit501ac044e90b7c0cea1fc238455c24a21896e3ce (patch)
tree73f1dc824787fbc6a8691dead710c1099f46979c /functions/template.php
parent63b0bd326a585fe3aae825e81d565ae857a7d6b5 (diff)
downloadphpicalendar-501ac044e90b7c0cea1fc238455c24a21896e3ce.tar.gz
phpicalendar-501ac044e90b7c0cea1fc238455c24a21896e3ce.tar.bz2
phpicalendar-501ac044e90b7c0cea1fc238455c24a21896e3ce.zip
Multiple modifications to template.php and template files to give validated XHTML 1.0 Transitional
Diffstat (limited to 'functions/template.php')
-rw-r--r--functions/template.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/template.php b/functions/template.php
index 399aa6a..cb2431f 100644
--- a/functions/template.php
+++ b/functions/template.php
@@ -864,12 +864,12 @@ class Page {
$first_of_year = $minical_year."0101";
// Add links in to the month/year views.
- $dateFormat_month = str_replace("%B", "<a class=\"ps3\" href=\"month.php?cal=$cal&amp;getdate=$first_of_month\">%B</a>", $dateFormat_month);
- $dateFormat_month = str_replace("%Y", "<a class=\"ps3\" href=\"year.php?cal=$cal&amp;getdate=$first_of_year\">%Y</a>", $dateFormat_month);
+ $dateFormat_month_local = str_replace("%B", "<a class=\"ps3\" href=\"month.php?cal=$cal&amp;getdate=$first_of_month\">%B</a>", $dateFormat_month);
+ $dateFormat_month_local = str_replace("%Y", "<a class=\"ps3\" href=\"year.php?cal=$cal&amp;getdate=$first_of_year\">%Y</a>", $dateFormat_month_local);
//$start_day = strtotime($week_start_day);
$start_day = strtotime(dateOfWeek($getdate, $week_start_day));
- $month_title = localizeDate ($dateFormat_month, $fake_getdate_time);
+ $month_title = localizeDate ($dateFormat_month_local, $fake_getdate_time);
$month_date = date ('Ymd', $fake_getdate_time);
if ($type == 'small') {

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