diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-11-10 01:33:21 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-11-10 01:33:21 +0100 |
commit | 433efb25d93e8247706716eb9ba4d7864d43b71c (patch) | |
tree | 8f118c2edb28a3b9ac4089517978f54894dcb7c6 | |
parent | 155a92331aa5111b5db343db9eb62e67cbd0e153 (diff) | |
download | rpg-433efb25d93e8247706716eb9ba4d7864d43b71c.tar.gz rpg-433efb25d93e8247706716eb9ba4d7864d43b71c.tar.bz2 |
always show IP addresses to managers
darcs-hash:20081110003321-7ad00-79f0d66e0a7094911067555e055d63f8dfbfd46d.gz
-rw-r--r-- | inc/html.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php index b942fc145..8390a7b09 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']); } |