Commit: 5aea2a996ff375cd4c5e475ff09796dc020cffe6 Author: Sobak <[email protected]> Sun, 11 May 2014 19:08:47 +0200 Parents: 4dd154dcfd9bf0791483235f2dfa3d6e2185b5c3 Branches: master
Link: http://git.php.net/?p=web/wiki.git;a=commitdiff;h=5aea2a996ff375cd4c5e475ff09796dc020cffe6 Log: Update current revision entry to match new design Changed paths: M dokuwiki/inc/html.php Diff: diff --git a/dokuwiki/inc/html.php b/dokuwiki/inc/html.php index 2d0a5ab..fb2c78f 100644 --- a/dokuwiki/inc/html.php +++ b/dokuwiki/inc/html.php @@ -479,13 +479,7 @@ function html_revisions($first=0, $media_id = false){ if ($media_id) $form->addElement(form_makeOpenTag('div')); - if (!$media_id) { - $form->addElement(form_makeOpenTag('span', array('class' => 'sum'))); - $form->addElement(' – '); - $form->addElement(htmlspecialchars($INFO['sum'])); - $form->addElement(form_makeCloseTag('span')); - } - + $form->addElement(' - '); $form->addElement(form_makeOpenTag('span', array('class' => 'user'))); if (!$media_id) $editor = $INFO['editor']; else { @@ -496,9 +490,15 @@ function html_revisions($first=0, $media_id = false){ $editor = $revinfo['ip']; } } - $form->addElement((empty($editor))?('('.$lang['external_edit'].')'):editorinfo($editor)); + $form->addElement((empty($editor))?('('.$lang['external_edit'].')'):editorinfo($editor).':'); $form->addElement(form_makeCloseTag('span')); + if (!$media_id) { + $form->addElement(form_makeOpenTag('span', array('class' => 'revision_desc'))); + $form->addElement(htmlspecialchars($INFO['sum'])); + $form->addElement(form_makeCloseTag('span')); + } + $form->addElement('('.$lang['current'].')'); if ($media_id) $form->addElement(form_makeCloseTag('div')); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
