summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index 3f7badf93..0b6e245ac 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -903,8 +903,9 @@ function tpl_youarehere($sep=' » '){
*/
function tpl_userinfo(){
global $lang;
+ global $INFO;
if($_SERVER['REMOTE_USER']){
- print $lang['loggedinas'].': '.editorinfo($_SERVER['REMOTE_USER']);
+ print $lang['loggedinas'].': '.$INFO['userinfo']['name'].' ('.$_SERVER['REMOTE_USER'].')';
return true;
}
return false;