Cleaned up this form a little to make it more consistent
authormoodler <moodler>
Thu, 11 Dec 2003 07:22:13 +0000 (07:22 +0000)
committermoodler <moodler>
Thu, 11 Dec 2003 07:22:13 +0000 (07:22 +0000)
course/editsection.html
course/editsection.php

index a444b0a5d464f50a9e591dd3a83ba869d4f36048..50a3c8241bebf24f8230313e5b669cb3e9e343fa 100644 (file)
@@ -1,30 +1,27 @@
 <center>
 <form name="theform" method="post" action="editsection.php">
-<table border=0 cellpadding=0 cellspacing=0>
-<tr>
-<td align=top>
-<p><b><?php print_string("summaryof", "", "$sectionname $form->section") ?></b></p>
-</td>
-<td align=top width=100>
-&nbsp;
-</td>
-<td align=top>
-<font size=-1>
+<table cellpadding=5>
+<tr valign=top>
+    <td align=right><p><b><?php print_string("summary") ?>:</b></p>
+    <br />
+    <font size="1">
      <?php helpbutton("summaries", get_string("helpsummaries"), "moodle", true, true);
+        echo "<br />";
         if ($usehtmleditor) { 
            helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
         } else {   
            helpbutton("text", get_string("helptext"), "moodle", true, true);   
         } 
      ?>
-</font>
-</td>
-</tr></table>
-<?php print_textarea($usehtmleditor, 4, 60, 660, 200, "summary", $form->summary); ?>
-<p>
+      <br />
+    </font>
+    </td>
+    <td>
+      <?php print_textarea($usehtmleditor, 4, 60, 660, 200, "summary", $form->summary); ?>
+    </td>
+</tr>
+</table>
 <input type="hidden" name=id value="<?php echo $form->id ?>">
 <input type="submit" value="<?php print_string("savechanges") ?>">
-<input type="reset" value="<?php print_string("revert") ?>">
-</p>
 </form>
 </center>
index 56006824855448e11aa64b3bf316edd2b2806240..274b3e15a346e8417ad391e71b0cb78d1c0dd2ab 100644 (file)
                  "<A HREF=\"$CFG->wwwroot/course/view.php?id=$course->id\">$course->shortname</A> 
                   -> $stredit");
 
+    print_heading(get_string("summaryof", "", "$sectionname $form->section"));
+    print_simple_box_start("center", "", "$THEME->cellheading");
     include("editsection.html");
+    print_simple_box_end();
 
     if ($usehtmleditor) { 
         use_html_editor();