mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
|
@ -333,7 +333,7 @@ echo '<table class="presets" cellpadding="5">';
|
|||
echo '<tr><td valign="top" colspan="2" align="center"><h3>'.$strexport.'</h3></td></tr>';
|
||||
|
||||
echo '<tr><td><label>'.$strexportaszip.'</label>';
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('exportzip', get_string('help'), 'data', false));
|
||||
echo $OUTPUT->help_icon('exportzip', get_string('help'), 'data', false);
|
||||
echo '</td><td>';
|
||||
$options = array();
|
||||
$options['sesskey'] = sesskey();
|
||||
|
@ -343,7 +343,7 @@ echo $OUTPUT->button(html_form::make_button('preset.php', $options, $strexport))
|
|||
echo '</td></tr>';
|
||||
|
||||
echo '<tr><td><label>'.$strsaveaspreset.'</label>';
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('savepreset', get_string('help'), 'data', false));
|
||||
echo $OUTPUT->help_icon('savepreset', get_string('help'), 'data', false);
|
||||
echo '</td><td>';
|
||||
$options = array();
|
||||
$options['sesskey'] = sesskey();
|
||||
|
@ -353,7 +353,7 @@ echo $OUTPUT->button(html_form::make_button('preset.php', $options, $strsave));
|
|||
echo '</td></tr>';
|
||||
echo '<tr><td valign="top" colspan="2" align="center"><h3>'.$strimport.'</h3></td></tr>';
|
||||
echo '<tr><td><label for="fromfile">'.$strfromfile.'</label>';
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('importfromfile', get_string('help'), 'data', true));
|
||||
echo $OUTPUT->help_icon('importfromfile', get_string('help'), 'data', true);
|
||||
echo '</td><td>';
|
||||
echo '<form id="uploadpreset" method="post" action="preset.php">';
|
||||
echo '<fieldset class="invisiblefieldset">';
|
||||
|
@ -366,7 +366,7 @@ echo '</fieldset></form>';
|
|||
echo '</td></tr>';
|
||||
|
||||
echo '<tr valign="top"><td><label>'.$strusestandard.'</label>';
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('usepreset', get_string('help'), 'data', true));
|
||||
echo $OUTPUT->help_icon('usepreset', get_string('help'), 'data', true);
|
||||
echo '</td><td>';
|
||||
|
||||
echo '<form id="presets" method="post" action="preset.php" >';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue