diff options
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php index 4b1188c95..8bd3234cc 100644 --- a/inc/template.php +++ b/inc/template.php @@ -914,12 +914,11 @@ function tpl_youarehere($sep = ' » ') { */ function tpl_userinfo() { global $lang; - global $INFO; /** @var Input $INPUT */ global $INPUT; if($INPUT->server->str('REMOTE_USER')) { - print $lang['loggedinas'].': <bdi>'.hsc($INFO['userinfo']['name']).'</bdi> (<bdi>'.hsc($INPUT->server->str('REMOTE_USER')).'</bdi>)'; + print $lang['loggedinas'].': '.userlink(); return true; } return false; |