2005-01-29 03:55:29 +00:00
|
|
|
<?php $usehtmleditor = can_use_html_editor(); ?>
|
2005-01-29 03:48:45 +00:00
|
|
|
<table cellpadding="9" cellspacing="0">
|
|
|
|
<tr valign="top">
|
2005-02-08 18:33:08 +00:00
|
|
|
<td align="right"><?php print_string('configtitle', 'block_html'); ?>:</td>
|
2006-07-23 22:05:18 +00:00
|
|
|
<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>
|
2005-01-29 03:48:45 +00:00
|
|
|
</tr>
|
|
|
|
<tr valign="top">
|
2005-02-08 18:33:08 +00:00
|
|
|
<td align="right"><?php print_string('configcontent', 'block_html'); ?>:</td>
|
2005-01-29 04:04:28 +00:00
|
|
|
<td><?php print_textarea($usehtmleditor, 25, 50, 0, 0, 'text', isset($this->config->text)?$this->config->text:'') ?></td>
|
2005-01-29 03:48:45 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="3" align="center">
|
|
|
|
<input type="submit" value="<?php print_string('savechanges') ?>" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
2005-01-29 03:55:29 +00:00
|
|
|
<?php if ($usehtmleditor) {
|
|
|
|
use_html_editor();
|
|
|
|
}
|
|
|
|
?>
|