]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed some typos when defining tables
authormoodler <moodler>
Wed, 10 Sep 2003 14:00:18 +0000 (14:00 +0000)
committermoodler <moodler>
Wed, 10 Sep 2003 14:00:18 +0000 (14:00 +0000)
mod/quiz/index.php
mod/quiz/report/overview/report.php
mod/quiz/view.php

index b2153d63eaf24a5f32e84a0b6d7ebeb1e026566c..043eab3dba93faeb37c844ab748302428b94ab69 100644 (file)
     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) {
index fc1e9001d3f726ccaea1830e1af6f40e35941e39..978c2dc3e8b3d918fc307d128506a9cde8c448d5 100644 (file)
@@ -18,7 +18,7 @@ class quiz_report extends quiz_default_report {
 
         $table->head = array("&nbsp;", $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);
index bd650f4f11fa45d0ed9f94f0901748c68d5a8b64..a178ab126ec39b44bb355e02a95738cc4efd4792 100644 (file)
         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)) {