Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIxed widths properly

  • Loading branch information...
commit 8748278c60c1429dd0ebbde8d816aa2a8217015f 1 parent d8d7a2d
moodler authored
Showing with 6 additions and 4 deletions.
  1. +3 −3 mod/quiz/index.php
  2. +3 −1 mod/quiz/report/overview/report.php
View
6 mod/quiz/index.php
@@ -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) {
View
4 mod/quiz/report/overview/report.php
@@ -18,7 +18,9 @@ function display($quiz, $cm, $course) { /// This function just displays the
$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);
Please sign in to comment.
Something went wrong with that request. Please try again.