updating tinymce to 1.43 and fixed some bugs
This commit is contained in:
parent
98dc54e16d
commit
914f29b169
209 changed files with 2183 additions and 1506 deletions
|
|
@ -1,2 +1,2 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn');function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return '<img id="{$editor_id}_print" src="{$pluginurl}/images/print.gif" title="{$lang_print_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}\',\'mcePrint\',true);" />';}return "";}function TinyMCE_print_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;}
|
||||
tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn,fa,fr_ca,fr,de');function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return '<img id="{$editor_id}_print" src="{$pluginurl}/images/print.gif" title="{$lang_print_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}\',\'mcePrint\',true);" />';}return "";}function TinyMCE_print_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePrint":tinyMCE.getInstanceById(editor_id).contentWindow.print();return true;}return false;}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/* Import theme specific language pack */
|
||||
tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn');
|
||||
tinyMCE.importPluginLanguagePack('print', 'en,sv,zh_cn,fa,fr_ca,fr,de');
|
||||
|
||||
function TinyMCE_print_getControlHTML(control_name) {
|
||||
switch (control_name) {
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 132 B After Width: | Height: | Size: 1,013 B |
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/de.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/de.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// DE lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Drucken';
|
||||
8
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fa.js
vendored
Normal file
8
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fa.js
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// IR lang variables
|
||||
// Persian (Farsi) language pack (for IRAN)
|
||||
// By: Morteza Zafari
|
||||
// Lost@LostLord.com
|
||||
// http://www.LostLord.com
|
||||
|
||||
tinyMCELang['lang_dir'] = 'rtl';
|
||||
tinyMCELang['lang_print_desc'] = 'چاپ';
|
||||
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fr.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fr.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// French lang variables by Laurent Dran
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Imprimer';
|
||||
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fr_ca.js
vendored
Normal file
3
www/extras/tinymce/jscripts/tiny_mce/plugins/print/langs/fr_ca.js
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
// CA_FR lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Imprimer';
|
||||
|
|
@ -1,3 +1,3 @@
|
|||
// SE lang variables
|
||||
|
||||
tinyMCELang['lang_print_desc'] = 'Skrivut';
|
||||
tinyMCELang['lang_print_desc'] = 'Skriv ut';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue