From: moodler Date: Fri, 17 Sep 2004 03:54:38 +0000 (+0000) Subject: Merged moving of spellcheck button X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cb4be1c7dc18cc12ee3ff9a6058c6fda858144b8;p=moodle.git Merged moving of spellcheck button --- diff --git a/lib/editor/htmlarea.php b/lib/editor/htmlarea.php index d6392c43e4..5741678be6 100644 --- a/lib/editor/htmlarea.php +++ b/lib/editor/htmlarea.php @@ -145,10 +145,11 @@ HTMLArea.Config = function () { "insertorderedlist", "insertunorderedlist", "outdent", "indent", "separator", "forecolor", "hilitecolor", "separator", "inserthorizontalrule", "createanchor", "createlink", "unlink", "insertimage", "inserttable", - "insertsmile", "insertchar", "separator", "htmlmode", "separator", "popupeditor"aspellpath) && !empty($CFG->editorspelling)) { - echo ",\"spellcheck\""; - }?> ] + "insertsmile", "insertchar", + aspellpath) && !empty($CFG->editorspelling)) { + echo '"separator","spellcheck",'; + } ?> + "separator", "htmlmode", "separator", "popupeditor"] ]; this.fontname = { @@ -225,10 +226,10 @@ HTMLArea.Config = function () { clean: [ "Clean Word HTML", "ed_wordclean.gif", false, function(e) {e.execCommand("killword"); }], lefttoright: [ "Direction left to right", "ed_left_to_right.gif", false, function(e) {e.execCommand("lefttoright");} ], righttoleft: [ "Direction right to left", "ed_right_to_left.gif", false, function(e) {e.execCommand("righttoleft");} ], - insertsmile: ["Insert Smiley", "em.icon.smile.gif", false, function(e) {e.execCommand("insertsmile");} ], - aspellpath) && !empty($CFG->editorspelling)) { - echo "spellcheck: [\"Spell-check\", \"spell-check.gif\", false, spellClickHandler ],\n"; + aspellpath) && !empty($CFG->editorspelling)) { + echo 'spellcheck: ["Spell-check", "spell-check.gif", false, spellClickHandler ],'."\n"; }?> + insertsmile: ["Insert Smiley", "em.icon.smile.gif", false, function(e) {e.execCommand("insertsmile");} ], insertchar: [ "Insert Char", "icon_ins_char.gif", false, function(e) {e.execCommand("insertchar");} ] };