MDL-39366 book: Section appearance in book module settings

This commit is contained in:
Frederic Massart
2013-04-26 13:42:19 +08:00
parent 64bfea3b0e
commit b9e6341579
+3
View File
@@ -47,6 +47,9 @@ class mod_book_mod_form extends moodleform_mod {
$mform->addRule('name', null, 'required', null, 'client');
$this->add_intro_editor($config->requiremodintro, get_string('moduleintro'));
// Appearance.
$mform->addElement('header', 'appearancehdr', get_string('appearance'));
$alloptions = book_get_numbering_types();
$allowed = explode(',', $config->numberingoptions);
$options = array();