mirror of
https://github.com/moodle/moodle.git
synced 2025-02-11 19:16:23 +01:00
These are the changes from MOODLE_13_STABLE, merged into trunk The tag MOODLE_13_MERGED on the MOODLE_13_STABLE branch now refers to this point The biggest changes here are the fixes for HTML editor in all standard modules
41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
<!-- This page defines the form to create or edit an instance of this module -->
|
|
<!-- It is used from /course/mod.php. The whole instance is available as $form. -->
|
|
|
|
<form name="form" method="post" action="mod.php">
|
|
<center>
|
|
<table cellpadding=5>
|
|
<tr valign=top>
|
|
<td align=right><p><b><?php print_string("labeltext", "label") ?>:</b></p>
|
|
<font size="1">
|
|
<?php
|
|
helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
|
|
echo "<br />";
|
|
if ($usehtmleditor) {
|
|
helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
|
|
} else {
|
|
emoticonhelpbutton("form", "description");
|
|
}
|
|
?>
|
|
<br />
|
|
</font>
|
|
</td>
|
|
<td>
|
|
<?php
|
|
print_textarea($usehtmleditor, 20, 60, 680, 400, "content", $form->content);
|
|
?>
|
|
</td>
|
|
</tr>
|
|
|
|
</table>
|
|
<!-- these hidden variables are always the same -->
|
|
<input type="hidden" name=course value="<?php p($form->course) ?>">
|
|
<input type="hidden" name=coursemodule value="<?php p($form->coursemodule) ?>">
|
|
<input type="hidden" name=section value="<?php p($form->section) ?>">
|
|
<input type="hidden" name=module value="<?php p($form->module) ?>">
|
|
<input type="hidden" name=modulename value="<?php p($form->modulename) ?>">
|
|
<input type="hidden" name=instance value="<?php p($form->instance) ?>">
|
|
<input type="hidden" name=mode value="<?php p($form->mode) ?>">
|
|
<input type="submit" value="<?php print_string("savechanges") ?>">
|
|
</center>
|
|
</form>
|