mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
if htmleditor is on, only show html format
This commit is contained in:
parent
3d624b9831
commit
a093387b92
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user