Merge branch 'MDL-25801' of git://github.com/timhunt/moodle

This commit is contained in:
Dan Poltawski 2012-04-10 09:11:38 +08:00
commit 4c8ec44828
2 changed files with 4 additions and 4 deletions

View File

@ -373,7 +373,7 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete, $reordertool,
global $CFG, $DB, $OUTPUT;
$strorder = get_string('order');
$strquestionname = get_string('questionname', 'quiz');
$strgrade = get_string('grade');
$strmaxmark = get_string('markedoutof', 'question');
$strremove = get_string('remove', 'quiz');
$stredit = get_string('edit');
$strview = get_string('view');
@ -623,7 +623,7 @@ function quiz_print_question_list($quiz, $pageurl, $allowdelete, $reordertool,
<div class="points">
<form method="post" action="edit.php" class="quizsavegradesform"><div>
<fieldset class="invisiblefieldset" style="display: block;">
<label for="<?php echo "inputq$question->id" ?>"><?php echo $strgrade; ?></label>:<br />
<label for="<?php echo "inputq$question->id" ?>"><?php echo $strmaxmark; ?></label>:<br />
<input type="hidden" name="sesskey" value="<?php echo sesskey() ?>" />
<?php echo html_writer::input_hidden_params($pageurl); ?>
<input type="hidden" name="savechanges" value="save" />
@ -1282,7 +1282,7 @@ function quiz_print_status_bar($quiz) {
$bits = array();
$bits[] = html_writer::tag('span',
get_string('totalpointsx', 'quiz', quiz_format_grade($quiz, $quiz->sumgrades)),
get_string('totalmarksx', 'quiz', quiz_format_grade($quiz, $quiz->sumgrades)),
array('class' => 'totalpoints'));
$bits[] = html_writer::tag('span',

View File

@ -750,7 +750,7 @@ $string['tofile'] = 'to file';
$string['tolerance'] = 'Tolerance';
$string['toomanyrandom'] = 'The number of random questions required is more than are still available in the category!';
$string['top'] = 'Top';
$string['totalpointsx'] = 'Total of grades: {$a}';
$string['totalmarksx'] = 'Total of marks: {$a}';
$string['totalquestionsinrandomqcategory'] = 'Total of {$a} questions in category.';
$string['true'] = 'True';
$string['truefalse'] = 'True/false';