aboutsummaryrefslogtreecommitdiffstats
path: root/print.php
diff options
context:
space:
mode:
authorJim Hu <jimhu@users.sourceforge.net>2008-12-28 00:46:49 +0000
committerJim Hu <jimhu@users.sourceforge.net>2008-12-28 00:46:49 +0000
commit8933f4144fa0fe022d9939ed2e2f31743f6de939 (patch)
treecadf734d6b6e3fde054cd3386f70aed0d80b46e9 /print.php
parenta8a822e8fe1916540ea4bce97c4861bb452ab21f (diff)
downloadphpicalendar-8933f4144fa0fe022d9939ed2e2f31743f6de939.tar.gz
phpicalendar-8933f4144fa0fe022d9939ed2e2f31743f6de939.tar.bz2
phpicalendar-8933f4144fa0fe022d9939ed2e2f31743f6de939.zip
add back link to print view
Diffstat (limited to 'print.php')
-rw-r--r--print.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/print.php b/print.php
index 5c2a30a..aee8f39 100644
--- a/print.php
+++ b/print.php
@@ -8,7 +8,7 @@ $end_week_time = $start_week_time + (6 * 25 * 60 * 60);
$parse_month = date ("Ym", strtotime($getdate));
$events_week = 0;
$unix_time = strtotime($getdate);
-$printview = 'month';
+$printview = $phpiCal_config->default_view;
if (isset($_GET['printview'])) $printview = $_GET['printview'];
if ($printview == 'day') {
@@ -57,7 +57,9 @@ $page->replace_tags(array(
'event_js' => '',
'charset' => $phpiCal_config->charset,
'default_path' => $phpiCal_config->default_path,
+ 'default_view' => $phpiCal_config->default_view,
'template' => $phpiCal_config->template,
+ 'cpath' => $phpiCal_config->cpath,
'cal' => $cal,
'getdate' => $getdate,
'calendar_name' => $cal_displayname,
@@ -84,6 +86,7 @@ $page->replace_tags(array(
'l_summary' => $lang['l_summary'],
'l_description' => $lang['l_description'],
'l_calendar' => $lang['l_calendar'],
+ 'l_view_calendars' => $lang['l_view_calendars'],
'l_day' => $lang['l_day'],
'l_week' => $lang['l_week'],
'l_month' => $lang['l_month'],

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