summaryrefslogtreecommitdiff
path: root/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2012-11-07 13:59:59 +0400
committerAndrew Dolgov <[email protected]>2012-11-07 13:59:59 +0400
commitbb4cd19be8d1998d2b2127e183278e717cc93979 (patch)
tree629482af65ce6a8e8bce385020ff54b0ce62f585 /digest.php
parentc8b31978c95cb3e9f570523e9a267920159c0e52 (diff)
digest: cleanup the code a bit
Diffstat (limited to 'digest.php')
-rw-r--r--digest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/digest.php b/digest.php
index ee26b2124..e16421fe3 100644
--- a/digest.php
+++ b/digest.php
@@ -72,10 +72,10 @@
<div class="links">
- <?php if (!SINGLE_USER_MODE) { ?>
+ <?php if (!$_SESSION["hide_hello"]) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?>
- <?php if (!SINGLE_USER_MODE) { ?>
+ <?php if (!$_SESSION["hide_logout"]) { ?>
<a href="backend.php?op=logout"><?php echo __('Logout') ?></a> |
<?php } ?>
<a href='<?php echo get_self_url_prefix() ?>/index.php?mobile=false'>