]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-19839, resize user picture in comments api"
authordongsheng <dongsheng>
Tue, 28 Jul 2009 08:54:26 +0000 (08:54 +0000)
committerdongsheng <dongsheng>
Tue, 28 Jul 2009 08:54:26 +0000 (08:54 +0000)
lib/commentlib.php
theme/standard/styles_layout.css

index fb49a9f5fa19174b2cff386281cc69e463d3df53..2b9a38db830551359322066c10d26ff9efb3f724 100644 (file)
@@ -396,6 +396,7 @@ EOD;
                 $userpic->user = $user;
                 $userpic->courseid = $this->course->id;
                 $userpic->link = true;
+                $userpic->size = 18;
                 $userpic->alttext = true;
                 $c->avatar = $OUTPUT->user_picture($userpic);
                 if (($USER->id == $c->userid) || !empty($candelete)) {
index 747b24fa1e0397e01b470efdf3e39d29ec74cdcc..1e2dab90aeb88526b0ce95f932d3b81949fd1b34 100644 (file)
@@ -5572,10 +5572,6 @@ wikiadminactions {
     width: 20px;
     float:left;
 }
-.comment-userpicture img.image{
-    width: 18px;
-    height: 18px;
-}
 .comment-content{
     margin-left: 22px;
 }