mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
quiz editing MDL-25205 help for the order and paging page.
This commit is contained in:
parent
6577832390
commit
16cad79ba9
@ -143,15 +143,9 @@ $quizhasattempts = quiz_has_attempts($quiz->id);
|
||||
$PAGE->set_url($thispageurl);
|
||||
$PAGE->set_pagelayout('admin');
|
||||
|
||||
$strquizzes = get_string('modulenameplural', 'quiz');
|
||||
$strquiz = get_string('modulename', 'quiz');
|
||||
$streditingquestions = get_string('editquestions', 'quiz');
|
||||
|
||||
$streditingquiz = get_string('editingquiz', 'quiz');
|
||||
$strorderingquiz = get_string('orderingquiz', 'quiz');
|
||||
$pagetitle = $streditingquiz;
|
||||
$pagetitle = get_string('editingquiz', 'quiz');
|
||||
if ($quiz_reordertool) {
|
||||
$pagetitle = $strorderingquiz;
|
||||
$pagetitle = get_string('orderingquiz', 'quiz');
|
||||
}
|
||||
// Get the course object and related bits.
|
||||
$course = $DB->get_record('course', array('id' => $quiz->course));
|
||||
@ -466,8 +460,8 @@ if ($quiz_reordertool) {
|
||||
$currenttab = 'edit';
|
||||
}
|
||||
$tabs = array(array(
|
||||
new tabobject('edit', new moodle_url($thispageurl, array('reordertool' => 0)), $streditingquiz),
|
||||
new tabobject('reorder', new moodle_url($thispageurl, array('reordertool' => 1)), $strorderingquiz),
|
||||
new tabobject('edit', new moodle_url($thispageurl, array('reordertool' => 0)), get_string('editingquiz', 'quiz')),
|
||||
new tabobject('reorder', new moodle_url($thispageurl, array('reordertool' => 1)), get_string('orderingquiz', 'quiz')),
|
||||
));
|
||||
print_tabs($tabs, $currenttab);
|
||||
|
||||
@ -520,8 +514,14 @@ if ($quiz_reordertool) {
|
||||
get_string('repaginatecommand', 'quiz').'...</button>';
|
||||
echo '</div>';
|
||||
}
|
||||
echo $OUTPUT->heading($pagetitle.": ".$quiz->name, 2);
|
||||
echo $OUTPUT->help_icon('editingquiz', 'quiz', get_string('basicideasofquiz', 'quiz'));
|
||||
|
||||
if ($quiz_reordertool) {
|
||||
echo $OUTPUT->heading_with_help(get_string('orderingquiz', 'quiz') . ': ' . $quiz->name,
|
||||
'orderandpaging', 'quiz');
|
||||
} else {
|
||||
echo $OUTPUT->heading(get_string('editingquiz', 'quiz') . ': ' . $quiz->name, 2);
|
||||
echo $OUTPUT->help_icon('editingquiz', 'quiz', get_string('basicideasofquiz', 'quiz'));
|
||||
}
|
||||
quiz_print_status_bar($quiz);
|
||||
|
||||
$tabindex = 0;
|
||||
|
@ -551,6 +551,7 @@ $string['open'] = 'Not answered';
|
||||
$string['openclosedatesupdated'] = 'Quiz open and close dates updated';
|
||||
$string['optional'] = 'optional';
|
||||
$string['orderandpaging'] = 'Order and paging';
|
||||
$string['orderandpaging_help'] = 'The numbers 10, 20, 30, ... opposite each question indicate the order of the questions. The numbers increase in steps of 10 to leave space for additional questions to be inserted. To reorder the questions, change the numbers then click the "Reorder questions" button.';
|
||||
$string['orderingquiz'] = 'Order and paging';
|
||||
$string['outof'] = '{$a->grade} out of a maximum of {$a->maxgrade}';
|
||||
$string['outofpercent'] = '{$a->grade} out of a maximum of {$a->maxgrade} ({$a->percent}%)';
|
||||
|
Loading…
x
Reference in New Issue
Block a user