diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-05-03 23:58:45 +0000 |
commit | dac0adead30ed70400a2a22f9439a8184ad479d8 (patch) | |
tree | 6a04b15e16669a1b6900c550ae06c856c06d09d8 /phpBB/search.php | |
parent | 5b927b016203cf0eb73bc33a787b778b9f614578 (diff) | |
download | forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.gz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.bz2 forums-dac0adead30ed70400a2a22f9439a8184ad479d8.tar.xz forums-dac0adead30ed70400a2a22f9439a8184ad479d8.zip |
page header/footer become functions, forum passwords (I know, I know but it appears a popular feature for some reason ... inclusion not yet set in concrete nor complete), various bug fixes (and no doubt new bugs).
git-svn-id: file:///svn/phpbb/trunk@3969 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/search.php')
-rw-r--r-- | phpBB/search.php | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/phpBB/search.php b/phpBB/search.php index 994e1eb562..7da95b0865 100644 --- a/phpBB/search.php +++ b/phpBB/search.php @@ -1134,19 +1134,18 @@ if ( $search_keywords != '' || $search_author != '' || $search_id ) 'L_GOTO_PAGE' => $user->lang['Goto_page']) ); - $page_title = $user->lang['Search']; - include($phpbb_root_path . 'includes/page_header.'.$phpEx); + page_header($user->lang['SEARCH']); $template->set_filenames(array( 'body' => ( $show_results == 'posts' ) ? 'search_results_posts.html' : 'search_results_topics.html') ); make_jumpbox('viewforum.'.$phpEx); - include($phpbb_root_path . 'includes/page_tail.'.$phpEx); + page_footer(); } else { - message_die(MESSAGE, $user->lang['No_search_match']); + trigger_error($user->lang['No_search_match']); } } @@ -1262,14 +1261,13 @@ $template->assign_vars(array( // // Output the basic page // -$page_title = $user->lang['Search']; -include($phpbb_root_path . 'includes/page_header.'.$phpEx); +page_header($user->lang['SEARCH']); $template->set_filenames(array( 'body' => 'search_body.html') ); make_jumpbox('viewforum.'.$phpEx); -include($phpbb_root_path . 'includes/page_tail.'.$phpEx); +page_footer(); ?>
\ No newline at end of file |