mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
This commit is contained in:
parent
48a67d9f01
commit
4bcc51185c
113 changed files with 442 additions and 970 deletions
|
@ -27,7 +27,7 @@
|
|||
}
|
||||
?>><?php echo get_string("no") ?>
|
||||
</option>
|
||||
</select> <?php echo $OUTPUT->help_icon(moodle_help_icon::make("linkcategory", get_string("linkcategory", "glossary"), "glossary")) ?>
|
||||
</select> <?php echo $OUTPUT->help_icon("linkcategory", get_string("linkcategory", "glossary"), "glossary") ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
echo '(';
|
||||
print_string("maxsize", "", display_size(get_max_upload_file_size($CFG->maxbytes, $course->maxbytes)));
|
||||
echo ') ';
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make("filetoimport", get_string("filetoimport", "glossary"), "glossary"));
|
||||
echo $OUTPUT->help_icon("filetoimport", get_string("filetoimport", "glossary"), "glossary");
|
||||
?>
|
||||
</b></td>
|
||||
<td style="width:70%">
|
||||
|
@ -24,10 +24,10 @@
|
|||
<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->help_icon(moodle_help_icon::make("destination", get_string("destination", "glossary"), "glossary")) ?></td>
|
||||
</select> <?php echo $OUTPUT->help_icon("destination", get_string("destination", "glossary"), "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->help_icon(moodle_help_icon::make("importcategories", get_string("importcategories", "glossary"), "glossary")) ?>
|
||||
<?php echo $OUTPUT->help_icon("importcategories", get_string("importcategories", "glossary"), "glossary") ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -500,7 +500,7 @@ if ($ratingsmenuused) {
|
|||
echo "<div class=\"boxaligncenter\"><input type=\"submit\" value=\"".get_string("sendinratings", "glossary")."\" />";
|
||||
if ($glossary->scale < 0) {
|
||||
if ($scale = $DB->get_record("scale", array("id"=>abs($glossary->scale)))) {
|
||||
echo $OUTPUT->help_button(help_button::make_scale_menu($course->id, $scale));
|
||||
echo $OUTPUT->help_icon_scale($course->id, $scale);
|
||||
}
|
||||
}
|
||||
echo "</div>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue