]> git.mjollnir.org Git - moodle.git/commitdiff
closed some br tags
authorgustav_delius <gustav_delius>
Sun, 12 Sep 2004 22:29:44 +0000 (22:29 +0000)
committergustav_delius <gustav_delius>
Sun, 12 Sep 2004 22:29:44 +0000 (22:29 +0000)
21 files changed:
mod/assignment/lib.php
mod/attendance/index.php
mod/exercise/locallib.php
mod/exercise/submissions.php
mod/exercise/view.php
mod/journal/lib.php
mod/quiz/category.php
mod/quiz/format/coursetestmanager/format.php
mod/quiz/questiontypes/datasetdependent/datasetitems.php
mod/quiz/questiontypes/multichoice/multichoice.html
mod/quiz/questiontypes/shortanswer/shortanswer.html
mod/quiz/questiontypes/truefalse/questiontype.php
mod/quiz/questiontypes/truefalse/truefalse.html
mod/scorm/coursefiles.php
mod/scorm/index.php
mod/scorm/mod.html
mod/workshop/assessments.php
mod/workshop/locallib.php
mod/workshop/mod.html
mod/workshop/submissions.php
mod/workshop/view.php

index 249c2cf7681bfd9979bf1fc43de3c70935f4976e..1cee5d6905a8ebd80298e7d6a714194e46b24d4d 100644 (file)
@@ -592,12 +592,12 @@ function assignment_print_submission($assignment, $user, $submission, $teachers,
     if ($submission->timemarked) {
         echo "&nbsp;&nbsp;<font size=1>".userdate($submission->timemarked)."</font>";
     }
-    echo "<br><textarea name=\"c$submission->id\" rows=6 cols=60 wrap=virtual>";
+    echo "<br /><textarea name=\"c$submission->id\" rows=6 cols=60 wrap=virtual>";
     p($submission->comment);
-    echo "</textarea><br>";
+    echo "</textarea><br />";
     echo "</td></tr>";
    
-    echo "</table><br clear=ALL>\n";
+    echo "</table><br clear=\"all\" />\n";
 }
 
 function assignment_print_feedback($course, $submission, $assignment) {
index eacdeeb72552e6b5cee92d287f21412390e6122e..ceafb7e817d1c4749f7ee810d8ee108f2ccf4d17 100644 (file)
@@ -69,7 +69,7 @@
         }
     }
 
-    echo "<br>";
+    echo "<br />";
 
     print_table($table);
 
