diff options
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/inc/template.php b/inc/template.php index 5997e0d33..0b37734d8 100644 --- a/inc/template.php +++ b/inc/template.php @@ -869,9 +869,8 @@ function tpl_youarehere($sep=' » '){ */ function tpl_userinfo(){ global $lang; - global $INFO; if($_SERVER['REMOTE_USER']){ - print $lang['loggedinas'].': '.$INFO['userinfo']['name']; + print $lang['loggedinas'].': '.editorinfo($_SERVER['REMOTE_USER']); return true; } return false; @@ -914,7 +913,7 @@ function tpl_pageinfo($ret=false){ $out .= $date; if($INFO['editor']){ $out .= ' '.$lang['by'].' '; - $out .= $INFO['editor']; + $out .= editorinfo($INFO['editor']); }else{ $out .= ' ('.$lang['external_edit'].')'; } @@ -922,7 +921,7 @@ function tpl_pageinfo($ret=false){ $out .= ' · '; $out .= $lang['lockedby']; $out .= ': '; - $out .= $INFO['locked']; + $out .= editorinfo($INFO['locked']); } if($ret){ return $out; |