summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2012-05-23 13:58:46 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:26:42 +0200
commit98c497d0397a4b9e816169417093d96a5dabc9c3 (patch)
tree71577ecd56051dffabb7addf1daba6e85ed07ec9 /web
parent0928525793482d159b73f6efb686ed3802f2dd9b (diff)
downloadaurweb-98c497d0397a4b9e816169417093d96a5dabc9c3.tar.xz
Restructure the navigation bar
* Remove "Bugs" and "Discussion" links. Move these to the home page. * Reorder links in a reasonable and consistent manner. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> Signed-off-by: canyonknight <canyonknight@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/template/header.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/web/template/header.php b/web/template/header.php
index db1fd84..018e23e 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -34,16 +34,15 @@
<div id="archdev-navbar">
<ul>
<li><a href="index.php">AUR <?php print __("Home"); ?></a></li>
- <li><a href="account.php"><?php print __("Accounts"); ?></a></li>
<li><a href="packages.php"><?php print __("Packages"); ?></a></li>
- <li><a href="http://bugs.archlinux.org/index.php?tasks=all&amp;project=2"><?php print __("Bugs"); ?></a></li>
- <li><a href="http://archlinux.org/mailman/listinfo/aur-general"><?php print __("Discussion"); ?></a></li>
<?php if (isset($_COOKIE['AURSID'])): ?>
- <?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
<li><a href="packages.php?SeB=m&amp;K=<?php print username_from_sid($_COOKIE["AURSID"]); ?>"><?php print __("My Packages"); ?></a></li>
<li><a href="pkgsubmit.php"><?php print __("Submit"); ?></a></li>
+ <li><a href="account.php"><?php print __("Accounts"); ?></a></li>
+ <?php if (check_user_privileges()): ?><li><a href="tu.php"><?php print __("Trusted User"); ?></a></li><?php endif; ?>
<li><a href="logout.php"><?php print __("Logout"); ?></a></li>
<?php else: ?>
+ <li><a href="account.php"><?php print __("Register"); ?></a></li>
<li><a href="login.php"><?php print __("Login"); ?></a></li>
<?php endif; ?>
</ul>