index eb7e12799d59c5dd90e08ca1361524cc1bb0d281..05a2ff1bd6b72f2bc7a007a160c1f2d51a0b5e5c 100644 (file)
@@ -1540,7 +1540,7 @@ function exercise_print_assessment_form($exercise, $assessment = false, $allowch
                 echo "<center><table border=\"1\" width=\"30%\"><tr>
                     <td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
                 echo exercise_print_submission_title($exercise, $teachersubmission);
-                echo "</td></tr></table><br clear=\"all\">\n";
+                echo "</td></tr></table><br clear=\"all\" />\n";
                 }
             }
         else { 
@@ -1553,14 +1553,14 @@ function exercise_print_assessment_form($exercise, $assessment = false, $allowch
         echo "<center><table border=\"1\" width=\"30%\"><tr>
             <td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
         echo exercise_print_submission_title($exercise, $submission);
-        echo "</td></tr></table><br clear=\"all\">\n";
+        echo "</td></tr></table><br clear=\"all\" />\n";
         
         // only show the grade if grading strategy > 0 and the grade is positive
         if ($exercise->gradingstrategy and $assessment->grade >= 0) { 
 
             echo "<center><b>".get_string("thegradeis", "exercise").": ".
                 number_format($assessment->grade * $exercise->grade / 100.0, 2)." (".
-                get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\">\n";
+                get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\" />\n";
             }
         }
         
@@ -2358,12 +2358,12 @@ function exercise_print_teacher_assessment_form($exercise, $assessment, $submiss
         error ("Print teacher assessment form: Submission record not found");
     }
     echo exercise_print_submission_title($exercise, $teachersubmission);
-    echo "</td></tr></table><br clear=\"all\">\n";
+    echo "</td></tr></table><br clear=\"all\" />\n";
     
     echo "<center><table border=\"1\" width=\"30%\"><tr>
         <td align=\"center\" bgcolor=\"$THEME->cellcontent\">\n";
     echo exercise_print_submission_title($exercise, $submission);
-    echo "</td></tr></table></center><br clear=\"all\">\n";
+    echo "</td></tr></table></center><br clear=\"all\" />\n";
 
     ?>
     <form name="assessmentform" method="post" action="assessments.php">
@@ -2393,7 +2393,7 @@ function exercise_print_teacher_assessment_form($exercise, $assessment, $submiss
     if ($exercise->gradingstrategy and $assessment->grade >= 0) { 
         echo "<center><b>".get_string("thegradeis", "exercise").": ".
             number_format($assessment->grade * $exercise->grade / 100.0, 2)." (".
-            get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\">\n";
+            get_string("maximumgrade")." ".number_format($exercise->grade, 0).")</b></center><br clear=\"all\" />\n";
         }
         
     echo "<center><table cellpadding=\"2\" border=\"1\">\n";
index 09c7ba899d1a0b009aabfb28cc710cdf0fb80e76..f4120ac88498f5cbae156d2dc9f26f13fc3c3894 100644 (file)
                 }
             }
         }
-        echo "</table><br clear=\"all\">\n";
+        echo "</table><br clear=\"all\" />\n";
         if ($exercise->showleaguetable) {
             exercise_print_league_table($exercise);
             echo "<br />\n";
index d54a9c5001f46ee7eea495a4b9c3fdbbe68e6f9c..a758532592ae5000071084afcf1042b5ec69031e 100644 (file)
                 }
             }
         }
-        echo "</table><br clear=\"all\">\n";
+        echo "</table><br clear=\"all\" />\n";
         if ($exercise->showleaguetable) {
             exercise_print_league_table($exercise);
         }
index 500d9d29db79317d85dd4ce170d22207cd6c08f1..a2a8673b5c361aac62d314b72c1574621c22a14c 100644 (file)
@@ -465,7 +465,7 @@ function journal_print_user_entry($course, $user, $entry, $teachers, $grades) {
         echo "</textarea><br />";
         echo "</td></tr>";
     }
-    echo "</table><br clear=\"all\">\n";
+    echo "</table><br clear=\"all\" />\n";
 }
 
 
index deb7a88e3c73c46ff5f2ede63ca1f973ebd01970..1e3e6832595f387fee10f65f65f7f66c70bf3119 100644 (file)
                             "$stradd");
     print_table($table);
     echo "<input type=\"hidden\" name=\"id\" value=\"$course->id\" />";
-    echo "<center><br><input type=\"submit\" value=\"$strsavechanges\" /> ";
-    echo "<br><br><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\" /> ";
+    echo "<center><br /><input type=\"submit\" value=\"$strsavechanges\" /> ";
+    echo "<br /><br /><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\" /> ";
     echo "</center>";
     echo "</form>";
 
