Minor - UI improvements

remotes/angel/1.11.x
jmontoyaa 8 years ago
parent ca77870fae
commit c52b7b7421
  1. 4
      main/wiki/wiki.inc.php

@ -1133,7 +1133,7 @@ class Wiki
)
);
$footerWiki = '<div id="wikifooter">'.get_lang('Progress').': '.($row['progress']*10).'%&nbsp;&nbsp;&nbsp;'.get_lang('Rating').': '.$row['score'].'&nbsp;&nbsp;&nbsp;'.get_lang('Words').': '.self::word_count($content).'</div>';
$footerWiki = get_lang('Progress').': '.($row['progress']*10).'%&nbsp;&nbsp;&nbsp;'.get_lang('Rating').': '.$row['score'].'&nbsp;&nbsp;&nbsp;'.get_lang('Words').': '.self::word_count($content);
echo Display::panel($pageWiki, $pageTitle, $footerWiki);
} //end filter visibility
@ -5098,7 +5098,7 @@ class Wiki
$form->addElement('header', $icon_assignment.str_repeat('&nbsp;',3).api_htmlentities($title));
self::setForm($form, $row);
$form->addElement('hidden', 'title');
$form->addElement('button', 'SaveWikiChange', get_lang('Save'));
$form->addButtonSave(get_lang('Save'), 'SaveWikiChange');
$row['title'] = $title;
$row['page_id'] = $page_id;
$row['reflink'] = $page;

Loading…
Cancel
Save