Bumped to 1.7.6
[moodle.git] / mod / label / mod.html
blobe67856f7ebd1df50d2aab83ded3688c83a567260
1 <?php
2 if (!isset($form->content)) {
3 $form->content = '';
5 ?>
7 <form name="form" method="post" action="mod.php">
8 <center>
9 <table cellpadding="5">
10 <tr valign="top">
11 <td align="right"><p><b><?php print_string("labeltext", "label") ?>:</b></p>
12 <font size="1">
13 <?php
14 helpbutton("writing", get_string("helpwriting"), "moodle", true, true);
15 echo "<br />";
16 if ($usehtmleditor) {
17 helpbutton("richtext", get_string("helprichtext"), "moodle", true, true);
18 } else {
19 emoticonhelpbutton("form", "description");
22 <br />
23 </font>
24 </td>
25 <td>
26 <?php
27 print_textarea($usehtmleditor, 20, 60, 680, 400, "content", $form->content);
29 </td>
30 </tr>
31 <?php print_visible_setting($form); ?>
32 </table>
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") ?>" />
43 </center>
44 </form>