diff options
author | Andrew Dolgov <[email protected]> | 2012-08-16 15:30:35 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-16 15:30:49 +0400 |
commit | 0d421af86fdfe270e7396f308cf53f3b908e3d74 (patch) | |
tree | a8a497d6a3f28ab030b8e232bd7a0057512c417c /index.php | |
parent | 7e18f8e710d3b5af211be0a658d863a00d10bd67 (diff) |
split authentication to separate modules
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,7 @@ </div> <div id="header"> - <?php if (!SINGLE_USER_MODE && !(ALLOW_REMOTE_USER_AUTH && AUTO_LOGIN)) { ?> + <?php if (!$_SESSION["hide_hello"]) { ?> <?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> | <?php } ?> <a href="prefs.php"><?php echo __('Preferences') ?></a> @@ -120,7 +120,7 @@ <?php echo __('Comments?') ?></a> <?php } ?> - <?php if (!SINGLE_USER_MODE && !(ALLOW_REMOTE_USER_AUTH && AUTO_LOGIN)) { ?> + <?php if (!$_SESSION["hide_logout"]) { ?> | <a href="backend.php?op=logout"><?php echo __('Logout') ?></a> <?php } ?> |