mirror of
https://github.com/php/web-wiki.git
synced 2025-08-10 01:33:11 +00:00
Update current revision entry to match new design
This commit is contained in:
@ -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'));
|
||||
|
Reference in New Issue
Block a user