From adc5f292f2f52dd4240c9c874106dd578627843f Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 4 Jan 2007 15:42:49 +0000 Subject: [PATCH] XHTML Strict for user images MDL-7861 --- lib/weblib.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/weblib.php b/lib/weblib.php index ec43b4cd3a..cd21c2aba9 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -3131,7 +3131,7 @@ function print_user_picture($userid, $courseid, $picture, $size=0, $return=false } } else { // Print default user pictures (use theme version if available) $class .= " defaultuserpic"; - $src = "$CFG->pixpath/u/$file.png\""; + $src = "$CFG->pixpath/u/$file.png"; } if (!$alttext) { $imagealt = ''; @@ -3143,8 +3143,7 @@ function print_user_picture($userid, $courseid, $picture, $size=0, $return=false } } - $output .= "\"".s($imagealt)."\""; + $output .= ''.s($imagealt).''; if ($link) { $output .= ''; } -- 2.39.5