MDL-10496:
[moodle-linuxchix.git] / blocks / html / config_instance.html
blob8138488d02646602c616479225f7b0faca92e7f7
1 <?php $usehtmleditor = can_use_html_editor(); ?>
2 <table cellpadding="9" cellspacing="0">
3 <tr valign="top">
4 <td align="right"><?php print_string('configtitle', 'block_html'); ?>:</td>
5 <td><input type="text" name="title" size="30" value="<?php echo isset($this->config->title)?p($this->config->title):''; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td>
6 </tr>
7 <tr valign="top">
8 <td align="right"><?php print_string('configcontent', 'block_html'); ?>:</td>
9 <td><?php print_textarea($usehtmleditor, 25, 50, 0, 0, 'text', isset($this->config->text)?$this->config->text:'') ?></td>
10 </tr>
11 <tr>
12 <td colspan="3" align="center">
13 <input type="submit" value="<?php print_string('savechanges') ?>" /></td>
14 </tr>
15 </table>
16 <?php if ($usehtmleditor) {
17 use_html_editor();