index 8879520971ae75b823b4f1e5d677f6ce0b31f518..b7765124876189cb9b3947c57fe086bd1c8ab992 100755 (executable)
@@ -265,7 +265,7 @@ class quiz_file_format {
 
          function deletedatabase($filename) {
                if (! $this->fulldelete($filename)) {
-        echo "<br>Error: Could not delete: $filename";
+        echo "<br />Error: Could not delete: $filename";
         return false;
       }
                        return true;
index c12312624782bec1d28e9a10cec40bad036dc9ec..7d1d6a279c4d64175ae7e4df3bdd926cd42f38cf 100644 (file)
         echo '</form>';
     }
 
-    echo "<center><br><br><form method=\"get\" action=\"edit.php\"><input type=\"hidden\" name=\"question\" value=\"$question->id\"/><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\"></form></center>\n";
+    echo "<center><br /><br /><form method=\"get\" action=\"edit.php\"><input type=\"hidden\" name=\"question\" value=\"$question->id\"/><input type=\"submit\" name=\"backtoquiz\" value=\"$strbacktoquiz\"></form></center>\n";
 
     print_footer();
 
index c239a6b540893876e57a9420eda20aab2ff31930..0fb2334e88f43922e818c045215cba69e056533b 100644 (file)
 
            choose_from_menu($gradeoptionsfull, "fraction[]", $answers[$i-1]->fraction, ""); ?>
 
-        <br>
+        <br />
 
     </td>
 
index 6f83bc9c1b032964a5a877978ad81f3d9ee4549e..f55f77dc8b75d2eba2aa4af5a6b3b14a44e1f69f 100644 (file)
 
            choose_from_menu($gradeoptions, "fraction[]", $answers[$i-1]->fraction,""); ?>
 
-        <br>
+        <br />
 
     </td>
 
index 8f2416acdc1db27f26fc36f7cdc17cd04f1c20da..a53abb9adbfa49c4542b21831ee9cb10a985e071 100644 (file)
@@ -142,7 +142,7 @@ class quiz_truefalse_qtype extends quiz_default_questiontype {
         echo "<input $truechecked type=\"radio\" $readonly $inputname value=\"$true->id\" />$true->answer";
         echo "</td><td $falsecorrect>";
         echo "<input $falsechecked type=\"radio\"  $readonly $inputname value=\"$false->id\" />$false->answer";
-        echo "</td></tr></table><br clear=\"all\">";// changed from clear=ALL jm
+        echo "</td></tr></table><br clear=\"all\" />";// changed from clear=ALL jm
         if ($quiz->feedback && isset($answers[$nameprefix])
                 && $feedback = $answers[$nameprefix]->feedback) {
            quiz_print_comment(
index 92bd6c99163ccbcf2aa279ad0689db3ad9cce21b..f82c3ced18cd4da66d39baf9d6cbf6eb22872d1c 100644 (file)
 
            choose_from_menu($menu, "answer", "$question->answer", ""); ?>
 
-        <br>
+        <br />
 
     </td>
 
index c111014a8fcee7f33b42788d88fe8dee83471c1f..6917f5ce409e7cad6e55739865648cb976d1ce12 100755 (executable)
                 foreach ($USER->filelist as $file) {
                     $fullfile = $basedir.$file;
                     if (! fulldelete($fullfile)) {
-                        echo "<br>Error: Could not delete: $fullfile";
+                        echo "<br />Error: Could not delete: $fullfile";
                     }
                 }
                 clearfilelist();
                     print_simple_box_start("center");
                     printfilelist($USER->filelist);
                     print_simple_box_end();
-                    echo "<br>";
+                    echo "<br />";
                     echo "<p align=\"center\">".get_string("whattocallzip");
                     echo "<table><tr><td>";
                     echo "<form action=\"".$ME."\" method=\"post\" name=\"form\">";
index b19568101a728a07a1785b16d7fcfe6f4cfba23c..ba3e8dd89ddfb83bea1261a0946def5bb498f929 100755 (executable)
@@ -71,7 +71,7 @@
         }
     }
 
-    echo "<br>";
+    echo "<br />";
 
     print_table($table);
 
index a6e08600ae2b9ae217bcee1ce6141bd4fbdb7e94..7b4584b0b520b281299f6ef06d72ff29f769f410 100755 (executable)
@@ -43,9 +43,9 @@
                <font size="1">
                <?php
                    helpbutton("summary", get_string("summary"), "scorm", true, true);
-                   echo "<br \>";
+                   echo "<br />";
                    helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
-                   echo "<br \>";
+                   echo "<br />";
                    helpbutton("text", get_string("helptext"), "moodle", true, true);
                ?>
                </font>
index 485d1f1e81eefc948401e3bf5050d9f6cdd3090c..5d01bbcdba25bd483cdf6d60aced639560d142c8 100644 (file)
                        }
                //save time of agreement
                set_field("workshop_assessments", "timeagreed", $timenow, "id", $assessment->id);
-               echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br>\n";
+               echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br />\n";
                        
                add_to_log($course->id, "workshop", "agree", "assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$assessment->id");
                print_continue("view.php?id=$cm->id");
                                        echo "  <td colspan=2 BGCOLOR=\"$THEME->cellheading2\">&nbsp;</td>\n";
                                        echo "</tr>\n";
                                }
