FIxed widths properly
This commit is contained in:
+3
-3
@@ -54,15 +54,15 @@
|
||||
if ($course->format == "weeks") {
|
||||
$table->head = array ($strweek, $strname, $strquizcloses, $gradecol);
|
||||
$table->align = array ("center", "left", "left", "left");
|
||||
$table->size = array (10, "*", 10);
|
||||
$table->size = array (10, "*", "*", "*");
|
||||
} else if ($course->format == "topics") {
|
||||
$table->head = array ($strtopic, $strname, $strquizcloses, $gradecol);
|
||||
$table->align = array ("center", "left", "left", "left");
|
||||
$table->size = array (10, "*", 10);
|
||||
$table->size = array (10, "*", "*", "*");
|
||||
} else {
|
||||
$table->head = array ($strname, $strquizcloses, $gradecol);
|
||||
$table->align = array ("left", "left", "left");
|
||||
$table->size = array ("*", 10);
|
||||
$table->size = array ("*", "*", "*");
|
||||
}
|
||||
|
||||
foreach ($quizzes as $quiz) {
|
||||
|
||||
@@ -18,7 +18,9 @@ class quiz_report extends quiz_default_report {
|
||||
|
||||
$table->head = array(" ", $strname, $strattempts, "$strbestgrade /$quiz->grade");
|
||||
$table->align = array("center", "left", "left", "center");
|
||||
$table->size = array(10, "*", "*", 20);
|
||||
$table->wrap = array("nowrap", "nowrap", "nowrap", "nowrap");
|
||||
$table->width = 10;
|
||||
$table->size = array(10, "*", "80%", "*");
|
||||
|
||||
foreach ($grades as $grade) {
|
||||
$picture = print_user_picture($grade->userid, $course->id, $grade->picture, false, true);
|
||||
|
||||
Reference in New Issue
Block a user