if htmleditor is on, only show html format

This commit is contained in:
toyomoyo 2006-03-16 08:32:29 +00:00
parent 3d624b9831
commit a093387b92

View File

@ -146,7 +146,12 @@
<td align="right"><strong><?php print_string('formattexttype'); ?>:</strong></td>
<td colspan="2">
<?php
choose_from_menu(format_text_menu(), 'format', $post->format, '');
if ($usehtmleditor) { /// Trying this out for a while
print_string('formathtml');
echo '<input type="hidden" name="format" value="'.FORMAT_HTML.'" />';
} else {
choose_from_menu(format_text_menu(), "format", $post->format, "");
}
?>
<small><small>
<?php