diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-08-18 00:14:48 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-08-18 00:14:48 +0000 |
commit | 9f5b31c395b1af54175fb0d4afe3a1d9e931045a (patch) | |
tree | 4dd6ae5b355db8143f6e44147f062a55d1ea9a1f /year.php | |
parent | 135161f65b8633cb6ebf2554b97a07b386dfecb3 (diff) | |
download | phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.gz phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.tar.bz2 phpicalendar-9f5b31c395b1af54175fb0d4afe3a1d9e931045a.zip |
Updated for speeds.
Diffstat (limited to 'year.php')
-rw-r--r-- | year.php | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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' => '', |