Update current revision entry to match new design

This commit is contained in:
Sobak
2014-05-11 19:08:47 +02:00
parent 4dd154dcfd
commit 5aea2a996f

View File

@ -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'));