|
|
|
@ -1133,7 +1133,7 @@ class Wiki |
|
|
|
|
) |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
$footerWiki = '<div id="wikifooter">'.get_lang('Progress').': '.($row['progress']*10).'% '.get_lang('Rating').': '.$row['score'].' '.get_lang('Words').': '.self::word_count($content).'</div>'; |
|
|
|
|
$footerWiki = get_lang('Progress').': '.($row['progress']*10).'% '.get_lang('Rating').': '.$row['score'].' '.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(' ',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; |
|
|
|
|