adding CSS class to default user picture so that it can be styled at the

same time as user uploaded images
This commit is contained in:
bawjaws 2005-06-27 12:14:24 +00:00
parent 12d51c99b5
commit 57e31b6b06

View file

@ -2447,7 +2447,7 @@ function print_user_picture($userid, $courseid, $picture, $size=0, $returnstring
' border="0" width="'. $size .'" height="'. $size .'" alt="" />'; ' border="0" width="'. $size .'" height="'. $size .'" alt="" />';
} }
} else { // Print default user pictures (use theme version if available) } else { // Print default user pictures (use theme version if available)
$output .= "<img align=\"middle\" src=\"$CFG->pixpath/u/$file.png\"". $output .= "<img class=\"userpicture defaultuserpic\" align=\"middle\" src=\"$CFG->pixpath/u/$file.png\"".
" border=\"0\" width=\"$size\" height=\"$size\" alt=\"\" />"; " border=\"0\" width=\"$size\" height=\"$size\" alt=\"\" />";
} }
if ($link) { if ($link) {