Skip to content

Commit

Permalink
Homepage: Removed Dev Blog from the navbar and reordered links
Browse files Browse the repository at this point in the history
Now that a summary of the dev blog appears on the homepage, the blog
does not need its own navbar link.

Reordered navbar links, swapping the links for Add-ons and Wiki. This
ordering is slightly more intuitive I think.
  • Loading branch information
danij-deng committed Feb 27, 2012
1 parent 261023d commit 5d6bf0d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions web/classes/frontcontroller.class.php
Expand Up @@ -341,14 +341,13 @@ private function buildTabs($tabs, $page=NULL, $normalClassName=NULL, $selectClas
private function outputMainMenu($page=NULL)
{
$leftTabs = array();
$leftTabs[] = array('page'=>'/engine', 'label'=>'Engine', 'tooltip'=>'About Doomsday Engine');
$leftTabs[] = array('page'=>'/games', 'label'=>'Games', 'tooltip'=>'Games playable with Doomsday Engine');
$leftTabs[] = array('page'=>'/addons', 'label'=>'Add-ons', 'tooltip'=>'Add-ons for games playable with Doomsday Engine');
$leftTabs[] = array('page'=>'/engine', 'label'=>'Engine', 'tooltip'=>'About Doomsday Engine');
$leftTabs[] = array('page'=>'/games', 'label'=>'Games', 'tooltip'=>'Games playable with Doomsday Engine');
$leftTabs[] = array('page'=>'/dew', 'label'=>'Wiki', 'tooltip'=>'Doomsday Engine Wiki');

$rightTabs = array();
$rightTabs[] = array('page'=>'/dew', 'label'=>'Wiki', 'tooltip'=>'Doomsday Engine Wiki');
$rightTabs[] = array('page'=>'/forums/viewforum.php?f=24', 'label'=>'Dev Blog', 'tooltip'=>'Doomsday Engine Developer Blog');
$rightTabs[] = array('page'=>'/forums', 'label'=>'Forums', 'tooltip'=>'Doomsday Engine User Forums');
$rightTabs[] = array('page'=>'/addons', 'label'=>'Add-ons', 'tooltip'=>'Add-ons for games playable with Doomsday Engine');
$rightTabs[] = array('page'=>'/forums', 'label'=>'Forums', 'tooltip'=>'Doomsday Engine User Forums');

?>
<div id="menu" class="hnav">
Expand Down

0 comments on commit 5d6bf0d

Please sign in to comment.