updating tinymce to 1.41
This commit is contained in:
parent
dc1721d1ef
commit
bd48711603
125 changed files with 5524 additions and 3444 deletions
|
|
@ -1,36 +1,2 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('emotions', 'uk,se');
|
||||
|
||||
/**
|
||||
* Returns the HTML contents of the emotions control.
|
||||
*/
|
||||
function TinyMCE_emotions_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "emotions":
|
||||
return '<img id="{$editor_id}_emotions" src="{$pluginurl}/images/emotions.gif" title="{$lang_emotions_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}\',\'mceEmotion\');">';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceEmotion command.
|
||||
*/
|
||||
function TinyMCE_emotions_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Handle commands
|
||||
switch (command) {
|
||||
case "mceEmotion":
|
||||
var template = new Array();
|
||||
|
||||
template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme
|
||||
template['width'] = 150;
|
||||
template['height'] = 180;
|
||||
|
||||
tinyMCE.openWindow(template, {editor_id : editor_id});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
}
|
||||
tinyMCE.importPluginLanguagePack('emotions','en,sv,zh_cn,cs');function TinyMCE_emotions_getControlHTML(control_name){switch(control_name){case "emotions":return '<img id="{$editor_id}_emotions" src="{$pluginurl}/images/emotions.gif" title="{$lang_emotions_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}\',\'mceEmotion\');">';}return "";}function TinyMCE_emotions_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceEmotion":var template=new Array();template['file']='../../plugins/emotions/emotions.htm';template['width']=150;template['height']=180;tinyMCE.openWindow(template,{editor_id:editor_id});return true;}return false;}
|
||||
36
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js
vendored
Normal file
36
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js
vendored
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('emotions', 'en,sv,zh_cn,cs');
|
||||
|
||||
/**
|
||||
* Returns the HTML contents of the emotions control.
|
||||
*/
|
||||
function TinyMCE_emotions_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
case "emotions":
|
||||
return '<img id="{$editor_id}_emotions" src="{$pluginurl}/images/emotions.gif" title="{$lang_emotions_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}\',\'mceEmotion\');">';
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
/**
|
||||
* Executes the mceEmotion command.
|
||||
*/
|
||||
function TinyMCE_emotions_execCommand(editor_id, element, command, user_interface, value) {
|
||||
// Handle commands
|
||||
switch (command) {
|
||||
case "mceEmotion":
|
||||
var template = new Array();
|
||||
|
||||
template['file'] = '../../plugins/emotions/emotions.htm'; // Relative to theme
|
||||
template['width'] = 150;
|
||||
template['height'] = 180;
|
||||
|
||||
tinyMCE.openWindow(template, {editor_id : editor_id});
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
// Pass to next handler in chain
|
||||
return false;
|
||||
}
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/cs.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_insert_emotions_title'] = 'Vložit emotikon';
|
||||
tinyMCELang['lang_emotions_desc'] = 'Emotikony';
|
||||
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en.js
vendored
Normal file
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// UK lang variables
|
||||
|
||||
tinyMCELang['lang_insert_emotions_title'] = 'Insert emotion';
|
||||
tinyMCELang['lang_emotions_desc'] = 'Emotions';
|
||||
|
||||
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_ca.js
vendored
Normal file
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/fr_ca.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// CAN_FR lang variables
|
||||
|
||||
tinyMCELang['lang_insert_emotions_title'] = 'Insèrer un émoticon';
|
||||
tinyMCELang['lang_emotions_desc'] = 'Émoticons';
|
||||
|
||||
4
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv.js
vendored
Normal file
4
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/sv.js
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
// SE lang variables
|
||||
|
||||
tinyMCELang['lang_insert_emotions_title'] = 'Klistain kännsla';
|
||||
tinyMCELang['lang_emotions_desc'] = 'Kännslor';
|
||||
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_cn.js
vendored
Normal file
5
www/extras/tinymce/jscripts/tiny_mce/plugins/emotions/langs/zh_cn.js
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
|
||||
|
||||
tinyMCELang['lang_insert_emotions_title'] = '²åÈë±íÇé';
|
||||
tinyMCELang['lang_emotions_desc'] = '񡀂';
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue