From 906f98bd0c8c7928216fd68962e79fda0abc3720 Mon Sep 17 00:00:00 2001 From: julmis Date: Sat, 4 Mar 2006 16:55:24 +0000 Subject: [PATCH] Adding tinymce editor choice. --- user/edit.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/user/edit.html b/user/edit.html index 65fdebaddca..82ce3cc2c5d 100644 --- a/user/edit.html +++ b/user/edit.html @@ -44,7 +44,7 @@ if (isadmin()) { $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 ''; echo ''.get_string("chooseauthmethod","auth").':' . "\n"; @@ -76,10 +76,10 @@ if (isadmin()) { } echo ''; echo ''.get_string('forcepasswordchange').':'; - echo ' '.get_string('forcepasswordchangehelp').''; + echo ' '.get_string('forcepasswordchangehelp').''; echo ''; } - + echo '
'; } } @@ -189,6 +189,7 @@ if (isadmin()) { unset($choices); $choices["0"] = get_string("texteditor"); $choices["1"] = get_string("htmleditor"); + $choices["2"] = get_string("tinymceeditor"); choose_from_menu ($choices, "htmleditor", $user->htmleditor, "") ?> @@ -203,7 +204,7 @@ if (isadmin()) { : - country and $CFG->country) { $user->country = $CFG->country; @@ -242,7 +243,7 @@ if (isadmin()) { allowuserthemes)) { ?> : - theme, "", "", ""); @@ -253,7 +254,7 @@ if (isadmin()) { : - "; @@ -291,7 +292,7 @@ if (isadmin()) { : - 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 @@ if (isadmin()) { : - wwwroot/$CFG->admin/config.php\">"; print_string('gdnot'); echo "";