Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
MDL-21695 Glossary module now uses new help strings
AMOS BEGIN
 HLP glossary/aliases2.html,[aliases_help,mod_glossary]
 HLP glossary/allowcomments.html,[allowcomments_help,mod_glossary]
 HLP glossary/allowduplicatedentries.html,[allowduplicatedentries_help,mod_glossary]
 HLP glossary/allowprintview.html,[allowprintview_help,mod_glossary]
 HLP glossary/attachment2.html,[attachment_help,mod_glossary]
 HLP glossary/attachment.html,[attachment_help,mod_glossary]
 HLP glossary/casesensitive.html,[casesensitive_help,mod_glossary]
 HLP glossary/defaultapproval.html,[defaultapproval_help,mod_glossary]
 HLP glossary/destination.html,[destination_help,mod_glossary]
 HLP glossary/displayformat.html,[displayformat_help,mod_glossary]
 HLP glossary/editalways.html,[editalways_help,mod_glossary]
 HLP glossary/filetoimport.html,[filetoimport_help,mod_glossary]
 HLP glossary/fullmatch.html,[fullmatch_help,mod_glossary]
 HLP glossary/globalglossary.html,[isglobal_help,mod_glossary]
 HLP glossary/linkcategory.html,[linkcategory_help,mod_glossary]
 HLP glossary/mainglossary.html,[glossarytype_help,mod_glossary]
 HLP glossary/rssarticles.html,[rssarticles_help,mod_glossary]
 HLP glossary/rsstype.html,[rsstype_help,mod_glossary]
 HLP glossary/shows.html,[showspecial_help,mod_glossary]
 HLP glossary/shows.html,[showalphabet_help,mod_glossary]
 HLP glossary/shows.html,[showall_help,mod_glossary]
 HLP glossary/usedynalinkentry.html,[entryusedynalink_help,mod_glossary]
 HLP glossary/usedynalink.html,[usedynalink_help,mod_glossary]
AMOS END
  • Loading branch information
mudrd8mz committed May 3, 2010
1 parent 76780d8 commit 94c8a38
Show file tree
Hide file tree
Showing 28 changed files with 24 additions and 227 deletions.
9 changes: 0 additions & 9 deletions lang/en/help/glossary/aliases2.html

This file was deleted.

2 changes: 0 additions & 2 deletions lang/en/help/glossary/allowcomments.html

This file was deleted.

5 changes: 0 additions & 5 deletions lang/en/help/glossary/allowduplicatedentries.html

This file was deleted.

7 changes: 0 additions & 7 deletions lang/en/help/glossary/allowprintview.html

This file was deleted.

21 changes: 0 additions & 21 deletions lang/en/help/glossary/attachment.html

This file was deleted.

8 changes: 0 additions & 8 deletions lang/en/help/glossary/casesensitive.html

This file was deleted.

4 changes: 0 additions & 4 deletions lang/en/help/glossary/defaultapproval.html

This file was deleted.

4 changes: 0 additions & 4 deletions lang/en/help/glossary/description.html

This file was deleted.

7 changes: 0 additions & 7 deletions lang/en/help/glossary/destination.html

This file was deleted.

25 changes: 0 additions & 25 deletions lang/en/help/glossary/displayformat.html

This file was deleted.

13 changes: 0 additions & 13 deletions lang/en/help/glossary/editalways.html

This file was deleted.

3 changes: 0 additions & 3 deletions lang/en/help/glossary/filetoimport.html

This file was deleted.

6 changes: 0 additions & 6 deletions lang/en/help/glossary/fullmatch.html

This file was deleted.

7 changes: 0 additions & 7 deletions lang/en/help/glossary/globalglossary.html

This file was deleted.

5 changes: 0 additions & 5 deletions lang/en/help/glossary/linkcategory.html

This file was deleted.

11 changes: 0 additions & 11 deletions lang/en/help/glossary/mainglossary.html

This file was deleted.

7 changes: 0 additions & 7 deletions lang/en/help/glossary/mods.html

This file was deleted.

