upgrading to tinymce 1.45

This commit is contained in:
JT Smith 2005-08-05 19:49:15 +00:00
parent c287ab8a3e
commit c351096b73
196 changed files with 3608 additions and 1636 deletions

View file

@ -1,2 +1,2 @@
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('emotions','en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl');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;}
tinyMCE.importPluginLanguagePack('emotions','en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl');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\');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;}

View file

@ -1,5 +1,5 @@
/* Import plugin specific language pack */
tinyMCE.importPluginLanguagePack('emotions', 'en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl');
tinyMCE.importPluginLanguagePack('emotions', 'en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl,pt_br,nl');
/**
* Returns the HTML contents of the emotions control.
@ -7,7 +7,7 @@ tinyMCE.importPluginLanguagePack('emotions', 'en,sv,zh_cn,cs,fa,fr_ca,fr,de,pl')
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 '<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\');tinyMCE.execInstanceCommand(\'{$editor_id}\',\'mceEmotion\');">';
}
return "";

View file

@ -11,7 +11,7 @@
}
</script>
</head>
<body onload="window.focus();">
<body onload="">
<div align="center">
<div class="title">{$lang_insert_emotions_title}:<br /><br /></div>
<table border="0" cellspacing="0" cellpadding="4">

View file

@ -1,4 +1,4 @@
// CAN_FR lang variables
// Canadian French lang variables by Virtuelcom last modification: 2005-06-15
tinyMCELang['lang_insert_emotions_title'] = 'Insérer un émoticon';
tinyMCELang['lang_emotions_desc'] = 'Émoticons';

View file

@ -0,0 +1,4 @@
// NL lang variables
tinyMCELang['lang_insert_emotions_title'] = 'Emotion invoegen';
tinyMCELang['lang_emotions_desc'] = 'Smilie';

View file

@ -0,0 +1,5 @@
// pt_BR lang variables
tinyMCELang['lang_insert_emotions_title'] = 'Inserir Emoticon';
tinyMCELang['lang_emotions_desc'] = 'Emoticons';

View file

@ -1,4 +1,5 @@
// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
// Simplified Chinese lang variables contributed by cube316 (cube316@gmail.com)
//请访问 http://www.cube316.net/ 以获取TinyMCE的中文支持
tinyMCELang['lang_insert_emotions_title'] = '²åÈë±íÇé';
tinyMCELang['lang_emotions_desc'] = '񡀂';

View file

@ -1,20 +1 @@
Emotions plugin for TinyMCE
------------------------------
Installation instructions:
* Copy the emotions directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
* Add plugin to TinyMCE plugin option list example: plugins : "emotions".
* Add the emotions button name to button list, example: theme_advanced_buttons3_add : "emotions".
Initialization example:
tinyMCE.init({
theme : "advanced",
mode : "textareas",
plugins : "emotions",
theme_advanced_buttons3_add : "emotions"
});
Copyright notice:
These emotions where taken from Mozilla Thunderbird.
I hope they don't get angry if I use them here after all this is a open source project
aswell and I realy love their product.
Check the TinyMCE documentation for details on this plugin.