Permalink
Browse files

added class for userpic for better formatting via CSS

  • Loading branch information...
1 parent 09d4003 commit 82aac29073e4f9e35e0513e2c14c81f1781a6850 urs_hunkler committed Jul 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/weblib.php
View
@@ -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) {

0 comments on commit 82aac29

Please sign in to comment.