mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 18:36:42 +02:00
MDL-21695 renaming ->help_icon() to old_help_icon() and going to introduce new help_icon() with new parameters and detailed debugging - hopefully this will help during the conversion to new help
This commit is contained in:
parent
9f9193f623
commit
596509e431
55 changed files with 116 additions and 116 deletions
|
@ -106,7 +106,7 @@ function module_specific_controls($totalnumber, $recurse, $category, $cmid, $cmo
|
|||
$out .= '<input type="hidden" name="categoryid" value="' . $category->id . '" />';
|
||||
$out .= ' <input type="submit" name="addrandom" value="'.
|
||||
$straddtoquiz.'" '.$disabled.' />';
|
||||
$out .= $OUTPUT->help_icon('random', get_string('random', 'quiz'), 'quiz');
|
||||
$out .= $OUTPUT->old_help_icon('random', get_string('random', 'quiz'), 'quiz');
|
||||
}
|
||||
}
|
||||
return $out;
|
||||
|
@ -516,7 +516,7 @@ if ($quiz_reordertool) {
|
|||
echo '</div>';
|
||||
}
|
||||
echo $OUTPUT->heading($pagetitle.": ".$quiz->name, 2);
|
||||
echo $OUTPUT->help_icon('editconcepts', get_string('basicideasofquiz', 'quiz'), 'quiz', true);
|
||||
echo $OUTPUT->old_help_icon('editconcepts', get_string('basicideasofquiz', 'quiz'), 'quiz', true);
|
||||
quiz_print_status_bar($quiz);
|
||||
|
||||
$tabindex = 0;
|
||||
|
|
|
@ -669,7 +669,7 @@ function quiz_print_pagecontrols($quiz, $pageurl, $page, $hasattempts) {
|
|||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<?php echo $OUTPUT->help_icon('random', get_string('random', 'quiz'), 'quiz'); ?>
|
||||
<?php echo $OUTPUT->old_help_icon('random', get_string('random', 'quiz'), 'quiz'); ?>
|
||||
<?php
|
||||
echo "\n</div>";
|
||||
}
|
||||
|
@ -1139,7 +1139,7 @@ function quiz_print_grading_form($quiz, $pageurl, $tabindex) {
|
|||
echo '<label for="inputmaxgrade">' . get_string('maximumgradex', '', $a) . "</label>";
|
||||
echo '<input type="hidden" name="savechanges" value="save" />';
|
||||
echo '<input type="submit" value="' . $strsave . '" />';
|
||||
echo $OUTPUT->help_icon('maxgrade', get_string('maximumgrade'), 'quiz');
|
||||
echo $OUTPUT->old_help_icon('maxgrade', get_string('maximumgrade'), 'quiz');
|
||||
echo '</fieldset>';
|
||||
echo "</div></form>\n";
|
||||
return $tabindex + 1;
|
||||
|
|
|
@ -419,7 +419,7 @@ class quiz_statistics_report extends quiz_default_report {
|
|||
$quizinformationtablehtml .= '<input type="hidden" name="everything" value="1"/>';
|
||||
$quizinformationtablehtml .= '<input type="submit" value="'.get_string('downloadeverything', 'quiz_statistics').'"/>';
|
||||
$quizinformationtablehtml .= html_writer::select($downloadoptions, 'download', $this->table->defaultdownloadformat, false);
|
||||
$quizinformationtablehtml .= $OUTPUT->help_icon('tableexportformats', get_string('tableexportformats', 'table'));
|
||||
$quizinformationtablehtml .= $OUTPUT->old_help_icon('tableexportformats', get_string('tableexportformats', 'table'));
|
||||
$quizinformationtablehtml .= '</div></form>';
|
||||
}
|
||||
$quizinformationtablehtml .= html_writer::table($quizinformationtable);
|
||||
|
|
|
@ -146,7 +146,7 @@ class quiz_report_statistics_table extends flexible_table {
|
|||
if ($question->_stats->negcovar){
|
||||
$negcovar = get_string('negcovar', 'quiz_statistics');
|
||||
if (!$this->is_downloading()){
|
||||
$negcovar .= $OUTPUT->help_icon('negcovar', $negcovar, 'quiz_statistics');
|
||||
$negcovar .= $OUTPUT->old_help_icon('negcovar', $negcovar, 'quiz_statistics');
|
||||
return '<div class="negcovar">'.$negcovar.'</div>';
|
||||
} else {
|
||||
return $negcovar;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue