diff options
Diffstat (limited to 'skins/ArchLinux/ArchLinuxTemplate.php')
-rw-r--r-- | skins/ArchLinux/ArchLinuxTemplate.php | 31 |
1 files changed, 11 insertions, 20 deletions
diff --git a/skins/ArchLinux/ArchLinuxTemplate.php b/skins/ArchLinux/ArchLinuxTemplate.php index 52c23aec..3e10befc 100644 --- a/skins/ArchLinux/ArchLinuxTemplate.php +++ b/skins/ArchLinux/ArchLinuxTemplate.php @@ -46,26 +46,17 @@ class ArchLinuxTemplate extends BaseTemplate { ?> <div id="archnavbar"><!-- Arch Linux global navigation bar --> - <div id="archnavbarlogo"> - <p><a id="logo" href="<?php if (isset($wgArchHome)) { echo $wgArchHome; } ?>"></a></p> - </div> - <div id="archnavbarmenu"> - <ul id="archnavbarlist"> - <?php - if (isset($wgArchNavBar)) { - foreach ($wgArchNavBar as $name => $url) { - if ((isset($wgArchNavBarSelected) && $this->data['title'] == $name && in_array($name, $wgArchNavBarSelected)) - || (!(isset($wgArchNavBarSelected) && in_array($this->data['title'], $wgArchNavBarSelected)) && isset($wgArchNavBarSelectedDefault) && $name == $wgArchNavBarSelectedDefault)) { - $anbClass = ' class="anb-selected"'; - } else { - $anbClass = ''; - } - echo '<li id="anb-'.strtolower($name).'"'.$anbClass.'><a href="'.$url.'">'.$name.'</a></li>'; - } - } - ?> - </ul> - </div> + <div id="archnavbarlogo"><h1><a href="https://www.parabola.nu/">Parabola GNU/Linux-libre</a></h1></div> + <div id="archnavbarmenu"> + <ul id="archnavbarlist"> + <li id="anb-home"><a href="https://www.parabola.nu/" title="Parabola news, packages, projects and more">Home</a></li> + <li id="anb-packages"><a href="https://www.parabola.nu/packages/" title="Package Database">Packages</a></li> + <li id="anb-wiki" class="anb-selected"><a href="https://wiki.parabola.nu/" title="Community documentation">Wiki</a></li> + <li id="anb-bugs"><a href="https://labs.parabola.nu" title="Issue Tracker">Bugs</a></li> + <li id="anb-projects"><a href="https://projects.parabola.nu/" title="Our Code">Projects</a></li> + <li id="anb-download"><a href="https://wiki.parabola.nu/Get_Parabola" title="Get Parabola">Download</a></li> + </ul> + </div> </div><!-- #archnavbar --> <div id="globalWrapper"> |