diff options
-rw-r--r-- | day.php | 1 | ||||
-rw-r--r-- | month.php | 1 | ||||
-rw-r--r-- | templates/default/month.tpl | 8 | ||||
-rw-r--r-- | templates/default/week.tpl | 8 | ||||
-rw-r--r-- | templates/default/year.tpl | 8 | ||||
-rw-r--r-- | week.php | 3 | ||||
-rw-r--r-- | year.php | 2 |
7 files changed, 18 insertions, 13 deletions
@@ -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, @@ -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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&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}&getdate={GETDATE}{GETCPATH}"><img src="templates/{TEMPLATE}/images/year_on.gif" alt="{L_YEAR}" border="0" /></a></td> </tr> </table> </td> @@ -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, @@ -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, |