update prefs.php logout prompt
This commit is contained in:
parent
8cb7480484
commit
9f78104cb5
14
prefs.php
14
prefs.php
|
@ -66,7 +66,19 @@
|
|||
</td>
|
||||
</tr><tr><td class="welcomePrompt">
|
||||
<? if (!SINGLE_USER_MODE) { ?>
|
||||
Hello, <b><?= $_SESSION["name"] ?></b> (<a href="logout.php">Logout</a>)</td>
|
||||
<? if (USE_HTTP_AUTH) { ?>
|
||||
<table align="right"><tr>
|
||||
<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>)
|
||||
<? } ?>
|
||||
</td>
|
||||
<? } ?>
|
||||
</tr></table>
|
||||
</td>
|
||||
|
|
|
@ -87,7 +87,8 @@
|
|||
</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>
|
||||
<? } ?>
|
||||
|
|
Loading…
Reference in New Issue