summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswiergot <swiergot>2005-08-09 11:33:51 +0200
committerswiergot <swiergot>2005-08-09 11:33:51 +0200
commite728d275600f019af225dd96ad9203d651490a47 (patch)
tree399471baee8be9f50149fb923d40b5c2b989ffd3
parent6001191a0d5fb3c9be3bc93a338d910465f5dd0a (diff)
downloadaur-e728d275600f019af225dd96ad9203d651490a47.tar.gz
aur-e728d275600f019af225dd96ad9203d651490a47.tar.xz
moved the Logout link to the end of the menu bar
-rw-r--r--web/lib/aur.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index 3df11298..49f40e06 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -418,13 +418,15 @@ function html_header() {
#
print " <span class='black'> - </span> ";
print " <a href='/pkgsubmit.php'>".__("Submit")."</a> ";
- print " <span class='black'> - </span> ";
- print " <a href='/logout.php'>".__("Logout")."</a> ";
}
print " <span class='black'> - </span> ";
print " <a href='http://bugs.archlinux.org/index.php?tasks=all&project=2'>".__("Bugs")."</a> ";
print " <span class='black'> - </span> ";
print " <a href='http://www.archlinux.org/mailman/listinfo/tur-users'>".__("Discussion")."</a> ";
+ if ($_COOKIE["AURSID"]) {
+ print " <span class='black'> - </span> ";
+ print " <a href='/logout.php'>".__("Logout")."</a> ";
+ }
print " <span class='black'>:.</span></span>";
print " </td>";
print " </tr>";