1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

hide several user-related prompts when using remote auth + auto_login (closes #447)

This commit is contained in:
Andrew Dolgov
2012-05-16 11:56:21 +04:00
parent 35b9844be1
commit 949b1a9491
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -93,7 +93,7 @@
</div>
<div id="header">
<?php if (!SINGLE_USER_MODE) { ?>
<?php if (!SINGLE_USER_MODE && !(ALLOW_REMOTE_USER_AUTH && AUTO_LOGIN)) { ?>
<?php echo __('Hello,') ?> <b><?php echo $_SESSION["name"] ?></b> |
<?php } ?>
<a href="prefs.php"><?php echo __('Preferences') ?></a>
@@ -103,7 +103,7 @@
<?php echo __('Comments?') ?></a>
<?php } ?>
<?php if (!SINGLE_USER_MODE) { ?>
<?php if (!SINGLE_USER_MODE && !(ALLOW_REMOTE_USER_AUTH && AUTO_LOGIN)) { ?>
| <a href="backend.php?op=logout"><?php echo __('Logout') ?></a>
<?php } ?>