diff options
author | Andrew Dolgov <[email protected]> | 2005-12-19 19:19:35 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-19 19:19:35 +0100 |
commit | 82e1fe00fd0ba85b30d8823c1175aeae0fd11fb1 (patch) | |
tree | d758a51859100d336d80445509ad3402c8391508 /prefs.php | |
parent | 426d3c57372976359d298fa881ee5d4cd7c3bf1b (diff) |
display username/logout prompt if header is disabled (closes #10)
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -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> </tr><tr><td class="welcomePrompt"> @@ -70,9 +70,15 @@ </td> </tr> <? } else { ?> -<tr><td colspan="2" align="right"> - <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> |