Skip to content

Commit

Permalink
added class for userpic for better formatting via CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
urs_hunkler committed Jul 6, 2005
1 parent 09d4003 commit 82aac29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/weblib.php
Expand Up @@ -2488,7 +2488,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) {
Expand Down

0 comments on commit 82aac29

Please sign in to comment.