diff --git a/inc/html.php b/inc/html.php index b942fc145200ec0386328f19b19a7315f7889201..8390a7b09306fd103cd43f17cc1be451cd7f9c45 100644 --- a/inc/html.php +++ b/inc/html.php @@ -525,6 +525,9 @@ function html_revisions($first=0){ $form->addElement(form_makeOpenTag('span', array('class' => 'user'))); if($info['user']){ $form->addElement(editorinfo($info['user'])); + if(auth_ismanager()){ + $form->addElement(' ('.$info['ip'].')'); + } }else{ $form->addElement($info['ip']); } @@ -634,6 +637,9 @@ function html_recent($first=0){ $form->addElement(form_makeOpenTag('span', array('class' => 'user'))); if($recent['user']){ $form->addElement(editorinfo($recent['user'])); + if(auth_ismanager()){ + $form->addElement(' ('.$recent['ip'].')'); + } }else{ $form->addElement($recent['ip']); }