mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
[MDL-22449]
Adding some help to wiki
This commit is contained in:
parent
d543cc3cae
commit
9e25c7b480
3 changed files with 18 additions and 2 deletions
|
@ -57,8 +57,11 @@ class mod_wiki_edit_form extends moodleform {
|
|||
|
||||
if ($format != 'html') {
|
||||
$mform->addElement('wikieditor', 'newcontent', get_string('content'), array('cols' => 50, 'rows' => 20, 'wiki_format' => $format));
|
||||
$mform->addHelpButton('newcontent', 'format'.$format, 'wiki');
|
||||
} else {
|
||||
$mform->addElement('editor', 'newcontent_editor', get_string('content'), null, page_wiki_edit::$attachmentoptions);
|
||||
$mform->addHelpButton('newcontent_editor', 'formathtml', 'wiki');
|
||||
|
||||
}
|
||||
|
||||
//hiddens
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue