Merge branch 'MDL-40996' of git://github.com/timhunt/moodle

This commit is contained in:
Sam Hemelryk
2013-08-13 09:08:15 +12:00
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -302,7 +302,11 @@ class mod_quiz_renderer extends plugin_renderer_base {
$output = '';
$userpicture = $panel->user_picture();
if ($userpicture) {
$output .= html_writer::tag('div', $this->render($userpicture),
$fullname = fullname($userpicture->user);
if ($userpicture->size === true) {
$fullname = html_writer::div($fullname);
}
$output .= html_writer::tag('div', $this->render($userpicture) . $fullname,
array('id' => 'user-picture', 'class' => 'clearfix'));
}
$output .= $panel->render_before_button_bits($this);
+1 -1
View File
@@ -57,7 +57,7 @@ body.jsenabled .questionflagcheckbox {
.path-mod-quiz #user-picture img {
width: auto;
height: auto;
float: left;
vertical-align: bottom;
}
.path-mod-quiz .qnbutton {