Changes related to language support ... get_string()

Minor little interface cleanups along the way
This commit is contained in:
martin 2002-08-11 15:41:54 +00:00
parent 70442fe3c4
commit 97c270e9a8
18 changed files with 139 additions and 110 deletions

View file

@ -153,7 +153,7 @@
error("This module doesn't exist");
}
$sectionname = $COURSE_SECTION[$course->format];
$sectionname = get_string("name$course->format");
if (! $form = get_record($module->name, "id", $cm->instance)) {
error("The required instance of this module doesn't exist");
@ -189,7 +189,7 @@
error("This course doesn't exist");
}
$sectionname = $COURSE_SECTION[$course->format];
$sectionname = get_string("name$course->format");
if (! $module = get_record("modules", "name", $add)) {
error("This module type doesn't exist");