aboutsummaryrefslogtreecommitdiffstats
path: root/print.php
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-08-18 00:14:48 +0000
committerChad Little <clittle@users.sourceforge.net>2004-08-18 00:14:48 +0000
commit9f5b31c395b1af54175fb0d4afe3a1d9e931045a (patch)
tree4dd6ae5b355db8143f6e44147f062a55d1ea9a1f /print.php
parent135161f65b8633cb6ebf2554b97a07b386dfecb3 (diff)
downloadphpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.gz
phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.bz2
phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.zip
Updated for speeds.
Diffstat (limited to 'print.php')
-rw-r--r--print.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/print.php b/print.php
index 59144b5..14600dd 100644
--- a/print.php
+++ b/print.php
@@ -38,10 +38,13 @@ if ($printview == 'day') {
$page = new Page(BASE.'templates/'.$template.'/print.tpl');
-$page->replace_tags(array(
+$page->replace_files(array(
'header' => BASE.'templates/'.$template.'/header.tpl',
'footer' => BASE.'templates/'.$template.'/footer.tpl',
- 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl',
+ 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl'
+ ));
+
+$page->replace_tags(array(
'event_js' => BASE.'functions/event.js',
'charset' => $charset,
'default_path' => '',

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