summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorswiergot <swiergot>2005-08-09 09:33:51 +0000
committerswiergot <swiergot>2005-08-09 09:33:51 +0000
commite728d275600f019af225dd96ad9203d651490a47 (patch)
tree399471baee8be9f50149fb923d40b5c2b989ffd3 /web/lib
parent6001191a0d5fb3c9be3bc93a338d910465f5dd0a (diff)
downloadaurweb-e728d275600f019af225dd96ad9203d651490a47.tar.xz
moved the Logout link to the end of the menu bar
Diffstat (limited to 'web/lib')
-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 3df1129..49f40e0 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>";