From: moodler Date: Tue, 12 Dec 2006 07:30:37 +0000 (+0000) Subject: Fixed some potential XHTML strict errors MDL-7861 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=91a9559092970efb256837bf8a8e62f4401fe23a;p=moodle.git Fixed some potential XHTML strict errors MDL-7861 --- diff --git a/backup/backup.php b/backup/backup.php index 2b9cd2f2fe..379f62185f 100644 --- a/backup/backup.php +++ b/backup/backup.php @@ -78,7 +78,7 @@ print_heading(get_string("choosecourse")); print_simple_box_start("center"); foreach ($courses as $course) { - echo "id\">$course->fullname ($course->shortname)
"; + echo ''.s($course->fullname).' ('.s($course->shortname).')
'."\n"; } print_simple_box_end(); } else { diff --git a/backup/restore_check.html b/backup/restore_check.html index 4153a71b4a..33e6b1863b 100644 --- a/backup/restore_check.html +++ b/backup/restore_check.html @@ -220,7 +220,7 @@ } else { $optdimmed = ''; } - echo "id&launch=check&id=$id&file=$file\">$course->fullname ($course->shortname)
"; + echo "id&launch=check&id=$id&file=$file\">".s($course->fullname).' ('.s($course->shortname).')
'."\n"; } print_simple_box_end(); } else {