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

update prefs.php logout prompt

This commit is contained in:
Andrew Dolgov
2005-11-20 11:18:53 +01:00
parent 8cb7480484
commit 9f78104cb5
2 changed files with 16 additions and 3 deletions

View File

@@ -80,14 +80,15 @@
<? if (!SINGLE_USER_MODE) { ?>
<? if (USE_HTTP_AUTH) { ?>
<table align="right"><tr>
<td class="httpWelcomePrompt">Hello, <b><?= $_SESSION["name"] ?></b></td>
<td class="httpWelcomePrompt">Hello, <b> <?= $_SESSION["name"] ?></b></td>
<td><form action="tt-rss.php" method="POST">
<input type="hidden" name="ForceLogout" value="yes">
<input type="submit" class="button" value="Logout">
</form>
</td></tr></table>
<? } else { ?>
Hello, <b><?= $_SESSION["name"] ?></b>(<a href="logout.php">Logout</a>)
Hello, <b><?= $_SESSION["name"] ?></b>
(<a href="logout.php">Logout</a>)
<? } ?>
</td>
<? } ?>