aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorBart van Bragt <bartvb@users.sourceforge.net>2001-11-26 12:09:37 +0000
committerBart van Bragt <bartvb@users.sourceforge.net>2001-11-26 12:09:37 +0000
commit8e50e5eb4e9ffc37e1d97aa39c22295086212f6a (patch)
tree9fe6c27d9b9aa2fdac8a62cc1311f7205560ac21 /phpBB/common.php
parentdabc3a4b843b8de7badeac75af100f40458fd873 (diff)
downloadforums-8e50e5eb4e9ffc37e1d97aa39c22295086212f6a.tar
forums-8e50e5eb4e9ffc37e1d97aa39c22295086212f6a.tar.gz
forums-8e50e5eb4e9ffc37e1d97aa39c22295086212f6a.tar.bz2
forums-8e50e5eb4e9ffc37e1d97aa39c22295086212f6a.tar.xz
forums-8e50e5eb4e9ffc37e1d97aa39c22295086212f6a.zip
Implemented Navigation bar in Mozilla
git-svn-id: file:///svn/phpbb/trunk@1452 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php24
1 files changed, 23 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index ea5f7a7e4b..f8f124c3f2 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -118,6 +118,28 @@ include($phpbb_root_path . 'includes/functions.'.$phpEx);
include($phpbb_root_path . 'includes/db.'.$phpEx);
//
+// Mozilla navigation bar
+// Default items that should be valid on all pages.
+// Defined here and not in page_header.php so they can be redefined in the code
+//
+$nav_links['top'] = array (
+ 'url' => append_sid($phpbb_root_dir."index.".$phpEx),
+ 'title' => sprintf($lang['Forum_Index'], $board_config['sitename'])
+);
+$nav_links['search'] = array (
+ 'url' => append_sid($phpbb_root_dir."search.".$phpEx),
+ 'title' => $lang['Search']
+);
+$nav_links['help'] = array (
+ 'url' => append_sid($phpbb_root_dir."faq.".$phpEx),
+ 'title' => $lang['FAQ']
+);
+$nav_links['author'] = array (
+ 'url' => append_sid($phpbb_root_dir."memberlist.".$phpEx),
+ 'title' => $lang['Memberlist']
+);
+
+//
// Obtain and encode users IP
//
if(!empty($HTTP_CLIENT_IP))
@@ -162,4 +184,4 @@ if( $board_config['board_disable'] && !defined("IN_ADMIN") )
message_die(GENERAL_MESSAGE, 'Board_disable', 'Information');
}
-?> \ No newline at end of file
+?>