When using the HTML editor, don't provide format options

This commit is contained in:
moodler
2004-01-16 06:42:46 +00:00
parent 359c9742df
commit b78eabdcdd
+7 -7
View File
@@ -39,22 +39,22 @@
<tr valign=top>
<td align=right><p><b><?php print_string("formattexttype"); ?>:</b></p></td>
<td>
<?php
choose_from_menu(format_text_menu(), "format", $post->format, "");
?>
<font SIZE="1">
<?php
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, "");
}
helpbutton("textformat", get_string("helpformatting"));
?>
</font>
</td>
</tr>
<tr valign=top>
<td align=right><p><b><?php print_string("subscription", "forum") ?>:</b></p></td>
<td>