summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-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>";