From 9f5b31c395b1af54175fb0d4afe3a1d9e931045a Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 18 Aug 2004 00:14:48 +0000 Subject: Updated for speeds. --- print.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'print.php') 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' => '', -- cgit v1.2.3