mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
quiz editing: MDL-18173 tidy up wording and add cursor: help.
This commit is contained in:
parent
63265f262f
commit
8e84d9788c
@ -552,8 +552,7 @@ $string['quiztimer'] = 'Quiz Timer';
|
||||
$string['quizwillopen'] = 'This quiz will open $a';
|
||||
$string['random'] = 'Random Question';
|
||||
$string['randomcreate'] = 'Create Random Questions';
|
||||
$string['randomfromcategory'] = 'Random question from all of category:';
|
||||
$string['randomfromcategoryonly'] = 'Random question from just category:';
|
||||
$string['randomfromcategory'] = 'Random question from category:';
|
||||
$string['randomnosubcat'] = 'Questions from this category only, not its subcategories.';
|
||||
$string['randomsamatch'] = 'Random Short-Answer Matching';
|
||||
$string['randomsamatchcreate'] = 'Create Random Short-Answer Matching questions';
|
||||
|
@ -677,12 +677,7 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool
|
||||
echo '<div class="randomquestionfromcategory">';
|
||||
print_question_icon($question);
|
||||
print_random_option_icon($question);
|
||||
if (!empty($question->questiontext)) {
|
||||
$string = 'randomfromcategory';
|
||||
} else {
|
||||
$string = 'randomfromcategoryonly';
|
||||
}
|
||||
echo ' ' . get_string($string, 'quiz') . '</div>';
|
||||
echo ' ' . get_string('randomfromcategory', 'quiz') . '</div>';
|
||||
|
||||
$a = new stdClass;
|
||||
$a->arrow = $THEME->rarrow;
|
||||
@ -834,7 +829,7 @@ function print_random_option_icon($question) {
|
||||
$tooltip = get_string('randomnosubcat', 'quiz');
|
||||
}
|
||||
echo '<img src="' . $CFG->pixpath . '/i/' . $icon . '.png" alt="' .
|
||||
$tooltip . '" title="' . $tooltip . '" />';
|
||||
$tooltip . '" title="' . $tooltip . '" class="uihint" />';
|
||||
|
||||
}
|
||||
|
||||
|
@ -129,6 +129,10 @@ img.grouppicture {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
img.uihint {
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
#grouppicture {
|
||||
text-align: center;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user