com web/wiki: More adjustments for last changes: dokuwiki/inc/html.php
| From: | sobak@php.net | Date: | Sun, 11 May 2014 11:33:53 +0000 |
| Subject: | com web/wiki: More adjustments for last changes: dokuwiki/inc/html.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-18879@lists.php.net to get a copy of this message | ||
Commit: 4dd154dcfd9bf0791483235f2dfa3d6e2185b5c3
Author: Sobak <msobaczewski@gmail.com> Sun, 11 May 2014 13:33:53 +0200
Parents: 97eef0688fe51d2a89381c4f8b33d9bcefc1cd16
Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=4dd154dcfd9bf0791483235f2dfa3d6e2185b5c3
Log:
More adjustments for last changes
Changed paths:
M dokuwiki/inc/html.php
Diff:
diff --git a/dokuwiki/inc/html.php b/dokuwiki/inc/html.php
index 6b6e687..2d0a5ab 100644
--- a/dokuwiki/inc/html.php
+++ b/dokuwiki/inc/html.php
@@ -561,15 +561,16 @@ function html_revisions($first=0, $media_id = false){
$form->addElement(' - ');
$form->addElement(form_makeOpenTag('span', array('class' =>
'user')));
if($info['user']){
-
$form->addElement('<bdi>'.editorinfo($info['user']).'</bdi>');
if(auth_ismanager()){
- $form->addElement(' <bdo
dir="ltr">('.$info['ip'].')</bdo>');
+ $form->addElement('<bdi
title="'.$info['ip'].'">'.editorinfo($info['user']).'</bdi>:');
+ }
+ else {
+
$form->addElement('<bdi>'.editorinfo($info['user']).'</bdi>:');
}
}else{
- $form->addElement('<bdo
dir="ltr">'.$info['ip'].'</bdo>');
+ $form->addElement('<bdo
dir="ltr">'.$info['ip'].'</bdo>:');
}
$form->addElement(form_makeCloseTag('span'));
- $form->addElement(': ');
if ($info['sum']) {
$form->addElement(form_makeOpenTag('span', array('class' =>
'revision_desc')));