diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2005-04-13 15:00:49 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2005-04-13 15:00:49 +0000 |
commit | 16ad161a62c94b594d7960b57c2d29da8fcc6aa2 (patch) | |
tree | e59c319afeeadaea0dc0f139f4eef4fcd4915471 | |
parent | 7f12c963ad56c695e588c7a8e32e6d7836783f4e (diff) | |
download | phpicalendar-16ad161a62c94b594d7960b57c2d29da8fcc6aa2.tar.gz phpicalendar-16ad161a62c94b594d7960b57c2d29da8fcc6aa2.tar.bz2 phpicalendar-16ad161a62c94b594d7960b57c2d29da8fcc6aa2.zip |
enable search box requires search.php update and search_box.tpl
-rw-r--r-- | day.php | 7 | ||||
-rw-r--r-- | month.php | 8 | ||||
-rw-r--r-- | week.php | 7 |
3 files changed, 16 insertions, 6 deletions
@@ -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'] )); @@ -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'] )); @@ -49,7 +49,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( @@ -58,6 +59,7 @@ $page->replace_tags(array( 'template' => $template, 'cal' => $cal, 'getdate' => $getdate, + 'cpath' => $cpath, 'calendar_name' => $calendar_name, 'display_date' => $display_date, 'current_view' => $current_view, @@ -65,7 +67,7 @@ $page->replace_tags(array( 'rss_powered' => $rss_powered, 'rss_available' => '', 'rss_valid' => '', - 'show_search' => '', + 'show_search' => $show_search, 'next_day' => $next_day, 'next_week' => $next_week, 'prev_day' => $prev_day, @@ -97,6 +99,7 @@ $page->replace_tags(array( 'l_year' => $lang['l_year'], 'l_subscribe' => $lang['l_subscribe'], 'l_download' => $lang['l_download'], + 'l_search' => $lang['l_search'], 'l_powered_by' => $lang['l_powered_by'], 'l_this_site_is' => $lang['l_this_site_is'] )); |