more tinymce stuff

This commit is contained in:
JT Smith 2005-12-05 15:44:37 +00:00
parent 5a60010a6f
commit b19f4cf952
468 changed files with 11635 additions and 0 deletions

View file

@ -0,0 +1 @@
tinyMCE.importPluginLanguagePack('save','en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,da,es,cy,is,zh_tw,zh_tw_utf8,sk');function TinyMCE_save_getInfo(){return{longname:'Save',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};};function TinyMCE_save_getControlHTML(control_name){switch(control_name){case "save":var cmd='tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSave\');return false;';return '<a href="javascript:'+cmd+'" onclick="'+cmd+'" target="_self" onmousedown="return false;"><img id="{$editor_id}_save" src="{$pluginurl}/images/save.gif" title="{$lang_save_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.switchClass(this,\'mceButtonNormal\');" onmousedown="tinyMCE.switchClass(this,\'mceButtonDown\');" /></a>';}return "";}function TinyMCE_save_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceSave":var formObj=tinyMCE.selectedInstance.formElement.form;if(formObj){tinyMCE.triggerSave();for(var i=0;i<formObj.elements.length;i++){var elementId=formObj.elements[i].name?formObj.elements[i].name:formObj.elements[i].id;if(elementId.indexOf('mce_editor_')==0)formObj.elements[i].disabled=true;}tinyMCE.isNotDirty=true;if(formObj.onsubmit==null||formObj.onsubmit()!=false)tinyMCE.selectedInstance.formElement.form.submit();}else alert("Error: No form element found.");return true;}return false;}

View file

