$image = $args[0];
$pathname = $CFG->dataroot.'/filter/algebra/'.$image;
} else {
- print_error('No valid arguments supplied');
+ print_error('invalidarguments', 'error');
}
if (!file_exists($pathname)) {
$image = $args[0];
$pathname = $CFG->dataroot.'/filter/tex/'.$image;
} else {
- print_error('No valid arguments supplied');
+ print_error('invalidarguments', 'error');
}
if (!file_exists($pathname)) {
$string['guestnoeditprofile'] = 'The guest user cannot edit their profile';
$string['guestnoeditprofileother'] = 'The guest user profile cannot be edited';
$string['invalidaction'] = 'Invalid action parameter.';
+$string['invalidarguments'] = 'No valid arguments supplied';
$string['invalidaccessparameter'] = 'Invalid access parameter.';
$string['invalidcourse'] = 'Invalid course';
$string['invalidcoursemodule'] = 'Bad course module ID';