index : fluxbb | |
Archlinux32 customized Fluxbb installation | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 08:57:06 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-02-01 08:57:06 +0100 |
commit | ada3beb0a6c649bd9bfc6a87b2fe69ee8ae563f7 (patch) | |
tree | df74b326c096fad4d74b90988caed727c15847ef /style/ArchLinux/archnavbar.php |
-rw-r--r-- | style/ArchLinux/archnavbar.php | 17 |
diff --git a/style/ArchLinux/archnavbar.php b/style/ArchLinux/archnavbar.php new file mode 100644 index 0000000..6478edd --- /dev/null +++ b/style/ArchLinux/archnavbar.php @@ -0,0 +1,17 @@ +<?php global $arch_home, $arch_navbar, $arch_navbar_selected; ?> +<div id="archnavbar" class="anb-forum"> + <div id="archnavbarlogo"><h1><a href="<?php if (isset($arch_home)) { echo $arch_home; } ?>">Arch Linux</a></h1></div> + <div id="archnavbarmenu"> + <ul id="archnavbarlist"> + <?php + if (isset($arch_navbar)) { + foreach ($arch_navbar as $arch_name => $arch_url) { + echo '<li id="anb-'.strtolower($arch_name).'"' + .(isset($arch_navbar_selected) && $arch_navbar_selected == $arch_name ? ' class="anb-selected"' : '') + .'><a href="'.$arch_url.'">'.$arch_name.'</a></li>'; + } + } + ?> + </ul> + </div> +</div> |