summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 0a6a9e4aa..ba7279636 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -885,9 +885,8 @@ function tpl_youarehere($sep = ' » ') {
*/
function tpl_userinfo() {
global $lang;
- global $INFO;
if(isset($_SERVER['REMOTE_USER'])) {
- print $lang['loggedinas'].': <bdi>'.hsc($INFO['userinfo']['name']).'</bdi> (<bdi>'.hsc($_SERVER['REMOTE_USER']).'</bdi>)';
+ print $lang['loggedinas'].': '.userinfo();
return true;
}
return false;