mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
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:
parent
12d51c99b5
commit
57e31b6b06
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue