You can now use Richtext editor to edit section texts, plus the page is a
[moodle.git] / course / editsection.html
CommitLineData
578fdd0a 1<BLOCKQUOTE>
1e5a2bf5 2<FORM name="theform" method="post" <?=$onsubmit ?> action="editsection.php">
3<TABLE BORDER=0 cellpadding=0 cellspacing=0>
4<TR>
5<TD align=top>
e20217b3 6<P><B><? print_string("summaryof", "", "$sectionname $form->section") ?></B></P>
1e5a2bf5 7</TD>
8<TD align=top width=200>
9&nbsp;
10</TD>
11<TD align=top>
12<FONT SIZE=-1>
13 <? if ($usehtmleditor) { ?>
14 <? helpbutton("richtext", get_string("helprichtext"), "moodle", true, true) ?>
15 <? } else { ?>
16 <? helpbutton("text", get_string("helptext"), "moodle", true, true) ?>
17 <? } ?>
18</FONT>
19</TD>
20</TR></TABLE>
21<? print_textarea($usehtmleditor, 4, 60, 595, 200, "summary", $form->summary); ?>
578fdd0a 22<P>
23<INPUT type="hidden" name=id value="<?=$form->id ?>">
e20217b3 24<INPUT type="submit" value="<? print_string("savechanges") ?>">
25<INPUT type="reset" value="<? print_string("revert") ?>">
578fdd0a 26</P>
27</FORM>
28</BLOCKQUOTE>
1e5a2bf5 29<?
30 if ($usehtmleditor) {
31 print_richedit_javascript("theform", "summary", "no");
32 }
33?>