init import from old mailr project (http://svn.littlegreen.org/mailr/trunk)
This commit is contained in:
commit
51b79e7298
640 changed files with 34651 additions and 0 deletions
2
public/tiny_mce/plugins/iespell/editor_plugin.js
vendored
Normal file
2
public/tiny_mce/plugins/iespell/editor_plugin.js
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('iespell','cs,el,en,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br');function TinyMCE_iespell_getControlHTML(control_name){if(control_name=="iespell"&&tinyMCE.isMSIE)return '<img id="{$editor_id}_iespell" src="{$pluginurl}/images/iespell.gif" title="{$lang_iespell_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceIESpell\');">';return "";}function TinyMCE_iespell_execCommand(editor_id,element,command,user_interface,value){if(command=="mceIESpell"){try{var ieSpell=new ActiveXObject("ieSpell.ieSpellExtension");ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);}catch(e){if(e.number==-2146827859){if(confirm(tinyMCE.getLang("lang_iespell_download","",true)))window.open('http://www.iespell.com/download.php','ieSpellDownload','');}else alert("Error Loading ieSpell: Exception "+e.number);}return true;}return false;}
|
37
public/tiny_mce/plugins/iespell/editor_plugin_src.js
vendored
Normal file
37
public/tiny_mce/plugins/iespell/editor_plugin_src.js
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
/* Import plugin specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('iespell', 'cs,el,en,fr_ca,it,ko,sv,zh_cn,fr,de,pl,pt_br');
|
||||
|
||||
/**
|
||||
* Returns the HTML contents of the iespell control.
|
||||
*/
|
||||
function TinyMCE_iespell_getControlHTML(control_name) {
|
||||
// Is it the iespell control and is the brower MSIE.
|
||||
if (control_name == "iespell" && tinyMCE.isMSIE)
|
||||
return '<img id="{$editor_id}_iespell" src="{$pluginurl}/images/iespell.gif" title="{$lang_iespell_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.restoreClass(this);" onmousedown="tinyMCE.restoreAndSwitchClass(this,\'mceButtonDown\');" onclick="tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceIESpell\');">';
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceIESpell command.
|
||||
*/
|
||||
function TinyMCE_iespell_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Handle ieSpellCommand
|
||||
if (command == "mceIESpell") {
|
||||
try {
|
||||
var ieSpell = new ActiveXObject("ieSpell.ieSpellExtension");
|
||||
ieSpell.CheckDocumentNode(tinyMCE.getInstanceById(editor_id).contentDocument.documentElement);
|
||||
} catch (e) {
|
||||
if (e.number == -2146827859) {
|
||||
if (confirm(tinyMCE.getLang("lang_iespell_download", "", true)))
|
||||
window.open('http://www.iespell.com/download.php', 'ieSpellDownload', '');
|
||||
} else
|
||||
alert("Error Loading ieSpell: Exception " + e.number);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
}
|
BIN
public/tiny_mce/plugins/iespell/images/iespell.gif
vendored
Normal file
BIN
public/tiny_mce/plugins/iespell/images/iespell.gif
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 B |
4
public/tiny_mce/plugins/iespell/langs/cs.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/cs.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Spustit kontrolu pravopisu';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell nedetekován. Kliknìte na OK a otevøete stahovací stránku."
|
4
public/tiny_mce/plugins/iespell/langs/de.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/de.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// DE lang variables by Tobias Heer
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Rechtschreibprüfung';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell nicht gefunden. Klicken Sie OK um auf die Download Seite zu gelangen."
|
4
public/tiny_mce/plugins/iespell/langs/el.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/el.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// Greek lang variables by Jacaranda Bill
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Ορθογραφικός έλεγχος';
|
||||
tinyMCELang['lang_iespell_download'] = "Το πρόγραμμα ieSpell δεν βρέθηκε. Πατήστε OK για να μεταβείτε στην ιστοσελίδα λήψης του προγράμματος."
|
4
public/tiny_mce/plugins/iespell/langs/en.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/en.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Run spell checking';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell not detected. Click OK to go to download page."
|
4
public/tiny_mce/plugins/iespell/langs/fr.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/fr.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// French lang variables by Laurent Dran
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Executer le vérificateur d\'orthographe';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell n\'a pas été trouvé. Cliquez sur OK pour aller au site de téléchargement."
|
4
public/tiny_mce/plugins/iespell/langs/fr_ca.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/fr_ca.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// CAN_FR lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Executer le vérificateur d\'orthographe';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell n\'a pas été trouvé. Cliquez sur OK pour aller au site de téléchargement.";
|
4
public/tiny_mce/plugins/iespell/langs/it.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/it.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// IT lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Avvia il controllo ortografico';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell non trovato. Clicca OK per andare alla pagina di download."
|
4
public/tiny_mce/plugins/iespell/langs/ko.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/ko.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// KO lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = '맞춤법 검사 실행';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell을 찾을 수 없습니다. OK를 누르면 다운로드 페이지로 이동합니다."
|
4
public/tiny_mce/plugins/iespell/langs/pl.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/pl.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// PL lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Uruchom sprawdzanie pisowni';
|
||||
tinyMCELang['lang_iespell_download'] = "Nie wykryto pluginu, kliknij aby przejść do strony z pluginami."
|
4
public/tiny_mce/plugins/iespell/langs/pt_br.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/pt_br.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// pt_BR lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Executar verificação ortográfica';
|
||||
tinyMCELang['lang_iespell_download'] = "Verificador ieSpell não detectado. Click OK para ir à página de download."
|
4
public/tiny_mce/plugins/iespell/langs/sv.js
vendored
Normal file
4
public/tiny_mce/plugins/iespell/langs/sv.js
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
// SE lang variables
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = 'Kör rättstavningskontroll';
|
||||
tinyMCELang['lang_iespell_download'] = "ieSpell verkar inte vara installerad. Klicka OK för att ladda hem."
|
5
public/tiny_mce/plugins/iespell/langs/zh_cn.js
vendored
Normal file
5
public/tiny_mce/plugins/iespell/langs/zh_cn.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com)
|
||||
//请访问 http://www.cube316.net/ 以获取TinyMCE的中文支持
|
||||
|
||||
tinyMCELang['lang_iespell_desc'] = '运行拼写检查';
|
||||
tinyMCELang['lang_iespell_download'] = "未检测到ieSpell拼写检查,点击 OK 前往下载页面。"
|
20
public/tiny_mce/plugins/iespell/readme.txt
vendored
Normal file
20
public/tiny_mce/plugins/iespell/readme.txt
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
ieSpell plugin for TinyMCE
|
||||
----------------------------
|
||||
|
||||
Installation instructions:
|
||||
* Copy the iespell directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
|
||||
* Add plugin to TinyMCE plugin option list example: plugins : "iespell".
|
||||
* Add the iespell button name to button list, example: theme_advanced_buttons3_add : "iespell".
|
||||
|
||||
Initialization example:
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "iespell",
|
||||
theme_advanced_buttons3_add : "iespell"
|
||||
});
|
||||
|
||||
Requirements:
|
||||
The end user will need MSIE on Windows with the ieSpell installed. This can be downloaded
|
||||
from http://www.iespell.com/download.php. Notice on other browsers than MSIE the spellchecking
|
||||
button will not be visible.
|
Loading…
Add table
Add a link
Reference in a new issue