summaryrefslogtreecommitdiff
path: root/modules/calendarview/views/calendarview_sidebar.html.php
diff options
context:
space:
mode:
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