Don't show htmleditor preference if it's disabled by admin

This commit is contained in:
moodler
2002-10-16 04:52:57 +00:00
parent 09aebc9468
commit df2898fe3b
+2
View File
@@ -61,6 +61,7 @@ if (isadmin()) {
choose_from_menu ($choices, "mailformat", $user->mailformat, "") ?>
</td>
</tr>
<? if ($CFG->htmleditor) { ?>
<tr valign=top>
<td><P><? print_string("textediting") ?>:</td>
<td><?
@@ -70,6 +71,7 @@ if (isadmin()) {
choose_from_menu ($choices, "htmleditor", $user->htmleditor, "") ?>
</td>
</tr>
<? } ?>
<tr valign=top>
<td><P><? print_string("city") ?>:</td>
<td><input type="text" name="city" size=25 value="<? p($user->city) ?>">