Permalink
Browse files

add a display of the name of the connected user in the menu

git-svn-id: https://phpfreechat.svn.sourceforge.net/svnroot/phpfreechat/trunk@495 2772adf2-ac07-0410-9d30-e29d8120292e
  • Loading branch information...
1 parent 7c3516f commit 7ba6bbc733b7482ed36e8da04deb659dedcc41aa Nemako committed May 15, 2006
Showing with 10 additions and 1 deletion.
  1. +10 −1 admin/index_html_top.php
View
@@ -49,7 +49,16 @@
<a href="#">other</a>
</li>
</ul>
- </li>
+ </li>
+ <li class="sub title">Connected User</li>
+ <li>
+ <ul>
+ <li class="item">
+ <a href="#"><?php echo empty($_SERVER['REMOTE_USER']) ? "No user connected" : $_SERVER['REMOTE_USER']; ?></a>
+ </li>
+ </ul>
+ </li>
+
</ul>
<p class="partner">
<a href="http://www.phpfreechat.net"><img alt="logo big" src="style/logo_88x31.gif"></a>

0 comments on commit 7ba6bbc

Please sign in to comment.