diff options
| author | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-14 06:37:05 +0000 |
|---|---|---|
| committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-11-14 06:37:05 +0000 |
| commit | f448cdf609e172758c0c22477d639762c7ebdfce (patch) | |
| tree | 07e35f646acd1143cb224fafa1658764db453b99 /phpBB/includes/page_header.php | |
| parent | f697f045141b6b1653a6c7b87880b363a2c28c9e (diff) | |
| download | forums-f448cdf609e172758c0c22477d639762c7ebdfce.tar forums-f448cdf609e172758c0c22477d639762c7ebdfce.tar.gz forums-f448cdf609e172758c0c22477d639762c7ebdfce.tar.bz2 forums-f448cdf609e172758c0c22477d639762c7ebdfce.tar.xz forums-f448cdf609e172758c0c22477d639762c7ebdfce.zip | |
Implemented Bart's 'egosearch', and the search for unanswered posts.
Created links that are accessable from anywhere
git-svn-id: file:///svn/phpbb/trunk@1310 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/page_header.php')
| -rw-r--r-- | phpBB/includes/page_header.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/phpBB/includes/page_header.php b/phpBB/includes/page_header.php index 2381c4850b..94037a9ce5 100644 --- a/phpBB/includes/page_header.php +++ b/phpBB/includes/page_header.php @@ -231,6 +231,7 @@ $template->assign_vars(array( "L_BY" => $lang['by'], "L_LOGIN_LOGOUT" => $l_login_logout, "L_LAST_VISIT" => $lang['You_last_visit'], + "L_SEARCH_UNANSWERED" => $lang['Search_unanswered'], "U_INDEX" => append_sid("index.".$phpEx), "U_REGISTER" => append_sid("profile.".$phpEx."?mode=register"), @@ -243,6 +244,8 @@ $template->assign_vars(array( "U_LOGIN_LOGOUT" => append_sid($u_login_logout), "U_MEMBERSLIST" => append_sid("memberlist.".$phpEx), "U_GROUP_CP" => append_sid("groupcp.".$phpEx), + "U_SEARCH_UNANSWERED" => append_sid("search.".$phpEx."?search_id=unanswered"), + "S_CONTENT_DIRECTION" => $lang['DIRECTION'], "S_CONTENT_ENCODING" => $lang['ENCODING'], @@ -292,6 +295,7 @@ $template->assign_vars(array( "T_SPAN_CLASS3" => $theme['span_class3']) ); + // // Login box? // @@ -302,6 +306,15 @@ if( !$userdata['session_logged_in'] ) else { $template->assign_block_vars("switch_user_logged_in", array()); + // + // Bart's quick ego search + // + $template->assign_block_vars("egosearch", array( + "L_SEARCH_SELF" => $lang['Search_your_posts'], + "U_SEARCH_SELF" => append_sid("search.".$phpEx."?search_id=egosearch")) + ); + + } header ("Cache-Control: no-store, no-cache, must-revalidate"); |
