From 8e50e5eb4e9ffc37e1d97aa39c22295086212f6a Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Mon, 26 Nov 2001 12:09:37 +0000 Subject: Implemented Navigation bar in Mozilla git-svn-id: file:///svn/phpbb/trunk@1452 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/common.php | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'phpBB/common.php') diff --git a/phpBB/common.php b/phpBB/common.php index ea5f7a7e4b..f8f124c3f2 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -117,6 +117,28 @@ include($phpbb_root_path . 'includes/auth.'.$phpEx); 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 // @@ -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 +?> -- cgit v1.2.1