]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-11113: Make the editor work for the frontpage summary field
authorscyrma <scyrma>
Wed, 11 Jun 2008 08:41:40 +0000 (08:41 +0000)
committerscyrma <scyrma>
Wed, 11 Jun 2008 08:41:40 +0000 (08:41 +0000)
course/editsection.html

index d8e07672fb6f53d84e51b1c295e7373927a5697a..986b0321e307d0783ef03432f13177c496851370 100644 (file)
@@ -2,8 +2,6 @@
 <table summary="Summary of week" cellpadding="5" class="boxaligncenter">
 <tr valign="top">
     <td align="right"><p><b><?php print_string("summary") ?>:</b></p>
-    <br />
-    
      <?php helpbutton("summaries", get_string("helpsummaries"), "moodle", true, true);
         echo "<br />";
         if ($usehtmleditor) { 
            helpbutton("text2", get_string("helptext"), "moodle", true, true);   
         } 
      ?>
-      <br />
-    
     </td>
     <td>
-      <?php 
-        print_textarea($usehtmleditor, 25, 60, 660, 200, 'summary', $form->summary, 0, false, 'summary');
-        print($htmlEditorObject->activateEditor('summary', 'summary'));
-      ?>
-
+        <?php print_textarea($usehtmleditor, 25, 60, 0, 0, 'summary', $form->summary, 0, false, 'summary'); ?>
     </td>
 </tr>
 </table>