- Replace numberingoptions_help by numberingoptions_desc.
- Delete the faq code and related styles.
- Bump version to force lang/style refresh.
$toc = book_get_toc($chapters, $chapter, $book, $cm, $edit, 0);
- if ($edit) {
- $toc .= '<div class="book_faq">';
- $toc .= $OUTPUT->help_icon('faq', 'mod_book', get_string('faq', 'mod_book'));
- $toc .= '</div>';
- }
-
$bc = new block_contents();
$bc->title = get_string('toc', 'mod_book');
$bc->attributes['class'] = 'block';
$options = book_get_numbering_types();
$settings->add(new admin_setting_configmultiselect('book/numberingoptions',
- get_string('numberingoptions', 'mod_book'), get_string('numberingoptions_help', 'mod_book'),
+ get_string('numberingoptions', 'mod_book'), get_string('numberingoptions_desc', 'mod_book'),
array_keys($options), $options));
$settings->add(new admin_setting_configselect('book/numbering',
get_string('numbering', 'mod_book'), '', BOOK_NUM_NUMBERS, $options));
-}
\ No newline at end of file
+}
/* == Fake toc block == */
-.mod_book .book_faq {
- font-size: 0.7em;
-}
-
/* toc style NONE */
.mod_book .book_toc_none {
font-size: 0.8em;
defined('MOODLE_INTERNAL') || die;
$module->component = 'mod_book'; // Full name of the plugin (used for diagnostics)
-$module->version = 2012052100; // The current module version (Date: YYYYMMDDXX)
+$module->version = 2012052700; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2012051900; // Requires this Moodle version
$module->cron = 0; // Period for cron to check this module (secs)