From ce5c0b27577288c904cde29eaff48aa20b87ee22 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Wed, 18 Aug 2004 04:06:31 +0000 Subject: Fixed broken popup. --- admin.php | 2 +- day.php | 2 +- month.php | 2 +- print.php | 2 +- week.php | 2 +- year.php | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/admin.php b/admin.php index 4d2dfc3..2d65d1f 100644 --- a/admin.php +++ b/admin.php @@ -49,7 +49,7 @@ $page->replace_files(array( )); $page->replace_tags(array( - 'event_js' => BASE.'functions/event.js', + 'event_js' => '', 'charset' => $charset, 'default_path' => '', 'template' => $template, diff --git a/day.php b/day.php index b9b22f5..4235b2b 100644 --- a/day.php +++ b/day.php @@ -45,12 +45,12 @@ $page = new Page(BASE.'templates/'.$template.'/day.tpl'); $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', + 'event_js' => BASE.'functions/event.js', 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl' )); $page->replace_tags(array( - 'event_js' => BASE.'functions/event.js', 'charset' => $charset, 'default_path' => '', 'template' => $template, diff --git a/month.php b/month.php index fc0c10e..c7c260f 100644 --- a/month.php +++ b/month.php @@ -52,12 +52,12 @@ $page = new Page(BASE.'templates/'.$template.'/month.tpl'); $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', + 'event_js' => BASE.'functions/event.js', 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'calendar_nav' => BASE.'templates/'.$template.'/calendar_nav.tpl' )); $page->replace_tags(array( - 'event_js' => BASE.'functions/event.js', 'charset' => $charset, 'template' => $template, 'cal' => $cal, diff --git a/print.php b/print.php index 14600dd..c1f5ce2 100644 --- a/print.php +++ b/print.php @@ -45,7 +45,7 @@ $page->replace_files(array( )); $page->replace_tags(array( - 'event_js' => BASE.'functions/event.js', + 'event_js' => '', 'charset' => $charset, 'default_path' => '', 'template' => $template, diff --git a/week.php b/week.php index 488bb9d..0d7b864 100644 --- a/week.php +++ b/week.php @@ -47,12 +47,12 @@ $page = new Page(BASE.'templates/'.$template.'/week.tpl'); $page->replace_files(array( 'header' => BASE.'templates/'.$template.'/header.tpl', + 'event_js' => BASE.'functions/event.js', 'footer' => BASE.'templates/'.$template.'/footer.tpl', 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl' )); $page->replace_tags(array( - 'event_js' => BASE.'functions/event.js', 'charset' => $charset, 'default_path' => '', 'template' => $template, diff --git a/year.php b/year.php index e6bcf70..f96565c 100644 --- a/year.php +++ b/year.php @@ -23,6 +23,7 @@ $page->replace_files(array( )); $page->replace_tags(array( + 'event_js' => '', 'template' => $template, 'charset' => $charset, 'default_path' => '', -- cgit v1.2.3