-                               echo "</center></table><br>\n";
+                               echo "</center></table><br />\n";
                                echo "<p><center><b>".get_string("gradetable","workshop")."</b></center>\n";
                                echo "<center><table cellpadding=5 border=1><tr><td ALIGN=\"CENTER\">".
                                        get_string("numberofnegativeresponses", "workshop");
                                                $totalweight += $weight;
                                        }
                                        $rawgrade += ($grade / $maxscore) * $weight;
-                                       // echo "\$key, \$maxscore, \$weight, \$totalweight, \$grade, \$rawgrade : $key, $maxscore, $weight, $totalweight, $grade, $rawgrade<br>";
+                                       // echo "\$key, \$maxscore, \$weight, \$totalweight, \$grade, \$rawgrade : $key, $maxscore, $weight, $totalweight, $grade, $rawgrade<br />";
                                }
                                $grade = 100.0 * ($rawgrade / $totalweight);
                                break;
             set_field("workshop_comments", "timecreated", $timenow, "id", $comment->id);
             // ..and kick to comment into life (probably not needed but just in case)
             set_field("workshop_comments", "mailed", 0, "id", $comment->id);
-            echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br>\n";
+            echo "<centre><b>".get_string("savedok", "workshop")."</b></center><br />\n";
             
             add_to_log($course->id, "workshop", "comment", 
                     "assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$comment->id");
             set_field("workshop_assessments", "gradinggrade", $form->gradinggrade, "id", $assessment->id);
             set_field("workshop_assessments", "timegraded", $timenow, "id", $assessment->id);
             set_field("workshop_assessments", "mailed", 0, "id", $assessment->id);
-            echo "<centre><b>".get_string("savedok", "workshop")."</b></centre><br>\n";
+            echo "<centre><b>".get_string("savedok", "workshop")."</b></centre><br />\n";
             
             add_to_log($course->id, "workshop", "grade", 
                  "assessments.php?action=viewassessment&id=$cm->id&aid=$assessment->id", "$assessment->id", "$cm->id");
index 97396458c267dd91ba9c849b03bfd1f699c066b3..7a776af083e1659fe19f40988c48610fd3b76a38 100644 (file)
@@ -736,7 +736,7 @@ function workshop_list_all_submissions($workshop, $user) {
         }
 
     echo "<center><p><b>".get_string("studentsubmissions", "workshop", $course->student).
-        "</b></center><br>\n";
+        "</b></center><br />\n";
     unset($table);
     $table->head = array (get_string("title", "workshop"), get_string("action", "workshop"), 
                         get_string("comment", "workshop"));
@@ -1022,7 +1022,7 @@ function workshop_list_self_assessments($workshop, $user) {
         }
     if (isset($table->data)) {
         echo "<p><center><b>".get_string("pleaseassessyoursubmissions", "workshop", $course->student).
-            "</b></center><br>\n";
+            "</b></center><br />\n";
         print_table($table);
         }
     }
