From: <cl...@us...> - 2004-08-18 00:15:00
|
Update of /cvsroot/phpicalendar/phpicalendar In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12072 Modified Files: admin.php month.php preferences.php print.php week.php year.php Log Message: Updated for speeds. Index: admin.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/admin.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin.php 12 Aug 2004 20:32:47 -0000 1.18 --- admin.php 18 Aug 2004 00:14:48 -0000 1.19 *************** *** 44,51 **** $page = new Page(BASE.'templates/'.$template.'/admin.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', 'event_js' => BASE.'functions/event.js', 'charset' => $charset, --- 44,53 ---- $page = new Page(BASE.'templates/'.$template.'/admin.tpl'); ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl' ! )); ! ! $page->replace_tags(array( 'event_js' => BASE.'functions/event.js', 'charset' => $charset, Index: month.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/month.php,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** month.php 12 Aug 2004 20:32:47 -0000 1.122 --- month.php 18 Aug 2004 00:14:48 -0000 1.123 *************** *** 50,57 **** $page = new Page(BASE.'templates/'.$template.'/month.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'calendar_nav' => BASE.'templates/'.$template.'/calendar_nav.tpl', 'event_js' => BASE.'functions/event.js', 'charset' => $charset, --- 50,61 ---- $page = new Page(BASE.'templates/'.$template.'/month.tpl'); ! ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/calendar_nav.tpl' ! )); ! ! $page->replace_tags(array( 'event_js' => BASE.'functions/event.js', 'charset' => $charset, Index: preferences.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/preferences.php,v retrieving revision 1.48 retrieving revision 1.49 diff -C2 -d -r1.48 -r1.49 *** preferences.php 12 Aug 2004 20:32:48 -0000 1.48 --- preferences.php 18 Aug 2004 00:14:48 -0000 1.49 *************** *** 134,140 **** $page = new Page(BASE.'templates/'.$template.'/preferences.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'charset' => $charset, 'template' => $template, --- 134,143 ---- $page = new Page(BASE.'templates/'.$template.'/preferences.tpl'); ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl' ! )); ! ! $page->replace_tags(array( 'charset' => $charset, 'template' => $template, Index: print.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/print.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** print.php 12 Aug 2004 20:32:48 -0000 1.28 --- print.php 18 Aug 2004 00:14:48 -0000 1.29 *************** *** 39,46 **** $page = new Page(BASE.'templates/'.$template.'/print.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', 'event_js' => BASE.'functions/event.js', 'charset' => $charset, --- 39,49 ---- $page = new Page(BASE.'templates/'.$template.'/print.tpl'); ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl' ! )); ! ! $page->replace_tags(array( 'event_js' => BASE.'functions/event.js', 'charset' => $charset, Index: week.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/week.php,v retrieving revision 1.116 retrieving revision 1.117 diff -C2 -d -r1.116 -r1.117 *** week.php 12 Aug 2004 20:32:48 -0000 1.116 --- week.php 18 Aug 2004 00:14:48 -0000 1.117 *************** *** 46,53 **** $page = new Page(BASE.'templates/'.$template.'/week.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', 'event_js' => BASE.'functions/event.js', 'charset' => $charset, --- 46,56 ---- $page = new Page(BASE.'templates/'.$template.'/week.tpl'); ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', 'footer' => BASE.'templates/'.$template.'/footer.tpl', ! 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl' ! )); ! ! $page->replace_tags(array( 'event_js' => BASE.'functions/event.js', 'charset' => $charset, Index: year.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/year.php,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** year.php 12 Aug 2004 20:32:49 -0000 1.33 --- year.php 18 Aug 2004 00:14:49 -0000 1.34 *************** *** 18,24 **** $page = new Page(BASE.'templates/'.$template.'/year.tpl'); ! $page->replace_tags(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'template' => $template, 'charset' => $charset, --- 18,27 ---- $page = new Page(BASE.'templates/'.$template.'/year.tpl'); ! $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', ! 'footer' => BASE.'templates/'.$template.'/footer.tpl' ! )); ! ! $page->replace_tags(array( 'template' => $template, 'charset' => $charset, |