diff --git a/lang/en/help/glossary/aliases2.html b/lang/en/help/glossary/aliases2.html deleted file mode 100644 index 0abb5a23802..00000000000 --- a/lang/en/help/glossary/aliases2.html +++ /dev/null @@ -1,9 +0,0 @@ -
Each entry in the glossary can have an associated list of keywords (or aliases).
- -Enter each alias on a new line (not separated by commas).
- -The aliased words and phrases can be used as alternative ways to refer to the entry. - For example, if you are using the glossary auto-linking filter then the aliases will be used - (as well as the main name of the entry) when deciding what words to link to this entry.
diff --git a/lang/en/help/glossary/allowcomments.html b/lang/en/help/glossary/allowcomments.html deleted file mode 100644 index c64cc00b5a1..00000000000 --- a/lang/en/help/glossary/allowcomments.html +++ /dev/null @@ -1,2 +0,0 @@ -If set to Yes, all users with permission to create comments will be able to add comments to glossary entries.
diff --git a/lang/en/help/glossary/allowduplicatedentries.html b/lang/en/help/glossary/allowduplicatedentries.html deleted file mode 100644 index 512212eb769..00000000000 --- a/lang/en/help/glossary/allowduplicatedentries.html +++ /dev/null @@ -1,5 +0,0 @@ -If you turn this option on, then multiple entries are allowed to - use the same concept name.
- diff --git a/lang/en/help/glossary/allowprintview.html b/lang/en/help/glossary/allowprintview.html deleted file mode 100644 index fdbd28594e6..00000000000 --- a/lang/en/help/glossary/allowprintview.html +++ /dev/null @@ -1,7 +0,0 @@ -Students can be allowed to use the print view of the glossary.
- -You can choose whether this feature is enabled or disabled.
- -Teachers always can use the print view.
diff --git a/lang/en/help/glossary/attachment.html b/lang/en/help/glossary/attachment.html deleted file mode 100644 index 5ad556b6fe9..00000000000 --- a/lang/en/help/glossary/attachment.html +++ /dev/null @@ -1,21 +0,0 @@ -You can optionally attach ONE file from your own computer - to any glossary entry. This file is uploaded to the - server and stored with your entry.
- -This is useful when you want to share a picture, for example, - or a Word document.
- -This file can be of any type, however it is highly recommended - that the file is named using standard 3-letter internet - suffixes such as .doc for a Word document, .jpg or .png - for an image, and so on. This will make it easier for others - to download and view your attachment in their browsers.
- -If you re-edit an entry and attach a new file, then any - previous attached files for that entry will be replaced.
- -If you re-edit an entry with an attachment and leave - this space blank, then the original attachment will be - retained.
diff --git a/lang/en/help/glossary/casesensitive.html b/lang/en/help/glossary/casesensitive.html deleted file mode 100644 index 1cc7698932b..00000000000 --- a/lang/en/help/glossary/casesensitive.html +++ /dev/null @@ -1,8 +0,0 @@ -This setting specifies whether matching exact upper and lower case is - necessary when performing automatic linking to these entries.
- -For example, if this is turned on, then a word like "html" in a forum - posting will NOT be linked to a glossary entry called "HTML".
- diff --git a/lang/en/help/glossary/defaultapproval.html b/lang/en/help/glossary/defaultapproval.html deleted file mode 100644 index 2728e311d5e..00000000000 --- a/lang/en/help/glossary/defaultapproval.html +++ /dev/null @@ -1,4 +0,0 @@ -This setting allows the teacher to define what happens to new entries added by students. They can be - automatically made available to everyone, otherwise the teacher will have to approve each one.
diff --git a/lang/en/help/glossary/description.html b/lang/en/help/glossary/description.html deleted file mode 100644 index 4249022bc6c..00000000000 --- a/lang/en/help/glossary/description.html +++ /dev/null @@ -1,4 +0,0 @@ -This field allows you to describe the purpose of the glossary, and - to possibly provide instructions or background information, links etc.
diff --git a/lang/en/help/glossary/destination.html b/lang/en/help/glossary/destination.html deleted file mode 100644 index 858151aa2ab..00000000000 --- a/lang/en/help/glossary/destination.html +++ /dev/null @@ -1,7 +0,0 @@ -You can specify where you want to import entries to:
-This setting specifies the way that each entry will be shown within the glossary. The default formats are:
- -Moodle administrators can create new formats following the instructions in - mod/glossary/formats/README.txt.
diff --git a/lang/en/help/glossary/editalways.html b/lang/en/help/glossary/editalways.html deleted file mode 100644 index 8b4ba145063..00000000000 --- a/lang/en/help/glossary/editalways.html +++ /dev/null @@ -1,13 +0,0 @@ -This option allows you to decide if students can edit their entries -at any time.
- -You can select:
- -Select the XML file on your own computer which contains the entries to import.
diff --git a/lang/en/help/glossary/fullmatch.html b/lang/en/help/glossary/fullmatch.html deleted file mode 100644 index c10570b14f2..00000000000 --- a/lang/en/help/glossary/fullmatch.html +++ /dev/null @@ -1,6 +0,0 @@ -If automatic linking is enabled, then turning this setting on will force only - whole words to be linked.
- -For example, a glossary entry named "construct" will not create a link inside the word "constructivism".
diff --git a/lang/en/help/glossary/globalglossary.html b/lang/en/help/glossary/globalglossary.html deleted file mode 100644 index 22e6849e5b5..00000000000 --- a/lang/en/help/glossary/globalglossary.html +++ /dev/null @@ -1,7 +0,0 @@ -Only administrators, and other users with the capability site:doanything allowed, can define a glossary to be global.
- -Any course may contain a global glossary (but particularly the front page).
- -The difference to a normal local glossary is that the entries are used to create automatic links throughout the whole site (and not just in the same course the glossary belongs to).
diff --git a/lang/en/help/glossary/linkcategory.html b/lang/en/help/glossary/linkcategory.html deleted file mode 100644 index 83da1249594..00000000000 --- a/lang/en/help/glossary/linkcategory.html +++ /dev/null @@ -1,5 +0,0 @@ -You can specify if you want the categories to be automatically linked or not.
- -Note: Categories are linked based on a case sensitive, whole match.
diff --git a/lang/en/help/glossary/mainglossary.html b/lang/en/help/glossary/mainglossary.html deleted file mode 100644 index f7ed7347313..00000000000 --- a/lang/en/help/glossary/mainglossary.html +++ /dev/null @@ -1,11 +0,0 @@ -The glossary system allows you to export entries from any secondary glossary -to the main one of the course. In order to do this, you need to identify one -glossary as the main one.
- -Note: You can only have one main glossary per course.
- -Before Moodle 1.7, only Teachers could edit the main glossary. In Moodle -1.7 and later, if you wish to control who can edit any glossary (including -the main one) you need to use the Override roles interface.
diff --git a/lang/en/help/glossary/mods.html b/lang/en/help/glossary/mods.html deleted file mode 100644 index af9c3f0bf2c..00000000000 --- a/lang/en/help/glossary/mods.html +++ /dev/null @@ -1,7 +0,0 @@ -
Glossary
This activity allows participants to create and maintain a list of definitions, like a dictionary.
-The entries can be searched or browsed in many different formats.
-The glossary also allows teachers to export entries from one glossary to another (the main one) within the same course.
-Finally, it is possible to automatically create links to these entries from throughout the course.
-This option allows you to select the number of articles - to include in the RSS Feed.
- -A number between 5 and 20 would be normal for most glossaries. - Increase the number if the glossary is updated frequently.
- diff --git a/lang/en/help/glossary/rsstype.html b/lang/en/help/glossary/rsstype.html deleted file mode 100644 index 0b83235eca7..00000000000 --- a/lang/en/help/glossary/rsstype.html +++ /dev/null @@ -1,14 +0,0 @@ -This option allows you to enable RSS feeds from this glossary.
- -You can select between two types of feeds:
- -You can customize the way a user can browse a glossary. Browsing and searching are always available, but you can define three more options:
- -SHOW SPECIAL Enable or disable browsing by special characters like @, #, etc.
- -SHOW ALPHABET Enable or disable browsing by alphabetic letters.
- -SHOW ALL Enable or disable browsing of all entries at once.
diff --git a/lang/en/help/glossary/usedynalink.html b/lang/en/help/glossary/usedynalink.html deleted file mode 100644 index 7c3ee0bde93..00000000000 --- a/lang/en/help/glossary/usedynalink.html +++ /dev/null @@ -1,12 +0,0 @@ -Turning this feature on will allow individual entries in this glossary to be automatically linked whenever - the concept words and phrases appear throughout the rest of the same course. This includes forum - postings, internal resources, week summaries and so on.
- -Note that enabling linking for the glossary does not automatically turn on linking for each entry - - linking needs to be set for each entry individually.
- -If you do not want particular text to be linked (in a forum posting, say) then you should add <nolink> and </nolink> tags around the text.
- -Note that category names are also linked.
diff --git a/lang/en/help/glossary/usedynalinkentry.html b/lang/en/help/glossary/usedynalinkentry.html deleted file mode 100644 index 07a40500695..00000000000 --- a/lang/en/help/glossary/usedynalinkentry.html +++ /dev/null @@ -1,9 +0,0 @@ -Turning this feature on will allow the entry to be automatically linked, whenever - the concept words and phrases appear throughout the rest of the same course. This includes forum - postings, internal resources, week summaries and so on.
- -If you do not want particular text to be linked (in a forum posting, say) then you should add <nolink> and </nolink> tags around the text.
- -To be able to turn on this feature, auto linking must be enabled at glossary level.
diff --git a/mod/glossary/edit_form.php b/mod/glossary/edit_form.php index 23db0f11d55..ebfaeb2d3c0 100644 --- a/mod/glossary/edit_form.php +++ b/mod/glossary/edit_form.php @@ -34,10 +34,10 @@ class mod_glossary_entry_form extends moodleform { $mform->addElement('textarea', 'aliases', get_string('aliases', 'glossary'), 'rows="2" cols="40"'); $mform->setType('aliases', PARAM_TEXT); - $mform->setHelpButton('aliases', array('aliases2', strip_tags(get_string('aliases', 'glossary')), 'glossary')); + $mform->addHelpButton('aliases', 'aliases', 'glossary'); $mform->addElement('filemanager', 'attachment_filemanager', get_string('attachment', 'glossary'), null, $attachmentoptions); - $mform->setHelpButton('attachment_filemanager', array('attachment2', get_string('attachment', 'glossary'), 'glossary')); + $mform->addHelpButton('attachment_filemanager', 'attachment', 'glossary'); if (!$glossary->usedynalink) { $mform->addElement('hidden', 'usedynalink', $CFG->glossary_linkentries); @@ -52,16 +52,16 @@ class mod_glossary_entry_form extends moodleform { $mform->addElement('header', 'linkinghdr', get_string('linking', 'glossary')); $mform->addElement('checkbox', 'usedynalink', get_string('entryusedynalink', 'glossary')); - $mform->setHelpButton('usedynalink', array('usedynalinkentry', strip_tags(get_string('usedynalink', 'glossary')), 'glossary')); + $mform->addHelpButton('usedynalink', 'entryusedynalink', 'glossary'); $mform->setDefault('usedynalink', $CFG->glossary_linkentries); $mform->addElement('checkbox', 'casesensitive', get_string('casesensitive', 'glossary')); - $mform->setHelpButton('casesensitive', array('casesensitive', strip_tags(get_string('casesensitive', 'glossary')), 'glossary')); + $mform->addHelpButton('casesensitive', 'casesensitive', 'glossary'); $mform->disabledIf('casesensitive', 'usedynalink'); $mform->setDefault('casesensitive', $CFG->glossary_casesensitive); $mform->addElement('checkbox', 'fullmatch', get_string('fullmatch', 'glossary')); - $mform->setHelpButton('fullmatch', array('fullmatch', strip_tags(get_string('fullmatch', 'glossary')), 'glossary')); + $mform->addHelpButton('fullmatch', 'fullmatch', 'glossary'); $mform->disabledIf('fullmatch', 'usedynalink'); $mform->setDefault('fullmatch', $CFG->glossary_fullmatch); } diff --git a/mod/glossary/editcategories.html b/mod/glossary/editcategories.html index 839c0b4291c..b6c252eb30b 100644 --- a/mod/glossary/editcategories.html +++ b/mod/glossary/editcategories.html @@ -27,7 +27,7 @@ } ?>> - old_help_icon("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?> + help_icon('linkcategory', 'glossary') ?>