@@ -1149,11 +1149,11 @@ function workshop_list_student_submissions($workshop, $user) {
     
     if (isset($table->data)) {
         echo "<p><center><b>".get_string("pleaseassessthesestudentsubmissions", "workshop", $course->student).
-            "</b></center><br>\n";
+            "</b></center><br />\n";
         print_table($table);
         }
     else {
-        echo "<p><center><b>".get_string("nosubmissionsavailableforassessment", "workshop")."</b></center><br>\n";
+        echo "<p><center><b>".get_string("nosubmissionsavailableforassessment", "workshop")."</b></center><br />\n";
         }
     }
 
@@ -1755,7 +1755,7 @@ function workshop_print_assessment($workshop, $assessment = false, $allowchanges
             error ("Workshop_print_assessment: Submission record not found");
             }
         echo workshop_print_submission_title($workshop, $submission);
-        echo "</td></tr></table><br CLEAR=ALL>\n";
+        echo "</td></tr></table><br CLEAR=ALL />\n";
     
         // see if this is a pre-filled assessment for a re-submission...
         if ($assessment->resubmission) {
@@ -1820,7 +1820,7 @@ function workshop_print_assessment($workshop, $assessment = false, $allowchanges
         // only show the grade if grading strategy > 0 and the grade is positive
         if ($showgrades and $workshop->gradingstrategy and $assessment->grade >= 0) { 
             echo "<center><b>".get_string("thegradeis", "workshop").": ".number_format($assessment->grade, 2)." (".
-                get_string("maximumgrade")." ".number_format($workshop->grade, 0).")</b></center><br CLEAR=ALL>\n";
+                get_string("maximumgrade")." ".number_format($workshop->grade, 0).")</b></center><br CLEAR=ALL />\n";
             }
         }
         
@@ -2689,7 +2689,7 @@ function workshop_print_upload_form($workshop) {
     echo "<form ENCTYPE=\"multipart/form-data\" METHOD=\"POST\" ACTION=upload.php>";
     echo " <input TYPE=hidden NAME=MAX_FILE_SIZE value=\"$workshop->maxbytes\" />";
     echo " <input TYPE=hidden NAME=id VALUE=\"$cm->id\" />";
-    echo "<b>".get_string("title", "workshop")."</b>: <input NAME=\"title\" TYPE=\"text\" SIZE=\"60\" MAXSIZE=\"100\" /><br><br>\n";
+    echo "<b>".get_string("title", "workshop")."</b>: <input NAME=\"title\" TYPE=\"text\" SIZE=\"60\" MAXSIZE=\"100\" /><br /><br />\n";
     echo " <input NAME=\"newfile\" TYPE=\"file\" size=\"50\" />";
     echo " <input TYPE=submit NAME=save VALUE=\"".get_string("uploadthisfile")."\" />";
     echo "</form>";
index 4e40352bde936041a317f69b827f398ab0f7c78e..f16b57f6065061bf79abdc6b93d3290afe6b9502 100644 (file)
 </tr>
 
 </table>
-<br>
+<br />
 <center>
 <input type="hidden" name=course     value="<?php  p($form->course) ?>" />
 <input type="hidden" name=coursemodule  value="<?php  p($form->coursemodule) ?>" />
index 66e9eb9a9322bf284036a095a2bb36835f8a4ce9..f450041ae33c98210f914bdcb5bd887585f1d441 100644 (file)
                                }
                        }
                }
-               echo "</table><br clear=\"all\">\n";
+               echo "</table><br clear=\"all\" />\n";
         workshop_print_key($workshop);
                if ($workshop->showleaguetable) {
                        workshop_print_league_table($workshop);
index 47c9110391ec4f047529aa60fefe7670f54a0206..f4ebe1569715d8b9a6b261ed64c8405c3d5a8d16 100644 (file)
                 echo "<td align=\"center\">".number_format($gradinggrade + $grade, 1)."</td></tr>\n";
             }
         }
-        echo "</table><br CLEAR=ALL>\n";
+        echo "</table><br CLEAR=ALL />\n";
                workshop_print_key($workshop);
         if ($workshop->showleaguetable) {
                        workshop_print_league_table($workshop);