AMOS START
MOV [formaltitle,block_quiz_results],[pluginname,block_quiz_results]
AMOS END
class block_quiz_results extends block_base {
function init() {
- $this->title = get_string('formaltitle', 'block_quiz_results');
+ $this->title = get_string('pluginname', 'block_quiz_results');
$this->version = 2007101509;
}
$string['error_emptyquizid'] = 'There is an error right now with this block: you need to select which quiz it should display results from.';
$string['error_emptyquizrecord'] = 'There is an error right now with this block: the selected quiz does not seem to exist in the database.';
$string['error_nogroupsexist'] = 'There is an error right now with this block: it is set to display grades in group mode, but the course has no defined groups.';
-$string['formaltitle'] = 'Quiz Results';
+$string['pluginname'] = 'Quiz Results';
$string['worstgrade'] = 'The lowest grade:';
$string['worstgrades'] = 'The {$a} lowest grades:';
$string['worstgroupgrade'] = 'The group with the lowest average:';