]> git.mjollnir.org Git - moodle.git/commitdiff
Changes for XHTML compatibility and accessibility.
authormoodler <moodler>
Fri, 8 Oct 2004 14:24:43 +0000 (14:24 +0000)
committermoodler <moodler>
Fri, 8 Oct 2004 14:24:43 +0000 (14:24 +0000)
Removed redundant <p> tags

mod/exercise/mod.html

index f1473848ead57f5076763163dc8e8833cb752d7a..578ccb1de843c4e0cbb673a683fb0f3a0af39df3 100644 (file)
 <form name="form" method="post" action="mod.php">
 <table cellpadding="5">
 <tr valign="top">
-    <td align="right" width="50%"><p><b><?php  print_string("title", "exercise") ?>:</b></p></td>
+    <td align="right" width="50%"><b><?php  print_string("title", "exercise") ?>:</b></td>
     <td width="50%">
-        <input type="text" name="name" size="60" value="<?php  p($form->name) ?>" />
+        <input type="text" name="name" size="60" value="<?php  p($form->name) ?>" alt="<?php  print_string("title", "exercise") ?>"/>
     </td>
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("description", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("description", "exercise") ?>:</b></td>
     <td>
     <?php  
        echo get_string("descriptionofexercise", "exercise", $course->students);
@@ -60,7 +60,7 @@
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("gradeforstudentsassessment", "exercise", $course->student) ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("gradeforstudentsassessment", "exercise", $course->student) ?>:</b></td>
     <td>
         <?php
         for ($i=100; $i>=0; $i--) {
@@ -73,7 +73,7 @@
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("gradeforsubmission", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("gradeforsubmission", "exercise") ?>:</b></td>
     <td>
         <?php
         choose_from_menu($grades, "grade", "$form->grade", "");
@@ -83,7 +83,7 @@
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("gradingstrategy", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("gradingstrategy", "exercise") ?>:</b></td>
     <td>
     <?php
        choose_from_menu($EXERCISE_TYPE, "gradingstrategy", $form->gradingstrategy, "");
@@ -93,7 +93,7 @@
 </tr>
 
 <tr>
-    <td align="right"><p><b><?php print_string("handlingofmultiplesubmissions", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php print_string("handlingofmultiplesubmissions", "exercise") ?>:</b></td>
     <td>
     <?php
         $options[0] = get_string("usemean", "exercise"); $options[1] = get_string("usemaximum", "exercise");
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("numberofassessmentelements", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("numberofassessmentelements", "exercise") ?>:</b></td>
     <td valign="middle">
         <?php
         for ($i=20; $i>=0; $i--) {
 </tr>
 
 <tr>
-    <td align="right"><p><b><?php print_string("comparisonofassessments", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php print_string("comparisonofassessments", "exercise") ?>:</b></td>
     <td>
         <?php
                // set up comparison names
 </tr>
 
 <tr>
-    <td align="right"><p><b><?php  print_string("usepassword", "exercise"); ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("usepassword", "exercise"); ?>:</b></td>
     <td>
     <?php 
         $options[0] = get_string("no"); $options[1] = get_string("yes");
 </tr>
 
 <tr>
-    <td align="right"><p><b><?php  print_string("password"); ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("password"); ?>:</b></td>
     <td>
-        <input type="text" name="password" size="10" value="" /> <?php echo " (".get_string("leavetokeep").")"; ?>
+        <input type="text" name="password" size="10" value="" alt="<?php  print_string("password"); ?>" /> <?php echo " (".get_string("leavetokeep").")"; ?>
                <?php helpbutton("password", get_string("password"), "exercise"); ?>
     </td>
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("maximumsize", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("maximumsize", "exercise") ?>:</b></td>
     <td>
         <?php
         $sizelist = array("10Kb", "50Kb", "100Kb", "500Kb", "1Mb", "2Mb", "5Mb", "10Mb", "20Mb", "50Mb");
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php  print_string("deadline", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php  print_string("deadline", "exercise") ?>:</b></td>
     <td><?php
            print_date_selector("deadlineday", "deadlinemonth", "deadlineyear", $form->deadline);
            echo "&nbsp;-&nbsp;";
 </tr>
 
 <tr valign="top">
-    <td align="right"><p><b><?php print_string("numberofentriesinleaguetable", "exercise") ?>:</b></p></td>
+    <td align="right"><b><?php print_string("numberofentriesinleaguetable", "exercise") ?>:</b></td>
     <td><?php
         unset($numbers);
         $numbers[22] = 'All';
     </td>
 </tr>
 
-<tr valign="top">>
-    <td align="right"><p><b><?php print_string("hidenamesfromstudents", "exercise", $course->students) ?>:</b></p></td>
+<tr valign="top">
+    <td align="right"><b><?php print_string("hidenamesfromstudents", "exercise", $course->students) ?>:</b></td>
     <td><?php
         $options[0] = get_string("no"); $options[1] = get_string("yes");
         choose_from_menu($options, "anonymous", $form->anonymous, "");
     </td>
 </tr>
 
-</table>
-<br />
+<tr>
+    <td colspan="2">
+
 <center>
 <input type="hidden" name="course"     value="<?php  p($form->course) ?>" />
 <input type="hidden" name="coursemodule"  value="<?php  p($form->coursemodule) ?>" />
 <input type="hidden" name="mode"       value="<?php  p($form->mode) ?>" />
 <input type="submit" value="<?php  print_string("savechanges") ?>" />
 <input type="submit" name="cancel" value="<?php  print_string("cancel") ?>" />
-<p>
-
 </center>
 
+    </td>
+</tr>
+
+</table>
+</form>