Move page list back out to the side menu, but with the new page form below the new page button like the new wiki form. Disable text editing if viewer lacks edit permission, and change the tab label to Source instead of Edit in that case.

This commit is contained in:
Andrew Manning
2016-11-18 21:55:29 -05:00
parent d5c14a513d
commit d24e867603
6 changed files with 49 additions and 41 deletions

View File

@@ -1017,6 +1017,7 @@ function widget_wiki_pages($arr) {
'$pages' => $pages,
'$canadd' => $can_create,
'$addnew' => t('Add new page'),
'$pageName' => array('pageName', t('Enter the name of the new page:'), '', ''),
));
}