From 16ad161a62c94b594d7960b57c2d29da8fcc6aa2 Mon Sep 17 00:00:00 2001 From: Jim Hu Date: Wed, 13 Apr 2005 15:00:49 +0000 Subject: enable search box requires search.php update and search_box.tpl --- day.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'day.php') diff --git a/day.php b/day.php index b765dea..661b967 100644 --- a/day.php +++ b/day.php @@ -47,7 +47,8 @@ $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' + 'sidebar' => BASE.'templates/'.$template.'/sidebar.tpl', + 'search_box' => BASE.'templates/'.$template.'/search_box.tpl' )); $page->replace_tags(array( @@ -56,6 +57,7 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, + 'cpath' => $cpath, 'calendar_name' => $calendar_name, 'current_view' => $current_view, 'display_date' => $display_date, @@ -63,7 +65,7 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'show_search' => '', + 'show_search' => $show_search, 'next_day' => $next_day, 'prev_day' => $prev_day, 'show_goto' => '', @@ -94,6 +96,7 @@ $page->replace_tags(array( 'l_powered_by' => $lang['l_powered_by'], 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], + 'l_search' => $lang['l_search'], 'l_this_site_is' => $lang['l_this_site_is'] )); -- cgit v1.2.3