Permalink
Browse files

Adding tinymce editor choice.

  • Loading branch information...
1 parent e1ecf0a commit 906f98bd0c8c7928216fd68962e79fda0abc3720 julmis committed Mar 4, 2006
Showing with 9 additions and 8 deletions.
  1. +9 −8 user/edit.html
View
@@ -44,7 +44,7 @@
$auth_options = array();
foreach ($modules as $module) {
$auth_options[$module] = get_string("auth_$module"."title", "auth");
- }
+ }
if (!$adminself) { /// Main admin is ALWAYS default manual
echo '<tr>';
echo '<th>'.get_string("chooseauthmethod","auth").':</th>' . "\n<td>";
@@ -76,10 +76,10 @@
}
echo '<tr>';
echo '<th>'.get_string('forcepasswordchange').':</th>';
- echo '<td><input type="checkbox" name="forcepasswordchange" alt="'.get_string('forcepasswordchange').'" '.$checked.' /> '.get_string('forcepasswordchangehelp').'</td>';
+ echo '<td><input type="checkbox" name="forcepasswordchange" alt="'.get_string('forcepasswordchange').'" '.$checked.' /> '.get_string('forcepasswordchangehelp').'</td>';
echo '</tr>';
}
-
+
echo '<tr><td colspan="2"><hr /></td></tr>';
}
}
@@ -189,6 +189,7 @@
unset($choices);
$choices["0"] = get_string("texteditor");
$choices["1"] = get_string("htmleditor");
+ $choices["2"] = get_string("tinymceeditor");
choose_from_menu ($choices, "htmleditor", $user->htmleditor, "") ?>
</td>
</tr>
@@ -203,7 +204,7 @@
<tr>
<th><?php print_string("country") ?>:</th>
<td>
- <?php
+ <?php
if (!$user->country and $CFG->country) {
$user->country = $CFG->country;
@@ -242,7 +243,7 @@
<?php if (!empty($CFG->allowuserthemes)) { ?>
<tr>
<th><?php print_string("preferredtheme") ?>:</th>
- <td><?php
+ <td><?php
$themes[''] = get_string('default');
$themes += get_list_of_themes();
choose_from_menu($themes, 'theme', $user->theme, "", "", "");
@@ -253,7 +254,7 @@
<?php } ?>
<tr>
<th><?php print_string("userdescription") ?>:</th>
- <td><?php
+ <td><?php
if (isset($err["description"])) {
formerr($err["description"]);
echo "<br />";
@@ -291,7 +292,7 @@
<tr>
<th><?php print_string("newpicture") ?>:</th>
<td>
- <?php
+ <?php
require_once($CFG->dirroot.'/lib/uploadlib.php');
upload_print_form_fragment(1,array('imagefile'),null,false,null,0,0,false);
helpbutton("picture", get_string("helppicture"));
@@ -304,7 +305,7 @@
<tr>
<th><?php print_string("newpicture") ?>:</th>
<td>
- <?php
+ <?php
echo "<a href=\"$CFG->wwwroot/$CFG->admin/config.php\">";
print_string('gdnot');
echo "</a>";

0 comments on commit 906f98b

Please sign in to comment.