aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--day.php1
-rw-r--r--month.php1
-rw-r--r--templates/default/month.tpl8
-rw-r--r--templates/default/week.tpl8
-rw-r--r--templates/default/year.tpl8
-rw-r--r--week.php3
-rw-r--r--year.php2
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 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
- <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
- <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
</div>
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 @@
<div style="padding-top: 3px;">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
- <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
- <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
</div>
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 @@
<td align="right" width="120" class="navback">
<table width="120" border="0" cellpadding="0" cellspacing="0">
<tr>
- <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
- <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
- <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
- <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
+ <td><a class="psf" href="day.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/day_on.gif" alt="{L_DAY}" border="0" /></a></td>
+ <td><a class="psf" href="week.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/week_on.gif" alt="{L_WEEK}" border="0" /></a></td>
+ <td><a class="psf" href="month.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/month_on.gif" alt="{L_MONTH}" border="0" /></a></td>
+ <td><a class="psf" href="year.php?cal={CAL}&amp;getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td>
</tr>
</table>
</td>
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,

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