|
@@ -3955,6 +3955,7 @@ class iassign {
|
|
$avatar->courseid = $COURSE->id;
|
|
$avatar->courseid = $COURSE->id;
|
|
$avatar->link = true;
|
|
$avatar->link = true;
|
|
$user_picture = $OUTPUT->render($avatar);
|
|
$user_picture = $OUTPUT->render($avatar);
|
|
|
|
+ $user_picture = str_replace('"35"', '"45"', $user_picture);
|
|
|
|
|
|
if ($even) {
|
|
if ($even) {
|
|
$text .= "<tr><td style='vertical-align: middle; width: 55px !important;' bgcolor='" . $colorEdit1 . "'>$user_picture</td><td bgcolor='" . $colorEdit1 . "' style='padding-left: 0px !important;'><b style='font-size: 1.1rem;'>" . $user_data->firstname . "</b> <span style='color: #686969; font-size: 90%'><i class='fa fa-clock-o' aria-hidden='true' style='margin-left: 2rem; margin-right: .1rem;'></i> " . userdate($tmp->timecreated) . "</span></br>\n";
|
|
$text .= "<tr><td style='vertical-align: middle; width: 55px !important;' bgcolor='" . $colorEdit1 . "'>$user_picture</td><td bgcolor='" . $colorEdit1 . "' style='padding-left: 0px !important;'><b style='font-size: 1.1rem;'>" . $user_data->firstname . "</b> <span style='color: #686969; font-size: 90%'><i class='fa fa-clock-o' aria-hidden='true' style='margin-left: 2rem; margin-right: .1rem;'></i> " . userdate($tmp->timecreated) . "</span></br>\n";
|
|
@@ -3963,7 +3964,7 @@ class iassign {
|
|
$text .= "<tr><td style='vertical-align: middle; width: 55px !important;' bgcolor='" . $colorEdit2 . "'>$user_picture</td><td bgcolor='" . $colorEdit2 . "' style='padding-left: 0px !important;'><b style='font-size: 1.1rem;'>" . $user_data->firstname . "</b> <span style='color: #686969; font-size: 90%'><i class='fa fa-clock-o' aria-hidden='true' style='margin-left: 2rem; margin-right: .1rem;'></i> " . userdate($tmp->timecreated) . "</span></br>\n";
|
|
$text .= "<tr><td style='vertical-align: middle; width: 55px !important;' bgcolor='" . $colorEdit2 . "'>$user_picture</td><td bgcolor='" . $colorEdit2 . "' style='padding-left: 0px !important;'><b style='font-size: 1.1rem;'>" . $user_data->firstname . "</b> <span style='color: #686969; font-size: 90%'><i class='fa fa-clock-o' aria-hidden='true' style='margin-left: 2rem; margin-right: .1rem;'></i> " . userdate($tmp->timecreated) . "</span></br>\n";
|
|
$even = 1;
|
|
$even = 1;
|
|
}
|
|
}
|
|
- $text .= "<div style='padding-left: .5rem; padding-top: .2rem;'>" . $tmp->comment . "</div></td></tr>\n";
|
|
|
|
|
|
+ $text .= "<div style='padding-left: 0rem; padding-top: .2rem;'>" . $tmp->comment . "</div></td></tr>\n";
|
|
|
|
|
|
} // foreach ($comments as $tmp)
|
|
} // foreach ($comments as $tmp)
|
|
}
|
|
}
|