Skip to content
Browse files

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

same time as user uploaded images
  • Loading branch information...
1 parent 12d51c9 commit 57e31b6b06074e430fbbaaedaed0205adff2ddad bawjaws committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
View
2 lib/weblib.php
@@ -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) {

0 comments on commit 57e31b6

Please sign in to comment.
Something went wrong with that request. Please try again.