diff options
author | Callan Barrett <wizzomafizzo@gmail.com> | 2008-10-05 00:40:18 +0200 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2008-10-06 02:42:52 +0200 |
commit | 4b616e20ba11314616ae42fdcd3f7bf6fbb8c4bd (patch) | |
tree | 71dbeb3e2973e56827057a82972743e2e1500ce3 /web/template/login_form.php | |
parent | 34c8a9cf80fa857f8024eacd65292cd015673165 (diff) | |
download | aur-4b616e20ba11314616ae42fdcd3f7bf6fbb8c4bd.tar.gz aur-4b616e20ba11314616ae42fdcd3f7bf6fbb8c4bd.tar.xz |
Move logout link from main menu to login bar
Signed-off-by: Callan Barrett <wizzomafizzo@gmail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template/login_form.php')
-rw-r--r-- | web/template/login_form.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/web/template/login_form.php b/web/template/login_form.php index 4bfc579a..727afd0a 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -2,6 +2,9 @@ <?php if (isset($_COOKIE["AURSID"])) { print __("Logged-in as: %h%s%h", array("<b>", username_from_sid($_COOKIE["AURSID"]), "</b>")); +?> +<br /><a href="/logout.php"><?php print __("Logout"); ?></a> +<?php } else { if ($login_error) { |