Browse files

Fixed some typos when defining tables

  • Loading branch information...
1 parent 70e51cf commit d8d7a2d107ec5f27843c51fc9641e6d0b401c8ac moodler committed Sep 10, 2003
Showing with 6 additions and 6 deletions.
  1. +3 −3 mod/quiz/index.php
  2. +1 −1 mod/quiz/report/overview/report.php
  3. +2 −2 mod/quiz/view.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->width = array (10, "*", 10);
+ $table->size = array (10, "*", 10);
} else if ($course->format == "topics") {
$table->head = array ($strtopic, $strname, $strquizcloses, $gradecol);
$table->align = array ("center", "left", "left", "left");
- $table->width = array (10, "*", 10);
+ $table->size = array (10, "*", 10);
} else {
$table->head = array ($strname, $strquizcloses, $gradecol);
$table->align = array ("left", "left", "left");
- $table->width = array ("*", 10);
+ $table->size = array ("*", 10);
}
foreach ($quizzes as $quiz) {
View
2 mod/quiz/report/overview/report.php
@@ -18,7 +18,7 @@ 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->width = array(10, "*", "*", 20);
+ $table->size = array(10, "*", "*", 20);
foreach ($grades as $grade) {
$picture = print_user_picture($grade->userid, $course->id, $grade->picture, false, true);
View
4 mod/quiz/view.php
@@ -104,11 +104,11 @@
if ($quiz->grade) {
$table->head = array($strattempt, $strtimetaken, $strtimecompleted, "$strgrade / $quiz->grade");
$table->align = array("center", "center", "left", "right");
- $table->width = array("", "", "", "");
+ $table->size = array("", "", "", "");
} else { // No grades are being used
$table->head = array($strattempt, $strtimetaken, $strtimecompleted);
$table->align = array("center", "center", "left");
- $table->width = array("", "", "");
+ $table->size = array("", "", "");
}
foreach ($attempts as $attempt) {
if ($timetaken = ($attempt->timefinish - $attempt->timestart)) {

0 comments on commit d8d7a2d

Please sign in to comment.