aboutsummaryrefslogtreecommitdiffstats
path: root/year.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 /year.php
parent135161f65b8633cb6ebf2554b97a07b386dfecb3 (diff)
downloadphpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.gz
phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.bz2
phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.zip
Updated for speeds.
Diffstat (limited to 'year.php')
-rw-r--r--year.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/year.php b/year.php
index a77fa9e..e6bcf70 100644
--- a/year.php
+++ b/year.php
@@ -17,9 +17,12 @@ $prev_year = date ("Ymd", $prev_year);
$page = new Page(BASE.'templates/'.$template.'/year.tpl');
-$page->replace_tags(array(
+$page->replace_files(array(
'header' => BASE.'templates/'.$template.'/header.tpl',
- 'footer' => BASE.'templates/'.$template.'/footer.tpl',
+ 'footer' => BASE.'templates/'.$template.'/footer.tpl'
+ ));
+
+$page->replace_tags(array(
'template' => $template,
'charset' => $charset,
'default_path' => '',

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