Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit df2898fe3bd6f317d7e3846a6a48300b92e5f8f3 1 parent 09aebc9
moodler authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  user/edit.html
View
2  user/edit.html
@@ -61,6 +61,7 @@
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 @@
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) ?>">
Please sign in to comment.
Something went wrong with that request. Please try again.