Some strings are now properly displayed. End of work in IMS for now.

This commit is contained in:
stronk7
2005-12-06 10:41:24 +00:00
parent a2920a439d
commit 760eefb641
+2 -2
View File
@@ -279,9 +279,9 @@ class resource_ims extends resource_base {
} else {
/// Depending of the error, show different messages and pages
if ($errorcode ==1) {
$errortext = get_string('invalidfiletype','resource');
$errortext = get_string('invalidfiletype','error', $resource->reference);
} else if ($errorcode == 2) {
$errortext = get_string('filenotexists','resource');
$errortext = get_string('filenotfound','error', $resource->reference);
} else if ($errorcode == 3) {
$errortext = get_string('packagenotdeplyed','resource');
} else if ($errorcode == 4) {