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

split authentication to separate modules

This commit is contained in:
Andrew Dolgov
2012-08-16 15:30:35 +04:00
parent 7e18f8e710
commit 0d421af86f
12 changed files with 250 additions and 180 deletions

View File

@@ -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 } ?>