summaryrefslogtreecommitdiff
path: root/modules/calendarview/views/calendarview_sidebar.html.php
diff options
context:
space:
mode:
authorTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
committerTristan Zur <tzur@webserver.ccwn.org>2015-06-10 20:55:53 +0200
commit406abd7c4df1ace2cd3e4e17159e8941a2e8c0c4 (patch)
treea324be16021f44f2fd6d55e609f47024e945b1db /modules/calendarview/views/calendarview_sidebar.html.php
Initial import
Diffstat (limited to 'modules/calendarview/views/calendarview_sidebar.html.php')
-rw-r--r--modules/calendarview/views/calendarview_sidebar.html.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/calendarview/views/calendarview_sidebar.html.php b/modules/calendarview/views/calendarview_sidebar.html.php
new file mode 100644
index 0000000..b4f1f6f
--- /dev/null
+++ b/modules/calendarview/views/calendarview_sidebar.html.php
@@ -0,0 +1,9 @@
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul>
+ <? if ($day_count > 0): ?>
+ <li><a href="<?=url::site("calendarview/day/" . date("Y", $date) . "/-1/" . date("n", $date) . "/" . date("j", $date)); ?>"><?=t("More from"); ?> <?=date("F", $date); ?> <?=date("j", $date); ?><?=date("S", $date); ?></a></li>
+ <? endif ?>
+ <? if ($month_count > 0): ?>
+ <li><a href="<?=url::site("calendarview/month/" . date("Y", $date) . "/-1/" . date("n", $date)); ?>"><?=t("More from"); ?> <?=date("F", $date); ?></a></li>
+ <? endif ?>
+</ul> \ No newline at end of file