mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-01 17:49:16 +00:00
display username/logout prompt if header is disabled (closes #10)
This commit is contained in:
14
tt-rss.php
14
tt-rss.php
@@ -57,7 +57,7 @@
|
||||
<td rowspan="2" class="header" valign="middle">
|
||||
<img src="images/ttrss_logo.png" alt="logo">
|
||||
</td>
|
||||
<td align="right" valign="top">
|
||||
<td valign="top" class="notifyBox">
|
||||
<div id="notify"><span id="notify_body"> </span></div>
|
||||
</td>
|
||||
|
||||
@@ -73,9 +73,15 @@
|
||||
</td>
|
||||
</tr>
|
||||
<? } else { ?>
|
||||
<tr><td align="right" colspan="2">
|
||||
<div id="notify"><span id="notify_body"> </span></div>
|
||||
<div id="userDlgShadow"><div id="userDlg"> </div></div>
|
||||
<tr>
|
||||
<td class="small">
|
||||
<div id="notify"><span id="notify_body"> </span></div>
|
||||
<div id="userDlgShadow"><div id="userDlg"> </div></div>
|
||||
</td><td class="welcomePrompt">
|
||||
<? if (!SINGLE_USER_MODE) { ?>
|
||||
Hello, <b><?= $_SESSION["name"] ?></b>
|
||||
(<a href="logout.php">Logout</a>)
|
||||
<? } ?>
|
||||
</td></tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user