mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
moodler
committed
Jan 29, 2005
1 parent
86db09e
commit 63689c5
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,15 +1,19 @@ | |||
<?php $usehtmleditor = can_use_html_editor(); ?> | |||
<table cellpadding="9" cellspacing="0"> | <table cellpadding="9" cellspacing="0"> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td align="right"><p><?php print_string('configtitle', 'block_html'); ?>:</td> | <td align="right"><p><?php print_string('configtitle', 'block_html'); ?>:</td> | ||
<td><input type="text" name="title" size="30" value="<?php echo $this->config->title; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td> | <td><input type="text" name="title" size="30" value="<?php echo $this->config->title; ?>" /> (<?php print_string('leaveblanktohide', 'block_html'); ?>)</td> | ||
</tr> | </tr> | ||
<tr valign="top"> | <tr valign="top"> | ||
<td align="right"><p><?php print_string('configcontent', 'block_html'); ?>:</td> | <td align="right"><p><?php print_string('configcontent', 'block_html'); ?>:</td> | ||
<td><?php print_textarea(true, 10, 50, 0, 0, 'text', $this->config->text); ?></td> | <td><?php print_textarea($usehtmleditor, 10, 50, 0, 0, 'text', isset($this->config->text)?$this->config->text:'') ?></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td colspan="3" align="center"> | <td colspan="3" align="center"> | ||
<input type="submit" value="<?php print_string('savechanges') ?>" /></td> | <input type="submit" value="<?php print_string('savechanges') ?>" /></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<?php use_html_editor(); ?> | <?php if ($usehtmleditor) { | ||
use_html_editor(); | |||
} | |||
?> |