From a105312cd95f48da632a39dd369be24062d6c988 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Fri, 11 Nov 2005 05:08:30 +0000 Subject: fix small nav icons to pass cpath --- day.php | 1 + month.php | 1 + templates/default/month.tpl | 8 ++++---- templates/default/week.tpl | 8 ++++---- templates/default/year.tpl | 8 ++++---- week.php | 3 ++- year.php | 2 ++ 7 files changed, 18 insertions(+), 13 deletions(-) diff --git a/day.php b/day.php index a2f2cf8..c64728a 100644 --- a/day.php +++ b/day.php @@ -58,6 +58,7 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, + 'getcpath' => "&cpath=$cpath", 'cpath' => $cpath, 'calendar_name' => (is_array($calendar_name) ? "Multiple" : $calendar_name), 'current_view' => $current_view, diff --git a/month.php b/month.php index 9f19500..527e75c 100644 --- a/month.php +++ b/month.php @@ -65,6 +65,7 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, + 'getcpath' => "&cpath=$cpath", 'cpath' => $cpath, 'calendar_name' => $calendar_name, 'display_date' => $display_date, diff --git a/templates/default/month.tpl b/templates/default/month.tpl index 8466d7a..43982f0 100644 --- a/templates/default/month.tpl +++ b/templates/default/month.tpl @@ -10,10 +10,10 @@
- - - - + + + +
{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}
diff --git a/templates/default/week.tpl b/templates/default/week.tpl index d3f7a70..5a0c277 100644 --- a/templates/default/week.tpl +++ b/templates/default/week.tpl @@ -13,10 +13,10 @@
- - - - + + + +
{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}
diff --git a/templates/default/year.tpl b/templates/default/year.tpl index 2428fa1..b7f24f9 100644 --- a/templates/default/year.tpl +++ b/templates/default/year.tpl @@ -26,10 +26,10 @@ - - - - + + + +
{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}{L_DAY}{L_WEEK}{L_MONTH}{L_YEAR}
diff --git a/week.php b/week.php index 3198232..7cde70a 100644 --- a/week.php +++ b/week.php @@ -60,7 +60,8 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, - 'cpath' => $cpath, + 'getcpath' => "&cpath=$cpath", + 'cpath' => $cpath, 'calendar_name' => $calendar_name, 'display_date' => $display_date, 'current_view' => $current_view, diff --git a/year.php b/year.php index 2f0dd0f..84d5780 100644 --- a/year.php +++ b/year.php @@ -28,6 +28,8 @@ $page->replace_tags(array( 'charset' => $charset, 'default_path' => '', 'cal' => $cal, + 'getcpath' => "&cpath=$cpath", + 'cpath' => $cpath, 'getdate' => $getdate, 'calendar_name' => $calendar_name, 'display_date' => $this_year, -- cgit v1.2.3