aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
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
+?>