adding CSS class to default user picture so that it can be styled at the
authorbawjaws <bawjaws>
Mon, 27 Jun 2005 12:14:24 +0000 (12:14 +0000)
committerbawjaws <bawjaws>
Mon, 27 Jun 2005 12:14:24 +0000 (12:14 +0000)
same time as user uploaded images

lib/weblib.php

index eeefb11..1ae5aa2 100644 (file)
@@ -2447,7 +2447,7 @@ function print_user_picture($userid, $courseid, $picture, $size=0, $returnstring
                        ' border="0" width="'. $size .'" height="'. $size .'" alt="" />';
         }
     } 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=\"\" />";
     }
     if ($link) {