@ -0,0 +1,58 @@
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('save', 'en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,da,es,cy,is,zh_tw,zh_tw_utf8,sk');
function TinyMCE_save_getInfo() {
return {
longname : 'Save',
author : 'Moxiecode Systems',
authorurl : 'http://tinymce.moxiecode.com',
infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_save.html',
version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
};
};
/**
* Returns the HTML contents of the save control.
*/
function TinyMCE_save_getControlHTML(control_name) {
switch (control_name) {
case "save":
var cmd = 'tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceSave\');return false;';
return '<a href="javascript:' + cmd + '" onclick="' + cmd + '" target="_self" onmousedown="return false;"><img id="{$editor_id}_save" src="{$pluginurl}/images/save.gif" title="{$lang_save_desc}" width="20" height="20" class="mceButtonNormal" onmouseover="tinyMCE.switchClass(this,\'mceButtonOver\');" onmouseout="tinyMCE.switchClass(this,\'mceButtonNormal\');" onmousedown="tinyMCE.switchClass(this,\'mceButtonDown\');" /></a>';
}
return "";
}
/**
* Executes the save command.
*/
function TinyMCE_save_execCommand(editor_id, element, command, user_interface, value) {
// Handle commands
switch (command) {
case "mceSave":
var formObj = tinyMCE.selectedInstance.formElement.form;
if (formObj) {
tinyMCE.triggerSave();
// Disable all UI form elements that TinyMCE created
for (var i=0; i<formObj.elements.length; i++) {
var elementId = formObj.elements[i].name ? formObj.elements[i].name : formObj.elements[i].id;
if (elementId.indexOf('mce_editor_') == 0)
formObj.elements[i].disabled = true;
}
tinyMCE.isNotDirty = true;
if (formObj.onsubmit == null || formObj.onsubmit() != false)
tinyMCE.selectedInstance.formElement.form.submit();
} else
alert("Error: No form element found.");
return true;
}
// Pass to next handler in chain
return false;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

View file

@ -0,0 +1,11 @@
/**
* Czech lang variables
* encoding: utf-8
*
* $Id: cs.js,v 1.4 2005/10/18 13:59:43 spocke Exp $
*/
tinyMCE.addToLang('',{
save_desc : 'Uložit'
});

View file

@ -0,0 +1,5 @@
// UK lang variables
tinyMCE.addToLang('',{
save_desc : 'Cadw'
});

View file

@ -0,0 +1,5 @@
// DK lang variables contributed by Jan Moelgaard
tinyMCE.addToLang('',{
save_desc : 'Gem'
});

View file

@ -0,0 +1,5 @@
// DE lang variables
tinyMCE.addToLang('',{
save_desc : 'Speichern'
});

View file

@ -0,0 +1,5 @@
// UK lang variables
tinyMCE.addToLang('',{
save_desc : 'Save'
});

View file

@ -0,0 +1,7 @@
// ES lang variables by Alvaro Velasco and Adolfo Sanz De Diego (asanzdiego) <asanzdiego@yahoo.es>
// Last Updated : October 2005
// TinyMCE Version : 2.0RC3
tinyMCE.addToLang('',{
save_desc : 'Salvar'
});

View file

@ -0,0 +1,11 @@
// IR lang variables
// Persian (Farsi) language pack (for IRAN)
// By: Morteza Zafari
// Lost@LostLord.com
// http://www.LostLord.com
tinyMCE.addToLang('',{
dir : 'rtl',
save_desc : '???'
});

View file

@ -0,0 +1,5 @@
// FI lang variables by Tuomo Aura, Ateco.fi
tinyMCE.addToLang('',{
save_desc : 'Tallenna'
});

View file

@ -0,0 +1,6 @@
// French lang variables by Laurent Dran
// Modifié par Normand Lamoureux le 2005-11-12
tinyMCE.addToLang('',{
save_desc : 'Enregistrer'
});

View file

@ -0,0 +1,6 @@
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
tinyMCE.addToLang('',{
save_desc : 'Enregistrer'
});
,

View file

@ -0,0 +1,5 @@
// HE lang variables by Liron Newman, http://eesh.net
tinyMCE.addToLang('',{
save_desc : 'ùîåø'
});

View file

@ -0,0 +1,5 @@
// HU lang variables
tinyMCE.addToLang('',{
save_desc : 'Mentés'
});

View file

@ -0,0 +1,5 @@
// Iceland lang variables by Johannes Birgir Jensson
tinyMCE.addToLang('',{
save_desc : 'Vista'
});

View file

@ -0,0 +1,5 @@
// nb = Norwegian (bokm&aring;l) lang variables by Knut B. Jacobsen
tinyMCE.addToLang('save',{
desc : 'Lagre'
});

View file

@ -0,0 +1,5 @@
// UK lang variables
tinyMCE.addToLang('',{
save_desc : 'Opslaan'
});

View file

@ -0,0 +1,5 @@
// nn = Norwegian (nynorsk) lang variables by Knut B. Jacobsen
tinyMCE.addToLang('save',{
desc : 'Lagre'
});

View file

@ -0,0 +1,5 @@
// PL lang variables
tinyMCE.addToLang('',{
save_desc : 'Zachowaj'
});

View file

@ -0,0 +1,13 @@
/**
* pt_br lang variables
* Brazilian Portuguese
*
* Authors : ????
* Revision and modifications:
* Marcio Barbosa (mpg) <mpg@mpg.com.br>
* Last Updated : November 26, 2005
* TinyMCE Version : 2.0RC4
*/
tinyMCE.addToLang('',{
save_desc : 'Salvar'
});

View file

@ -0,0 +1,5 @@
// RU lang variables cp1251
tinyMCE.addToLang('',{
save_desc : 'Ñîõðàíèòü'
});

View file

@ -0,0 +1,5 @@
// RU lang variables KOI8-R
tinyMCE.addToLang('',{
save_desc : 'óÏÈÒÁÎÉÔØ'
});

View file

@ -0,0 +1,5 @@
// RU lang variables UTF-8
tinyMCE.addToLang('',{
save_desc : 'Сохранить'
});

View file

@ -0,0 +1,13 @@
/**
* Slovak lang variables
* encoding: utf-8
*
* @author Vladimir VASIL vvasil@post.sk
*
* $Id: sk.js,v 1.1 2005/11/22 20:56:44 spocke Exp $
*/
tinyMCE.addToLang('',{
save_desc : 'Uložiť'
});

View file

@ -0,0 +1,5 @@
// SV lang variables
tinyMCE.addToLang('save',{
desc : 'Spara'
});

View file

@ -0,0 +1,7 @@
// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com)
//Çë·ÃÎÊ http://www.cube316.net/ ÒÔ»ñÈ¡TinyMCEµ&Auml;&Ouml;ÐÎ&Auml;&Ouml;§³&Ouml;
tinyMCE.addToLang('',{
save_desc : '±£´æ'
});

View file

@ -0,0 +1,6 @@
// Traditional Chinese BIG-5; Twapweb Site translated; twapweb_AT_gmail_DOT_com
// 繁體中文 BIG-5 ;數位應用坊製作; twapweb_AT_gmail_DOT_com
tinyMCE.addToLang('',{
save_desc : '存檔'
});

View file

@ -0,0 +1,6 @@
// Traditional Chinese UTF-8; Twapweb Site translated; twapweb_AT_gmail_DOT_com
// 繁體中文 UTF-8 ;數位應用坊製作; twapweb_AT_gmail_DOT_com
tinyMCE.addToLang('',{
save_desc : '存檔'
});

View file

@ -0,0 +1 @@
Check the TinyMCE documentation for details on this plugin.