5 changes: 0 additions & 5 deletions lang/en/help/glossary/newentry.html

This file was deleted.

8 changes: 0 additions & 8 deletions lang/en/help/glossary/rssarticles.html

This file was deleted.

14 changes: 0 additions & 14 deletions lang/en/help/glossary/rsstype.html

This file was deleted.

9 changes: 0 additions & 9 deletions lang/en/help/glossary/shows.html

This file was deleted.

12 changes: 0 additions & 12 deletions lang/en/help/glossary/usedynalink.html

This file was deleted.

9 changes: 0 additions & 9 deletions lang/en/help/glossary/usedynalinkentry.html

This file was deleted.

10 changes: 5 additions & 5 deletions mod/glossary/edit_form.php
Expand Up @@ -34,10 +34,10 @@ function definition() {

$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);
Expand All @@ -52,16 +52,16 @@ function definition() {
$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);
}
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/editcategories.html
Expand Up @@ -27,7 +27,7 @@
}
?>><?php echo get_string("no") ?>
</option>
</select> <?php echo $OUTPUT->old_help_icon("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
</select> <?php echo $OUTPUT->help_icon('linkcategory', 'glossary') ?>
</td>
</tr>
<tr>
Expand Down
8 changes: 3 additions & 5 deletions mod/glossary/import.html
Expand Up @@ -6,7 +6,7 @@
echo '(';
print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
echo ') ';
echo $OUTPUT->old_help_icon("filetoimport", get_string("filetoimport", "glossary"), "glossary");
echo $OUTPUT->help_icon('filetoimport', 'glossary');
?>
</b></td>
<td style="width:70%">
Expand All @@ -24,11 +24,9 @@
<td style="width:25%"><select size="1" name="dest">
<option selected="selected" value="current"><?php print_string("currentglossary","glossary") ?></option>
<option value="new"><?php print_string("newglossary","glossary") ?></option>
</select> <?php echo $OUTPUT->old_help_icon("destination", get_string("destination", "glossary"), "glossary") ?></td>
</select> <?php echo $OUTPUT->help_icon('destination', 'glossary') ?></td>
<td style="width:25%" align="right"><?php print_string("importcategories","glossary") ?>:</td>
<td style="width:25%"><input type="checkbox" name="catsincl" value="1" alt="<?php print_string("importcategories","glossary") ?>" />
<?php echo $OUTPUT->old_help_icon("importcategories", get_string("importcategories", "glossary"), "glossary") ?>
</td>
<td style="width:25%"><input type="checkbox" name="catsincl" value="1" alt="<?php print_string("importcategories","glossary") ?>" /></td>
</tr>
</table>
</td>
Expand Down
2 changes: 1 addition & 1 deletion mod/glossary/lang/en/glossary.php
Expand Up @@ -37,6 +37,7 @@
$string['allowcomments_help'] = 'If enabled, all participants with permission to create comments will be able to add comments to glossary entries.';
$string['allowduplicatedentries'] = 'Duplicate entries allowed';
$string['allowduplicatedentries_help'] = 'If enabled, multiple entries can have the same concept name.';
$string['allowprintview'] = 'Allow print view';
$string['allowprintview_help'] = 'If enabled, students are provided with a link to a printer-friendly version of the glossary. The link is always available to teachers.';
$string['allowratings'] = 'Allow entries to be rated?';
$string['answer'] = 'Answer';
Expand Down Expand Up @@ -162,7 +163,6 @@
$string['filtername'] = 'Glossary Auto-linking';
$string['fullmatch'] = 'Match whole words only';
$string['fullmatch_help'] = 'This setting specifies whether only whole words will be linked, for example, a glossary entry named "construct" will not create a link inside the word "constructivism".';
$string['globalglossary'] = 'Global glossary';
$string['glossaryadministration'] = 'Glossary Administration';
$string['glossary:approve'] = 'Approve unapproved entries';
$string['glossary:comment'] = 'Create comments';
Expand Down

0 comments on commit 94c8a38

Please sign in to comment.