%PDF-1.5 % ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY
Server IP : 122.155.17.190 / Your IP : 3.15.7.155 Web Server : Apache/2 System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 User : bungkla ( 1054) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/bungkla/public_html/admin/plugins/SpellChecker/ |
Upload File : |
// Spell Checker Plugin for HTMLArea-3.0 // Implementation by Mihai Bazon. Sponsored by www.americanbible.org // // htmlArea v3.0 - Copyright (c) 2002 interactivetools.com, inc. // This notice MUST stay intact for use (see license.txt). // // A free WYSIWYG editor replacement for <textarea> fields. // For full source code and docs, visit http://www.interactivetools.com/ // // Version 3.0 developed by Mihai Bazon for InteractiveTools. // http://students.infoiasi.ro/~mishoo // // $Id: spell-checker.js,v 1.2 2003/08/10 15:56:35 mishoo Exp $ function SpellChecker(editor) { this.editor = editor; var cfg = editor.config; var tt = SpellChecker.I18N; var bl = SpellChecker.btnList; var self = this; // register the toolbar buttons provided by this plugin var toolbar = []; for (var i in bl) { var btn = bl[i]; if (!btn) { toolbar.push("separator"); } else { var id = "SC-" + btn[0]; cfg.registerButton(id, tt[id], "plugins/SpellChecker/img/" + btn[0] + ".gif", false, function(editor, id) { // dispatch button press event self.buttonPress(editor, id); }, btn[1]); toolbar.push(id); } } for (var i in toolbar) { cfg.toolbar[0].push(toolbar[i]); } }; SpellChecker.btnList = [ null, // separator ["spell-check"] ]; SpellChecker.prototype.buttonPress = function(editor, id) { switch (id) { case "SC-spell-check": SpellChecker.editor = editor; SpellChecker.init = true; var uiurl = editor.config.editorURL + "plugins/SpellChecker/spell-check-ui.html"; var win; if (HTMLArea.is_ie) { win = window.open(uiurl, "SC_spell_checker", "toolbar=no,location=no,directories=no,status=no,menubar=no," + "scrollbars=no,resizable=yes,width=600,height=400"); } else { win = window.open(uiurl, "SC_spell_checker", "toolbar=no,menubar=no,personalbar=no,width=600,height=400," + "scrollbars=no,resizable=yes"); } win.focus(); break; } }; // this needs to be global, it's accessed from spell-check-ui.html SpellChecker.editor = null;