File: edit.html

package info (click to toggle)
moodle 1.6.3-2%2Betch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 37,172 kB
  • ctags: 51,688
  • sloc: php: 231,916; sql: 5,631; xml: 2,688; sh: 1,185; perl: 638; makefile: 48; pascal: 36
file content (34 lines) | stat: -rw-r--r-- 1,213 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<form name="theform" method="post" action="edit.php">
<table cellpadding="10" cellspacing="0" class="generalbox">
  <tr><td align="right">
     <?php
        helpbutton('reading', get_string('helpreading'), 'moodle', true, true);
        echo '<br />';
        helpbutton('writing', get_string('helpwriting'), 'moodle', true, true);
        echo '<br />';
        if ($usehtmleditor) {
           helpbutton('richtext', get_string('helprichtext'), 'moodle', true, true);
        } else {
           emoticonhelpbutton('theform', 'text');
        } 
        echo '<br />';
      ?>
</td></tr>
<tr><td align="center">
<?php  print_textarea($usehtmleditor, 20, 60, 630, 400, "text", $entry->text); ?>
</td></tr>
<tr><td align="center">
<?php
   print_string('formattexttype');
   echo ':&nbsp;';
   choose_from_menu(format_text_menu(), 'format', $entry->format, '');
   helpbutton('textformat', get_string('helpformatting'));
?>
</td></tr>
<tr><td align="center" class="generalboxcontent">
<input type="hidden" name="id" value="<?php echo $cm->id ?>" />
<input type="submit" value="<?php  print_string('savechanges') ?>" />
<input type="reset" value="<?php  print_string('revert') ?>" />
</td></tr></table>
</form>