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 --- month.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'month.php') diff --git a/month.php b/month.php index bd4f026..87fb280 100644 --- a/month.php +++ b/month.php @@ -55,7 +55,8 @@ $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' + 'calendar_nav' => BASE.'templates/'.$template.'/calendar_nav.tpl', + 'search_box' => BASE.'templates/'.$template.'/search_box.tpl' )); $page->replace_tags(array( @@ -63,13 +64,15 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, + 'cpath' => $cpath, 'calendar_name' => $calendar_name, 'display_date' => $display_date, 'rss_powered' => $rss_powered, 'default_path' => '', 'rss_available' => '', 'rss_valid' => '', - 'show_search' => '', + 'show_search' => $show_search, + 'show_search' => $show_search, 'next_month' => $next_month, 'prev_month' => $prev_month, 'show_goto' => '', @@ -97,6 +100,7 @@ $page->replace_tags(array( 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], 'l_this_months' => $lang['l_this_months'], + 'l_search' => $lang['l_search'], 'l_powered_by' => $lang['l_powered_by'], 'l_this_site_is' => $lang['l_this_site_is'] )); -- cgit v1.2.3