Commit 0834c016 authored by Petr Skoda's avatar Petr Skoda
Browse files

new help

parent 8708eb63
......@@ -10,7 +10,9 @@ $string['book_tocwidth'] = 'Table of Contents width';
$string['faq'] = 'Book FAQ';
$string['disableprinting'] = 'Disable Printing';
$string['disableprinting_help'] = 'Hide print icons.';
$string['customtitles'] = 'Custom Titles';
$string['customtitles_help'] = 'Chapter titles are displayed automatically only in TOC.';
$string['editingchapter'] = 'Editing chapter';
$string['chaptertitle'] = 'Chapter Title';
......@@ -18,6 +20,11 @@ $string['content'] = 'Content';
$string['subchapter'] = 'Subchapter';
$string['numbering'] = 'Chapter Numbering';
$string['numbering_help'] = '* None - chapter and subchapter titles are not formatted at all, use if you want to define special numbering styles. For example letters: in chapter title type "A First Chapter", "A.1 Some Subchapter",...
* Numbers - chapters and subchapters are numbered (1, 1.1, 1.2, 2, ...)
* Bullets - subchapters are indented and displayed with bullets
* Indented - subchapters are indented';
$string['numbering0'] = 'None';
$string['numbering1'] = 'Numbers';
$string['numbering2'] = 'Bullets';
......
<p align="center"><b>Custom Titles</b></p>
<p>Chapter titles are displayed automatically only in TOC.</p>
<p align="center"><b>Disable Printing</b></p>
<p>Hide print icons.</p>
<p align="center"><b>Numbering of Chapters</b></p>
<p>There are several predefined numbering types:
<p><b>None</b> - chapter and subchapter titles are not formatted at all, use
if you want to define special numbering styles. For example letters: in chapter
title type "A First Chapter", "A.1 Some Subchapter",...</p>
<p><b>Numbers</b> - chapters and subchapters are numbered (1, 1.1, 1.2, 2,
...)<p>
<p><b>Bullets</b> - subchapters are indented and displayed with bullets.<p>
<p><b>Indented</b> - subchapters are indented.</p>
<p align="center"><b>Reading Summary</b></p>
<p>The summary is a very short description of the book.</p>
<p>Do not be tempted to write too much here!</p>
\ No newline at end of file
......@@ -50,14 +50,14 @@ class mod_book_mod_form extends moodleform_mod {
$mform->addElement('select', 'numbering', get_string('numbering', 'book'), book_get_numbering_types());
$mform->setHelpButton('numbering', array('numberingtype', get_string('numbering', 'book'), 'book'));
$mform->addHelpButton('numbering', 'numbering', 'mod_book');
$mform->addElement('checkbox', 'disableprinting', get_string('disableprinting', 'book'));
$mform->setHelpButton('disableprinting', array('disableprinting', get_string('disableprinting', 'book'), 'book'));
$mform->addHelpButton('disableprinting', 'disableprinting', 'mod_book');
$mform->setDefault('disableprinting', 0);
$mform->addElement('checkbox', 'customtitles', get_string('customtitles', 'book'));
$mform->setHelpButton('customtitles', array('customtitles', get_string('customtitles', 'book'), 'book'));
$mform->addHelpButton('customtitles', 'customtitles', 'mod_book');
$mform->setDefault('customtitles', 0);
//-------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment