From 91a9559092970efb256837bf8a8e62f4401fe23a Mon Sep 17 00:00:00 2001 From: moodler Date: Tue, 12 Dec 2006 07:30:37 +0000 Subject: [PATCH] Fixed some potential XHTML strict errors MDL-7861 --- backup/backup.php | 2 +- backup/restore_check.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5