2 if (!isset($form->content
)) {
7 <form name=
"form" method=
"post" action=
"mod.php">
9 <table cellpadding=
"5">
11 <td align=
"right"><p><b><?php print_string("labeltext", "label") ?>:
</b></p>
14 helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
17 helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
19 emoticonhelpbutton("form", "description");
27 print_textarea($usehtmleditor, 20, 60, 680, 400, "content", $form->content
);
31 <?php print_visible_setting($form); ?>
33 <!-- these hidden variables are always the same -->
34 <input type=
"hidden" name=
"course" value=
"<?php p($form->course) ?>" />
35 <input type
="hidden" name
="sesskey" value
="<?php p($form->sesskey) ?>" />
36 <input type
="hidden" name
="coursemodule" value
="<?php p($form->coursemodule) ?>" />
37 <input type
="hidden" name
="section" value
="<?php p($form->section) ?>" />
38 <input type
="hidden" name
="module" value
="<?php p($form->module) ?>" />
39 <input type
="hidden" name
="modulename" value
="<?php p($form->modulename) ?>" />
40 <input type
="hidden" name
="instance" value
="<?php p($form->instance) ?>" />
41 <input type
="hidden" name
="mode" value
="<?php p($form->mode) ?>" />
42 <input type
="submit" value
="<?php print_string("savechanges
") ?>" />