diff --git a/www/extras/tinymce/changelog b/www/extras/tinymce/changelog
index 90ead8547..90235860a 100644
--- a/www/extras/tinymce/changelog
+++ b/www/extras/tinymce/changelog
@@ -1,3 +1,22 @@
+Version 1.41 (2005-01-31)
+ Added new table plugin, all table code is moved into this plugin [BREAKS COMPATIBLITY].
+ Added new external_link_list_url/external_image_list_url options for better backend integration.
+ Added new file_browser_callback option for better backend integration.
+ Added new layout manager code into the advanced theme, contributed by SlyD.
+ Added new nowrap option, enables so users may change the word wraping behavior.
+ Added new Thai language pack contributed by Innozent.
+ Added obfuscated version of all plugins and themes to reduce over all startup/download time.
+ Added Simplified Chinese language pack contributed by cube316.
+ Added a updated Czech language pack thanks to Josef Klimosz.
+ Fixed issue where anchor elements where closed. This results in browser problems with the outputed HTML.
+ Fixed bug where the first return key press didn't produce a paragraph in Firefox/Mozilla.
+ Fixed bug in the searchreplace plugin where replace content sometimes fails in Firefox/Mozilla.
+ Fixed so all language packs now uses the ISO-639-2 code instead of ISO 3166-1 [BREAKS COMPATIBLITY].
+ Fixed some issues with the force_br_newlines option in MSIE.
+ Fixed bug where the backspace or delete key produced BR elements in Firefox/Mozilla.
+ Fixed bug issue with link and image dialogs of the default theme/simple example.
+ Fixed some bugs when having the editor hidden in a tab/div, contributed by Ernst de Moor.
+ Fixed some character issues with the Danish language packs, contributed by someone unknown.
Version 1.40 (2005-01-09)
Added a new default value for the font size drop down, if no font size where found this gets selected.
Added a auto resize window feature, this is enabled by default but can be disabled with a window argument.
diff --git a/www/extras/tinymce/docs/langs.htm b/www/extras/tinymce/docs/langs.htm
index f4ce34b10..52dd4e70b 100755
--- a/www/extras/tinymce/docs/langs.htm
+++ b/www/extras/tinymce/docs/langs.htm
@@ -15,7 +15,7 @@
When translating TinyMCE, these are the files that currently needs to be translated:
- tinymce/jscripts/tiny_mce/langs/uk.js
- tinymce/jscripts/tiny_mce/plugins/emotions/langs/uk.js
- tinymce/jscripts/tiny_mce/plugins/iespell/langs/uk.js
- tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/uk.js
- tinymce/jscripts/tiny_mce/plugins/preview/langs/uk.js
- tinymce/jscripts/tiny_mce/themes/advanced/langs/uk.js
+tinymce/jscripts/tiny_mce/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/advhr/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/advimage/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/advlink/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/emotions/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/flash/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/preview/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/print/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/save/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en.js
+tinymce/jscripts/tiny_mce/plugins/zoom/langs/en.js
+tinymce/jscripts/tiny_mce/themes/advanced/langs/en.js
Notice some language variables may include a name/url of a gif image or simmilar,
for example the button for bold has a "F" character in the Swedish
diff --git a/www/extras/tinymce/docs/using.htm b/www/extras/tinymce/docs/using.htm
index 3ac3174ca..e3545bb13 100755
--- a/www/extras/tinymce/docs/using.htm
+++ b/www/extras/tinymce/docs/using.htm
@@ -83,9 +83,7 @@ optional and is not a requierd setting.
mceAddControl
Adds a editor control to the element id/name specified as value.
diff --git a/www/extras/tinymce/docs/zh_cn/about.htm b/www/extras/tinymce/docs/zh_cn/about.htm
new file mode 100644
index 000000000..eca209f4e
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/about.htm
@@ -0,0 +1,39 @@
+
+
+¹ØÓÚTinyMCE
+
+
+
+
+
+
+
+
+
+¸ÅÊö
+TinyMCEÊÇÒ»ÖÖÊÊÓÃÓÚMSIEºÍMozillaµÈä¯ÀÀÆ÷µÄÇáÁ¿¼¶Ëù¼û¼´ËùµÃ±à¼Æ÷£¬ÒÔ¸ü¼ÓÓѺõķ½Ê½¹©Óû§±à¼HTMLÄÚÈÝ¡£ËüС¶øÁé»î£¬Îª¼¯³É¶ø¹¹½¨£¬ÒÑÔÚIntranets, CMS, LMSÖ®ÀàµÄϵͳÖÐÓÐʹÓÃÏÈÀý.
+
+TinyMCEÓÉMoxieCode Systems AB¿ª·¢£¬¸ù¾Ý"LGPL"°æÈ¨ÐÒé·¢ÐУ¬Çë²é¿´°æÈ¨Ðí¿ÉÒÔ»ñÈ¡¸ü¶àϸ½Ú¡£
+
+ÌØÕ÷
+- Ò×ÓÚ¼¯³É£¬Ö»ÐèÁ½ÐдúÂë.
+- Ö§³ÖÄ£°åºÍ×Ô¶¨ÒåÖ÷Ìâ.
+- ±ãÓÚʹÓÃ×Ô¶¨Òå´úÂëÀ©Õ¹.
+- ¿É¶¨ÖƵÄHTMLÊä³ö.ÆÁ±Î×é¼þ£¬Ç¿¼ÓÊôÐÔ.
+- ¹ú¼ÊÓïÑÔ£¨ÓïÑÔ°ü£©Ö§³Ö£¬Ä¿Ç°°üÀ¨£ºÓ¢¹úÓ¢ÓÈðµäÓ¢ÓÒâ´óÀûÓµÂÓºÉÀ¼£¬µ±È»»¹ÓÐÖÐÎÄ.
+- ¶àä¯ÀÀÆ÷Ö§³Ö£¬Ä¿Ç°ÓУºMozilla, MSIE ¼° FireFox.
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/compatiblity.htm b/www/extras/tinymce/docs/zh_cn/compatiblity.htm
new file mode 100644
index 000000000..fb76232da
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/compatiblity.htm
@@ -0,0 +1,355 @@
+
+
+ ¼æÈÝÐÔͼ
+
+
+
+
+
+
+ÒѾ²âÊÔ¹ýµÄä¯ÀÀÆ÷¼°Æ½Ì¨ÉèÖþØÕó£º
+
+
+
+
+
+
+ Windows XP
+
+ Linux(Debian)
+
+ MacOS X 10.3
+
+ MacOS 9
+
+
+
+ MSIE 6
+ OK
+
+
+
+
+
+
+
+
+ MSIE 5.5 SP2
+
+ OK
+
+
+
+
+
+
+
+
+ MSIE 5.2
+
+
+
+
+
+ TextArea
+
+
+
+
+ MSIE 5.01 SP2
+ OK (1)
+
+
+
+
+
+
+
+
+ MSIE 5.0
+
+
+
+
+
+
+ TextArea
+
+
+ Netscape 7.2
+
+
+
+
+
+ OK
+
+
+
+
+ Netscape 7.1
+
+ OK
+
+
+
+
+
+
+
+
+ Netscape 7.0.2
+
+
+
+
+
+
+
+ TextArea
+
+
+ Mozilla 1.8
+
+
+
+ OK
+
+
+
+
+
+
+ Mozilla 1.7.3
+
+
+
+
+
+ OK
+
+
+
+
+ Mozilla 1.7.2
+
+
+
+
+
+
+
+
+
+
+
+ Mozilla 1.7
+
+ OK
+ OK
+ OK
+
+
+
+
+ Mozilla 1.6
+
+ OK
+ OK
+
+
+
+
+
+
+ Mozilla 1.5
+
+ OK (2)
+ OK
+ (2)
+ OK
+ (2)
+
+
+
+
+ Mozilla 1.4.1
+
+
+
+ OK
+
+
+
+
+
+
+ Mozilla 1.4
+
+ OK
+
+
+
+
+
+
+
+
+ Mozilla 1.3.1
+
+
+
+ OK
+
+
+ OK
+ (3)
+
+
+ Mozilla 1.3
+ OK
+
+
+
+
+
+
+
+
+ Firefox 1.0
+
+ OK
+
+
+ OK
+
+
+
+
+ Firefox 0.9
+
+ OK
+ OK
+
+
+
+
+
+
+ Firefox 0.8
+
+ OK
+ OK
+
+
+
+
+
+
+ Firebird 0.7
+
+ OK
+ (2)
+ OK
+ (2)
+
+
+
+
+
+
+ Firebird 0.6
+
+
+
+ NO
+
+
+
+
+
+
+
+ Safari 1.2.4
+
+
+
+
+
+ TextArea
+
+
+
+
+
+
+OK £º Õý³£¹¤×÷
+NO £º ÍêÈ«²»Äܹ¤×÷
+TextArea £º ·ÇHTML±à¼Æ÷£¬½öÎı¾Óò
+
+ ×¢Ò⣺
+(1) £º ÓÉÓÚCSSÖÐȱÉÙ²»Í¸Ã÷Ö§³Ö£¬±»½ûÓð´Å¥½«ÎÞ·¨±ä÷öµ¡£
+(2) £º ÖØÐ¶¨Òå±í¸ñ³ß´çÈÔÓв¿·Öbug£¬¿´ÆðÀ´ËƺõÊÇä¯ÀÀÆ÷µÄÎÊÌâ¡£
+(3) £º ²»ÄÜÖØÐ¶¨Òå±í¸ñ³ß´ç£¬±í¸ñ¶Ô»°¿ò¸ù±¾²»ÄÜÆð×÷Óã¡
+
+×¢£º²âÊÔÖÐÖ»°üº¬ÁËÖ÷Á÷µÄ¡¢Îȶ¨µÄ²¢ÇÒÖ§³ÖMidasÌØÐÔµÄä¯ÀÀÆ÷¡£²¢ÇÒÇë¼Çס£¬Èç¹ûÄúµÄä¯ÀÀÆ÷ûÓб»ÁоÙÔÚÉÏ·½£¬²¢²»±íʾTinyMCEÔÚÄǸöä¯ÀÀÆ÷Öв»Äܹ¤×÷£¬½ö½öÒâζ×ÅûÓкËʵ¹ýÊÇ·ñÄÜÕý³£¹¤×÷¡£
+
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/faq.htm b/www/extras/tinymce/docs/zh_cn/faq.htm
new file mode 100644
index 000000000..132367ae6
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/faq.htm
@@ -0,0 +1,47 @@
+
+
+ ³£¼ûÎÊÌ⣨FAQ£©
+
+
+
+
+
+
+
+
+
+Ϊʲô"¼ôÇÐ/¸´ÖÆ/Õ³Ìù"µÄͼ±ê¿´²»µ½£¬ËüÃÇÈ¥ÄĶùÁË£¿
+
+1.20°æ±¾ÖÐÒòΪÔÚMozillaºÍFirefoxÉϵݲȫÐÔÎÊÌ⣬"¼ôÇÐ/¸´ÖÆ/Õ³Ìù"µÄͼ±ê±»ÒÆ×ßÁË¡£Èç¹ûÒ»¸ö¹¦ÄÜÔÚ2/3µÄÄ¿±êƽ̨ÉÏÎÞ·¨¹¤×÷£¬Ëü½«²»Äܱ»°üº¬½øÀ´¡£»»¾ä»°Ëµ£¬Ëü²»ÊÇ¿çÆ½Ì¨µÄ¡£ÏñCtrl-X/C/VÕâÑùµÄ¿ì½Ý¼ü»¹ÊÇÄܼÌÐøÊ¹Óã¬ÔÚä¯ÀÀÆ÷µÄ"±à¼"²Ëµ¥ÖÐÒ²¿ÉÒÔÕÒµ½ÕâЩ¹¦ÄܵÄ×Ӳ˵¥¡£Êµ¼ÊÉÏÖ»ÓÐͼ±ê¿ì½Ý¼ü±»ÒƳýÁË¡£ÓûÁ˽âÕâ¸ö°²È«ÐÔÎÊÌâµÄ¸üÏêϸÐÅÏ¢£¬Çëµã»÷MozillaÍøÕ¾É쵀 bugzilla .
+
+ΪʲôMCEÔÚOpera/Konqueror/Safariä¯ÀÀÆ÷Éϲ»ÄÜÕý³£¹¤×÷£¿
+
+Ö»ÒªÕâЩä¯ÀÀÆ÷²»ÄÜÏñMozillaºÍMSIEÒ»ÑùÖ§³ÖexecCommand¼°designMode£¬ÓÃJavaScriptÀ´´´½¨Ëù¼û¼´ËùµÃ±à¼Æ÷¾ÍÊDz»¿ÉÄܵġ£µ«Èç¹ûÕâЩä¯ÀÀÆ÷¿ªÊ¼Ö§³ÖÉÏÊöÌØÐÔ£¬ÎÒÃǽ«¾¡¿ìʹtinyMCEÄܼæÈÝÖ®¡£
+
+ΪʲôÓÐʱºòÄÚÈÝÊÇÖØ¸´µÄ£¬ÀýÈçÎÒ´ÓwordÖи´ÖÆÕ³ÌùµÄʱºò£¿
+
+µ±HTMLÄÚÈÝûÓÐÕýÈ·¸ñʽ»¯µÄʱºò¾Í»á·¢ÉúÕâ¸ö´íÎó£¬ÕâÊÇMSIEµÄbug¡£µ±HTML´úÂë°üº¬"<b/>"»òÕßǶÌ׵ĶÎÂä±êÇ©"<p><p>x</p></p>"µÄʱºò¾Í»á³ö´í£¬Ëü²úÉúÒ»¸ö´íÎóµÄDOM tree£¬¼°innerHTMLÉϵĴíÎóÊä³ö¡£Èç¹ûÓÐÈËÖªµÀÈçºÎ½â¾öÕâ¸öÎÊÌ⣬Çë¸æËßÎÒ¡£
+
+ΪʲôûÓÐÑÕɫѡÔñ¸ú×ÖÌåÑ¡Ôñ£¿
+
+ÒòΪÑÕÉ«¸ú×ÖÌåÑ¡Ôñ½«ÆÆ»µÕ¾µã»òϵͳµÄ²¼¾Ö±ê×¼£¬ÀýÈ磺»áÌ«ÏÔ¿íËÉ£¬ËùÒÔûÓбØÒªÔÚTinyMCEÖмÓÉÏÕâЩ¡£×ÖÌå¸úÑÕÉ«¿ÉÒÔͨ¹ýCSSÀàÀ´ÉèÖá£
+
+Ϊʲô"³·Ïû/»Ö¸´"¹¦ÄÜÔÚMozillaÖв»Æð×÷Óã¿
+
+ÕâÊÇÒòΪ"custom_undo_redo"Ñ¡Ïî±»´ò¿ª£¬´ËÑ¡Ï¸ÇÁ˼üÅÌ¿ì½Ý¼ü¼°ÃüÁ¾ßÀ¸ÉϵĿÉÓð´Å¥¡£µ«Ä¿Ç°Ã»Óз½·¨¿ÉÒÔ¸²¸ÇÄÚÖõÄ"³·Ïû/»Ö¸´"²Ëµ¥×ÓÏî¡£
+
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/index.htm b/www/extras/tinymce/docs/zh_cn/index.htm
new file mode 100644
index 000000000..434263666
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/index.htm
@@ -0,0 +1,39 @@
+
+
+ °ïÖúË÷Òý
+
+
+
+
+
+
+
+
+
+Çëµã»÷ÒÔÏÂÁ´½ÓÀ´²é¿´°ïÖúÄÚÈÝÖеIJ»Í¬Õ½Ú.
+
+
+¼òÌåÖÐÎÄ·Òë by£ºcube316
+
+ ×¢Ò⣺ijЩµØ·½ÓÉÓÚÓ¢ÎÄÎĵµËµµÄÏ൱º¬ºý£¬»òÕßÒëÕß±¾ÉíˮƽԵ¹Ê£¬
+·ÒëµÄ²»ÊǷdz£ÀíÏ룬²»×ãÖ®´¦Çë¶à¶à°üº¡£
+²»ÄÜÀí½âµÄµØ·½¿É²ÎÔÄÓ¢ÎÄÎĵµ£¬ÓиüºÃµÄ·ÒëÒ²Çë ÈÃÎÒÖªµÀ ¡£
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/langs.htm b/www/extras/tinymce/docs/zh_cn/langs.htm
new file mode 100644
index 000000000..035343552
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/langs.htm
@@ -0,0 +1,49 @@
+
+
+´´½¨ÓïÑÔ°ü
+
+
+
+
+
+
+
+
+
+ÓïÑÔ°üÖ»ÊǼòµ¥µÄ½«"lang"Ŀ¼ÏÂ"<FN Code>.js"ÎļþÖеÄJavaScriptÃû³Æ£Öµ Êý×é¶ÔÌæ»»¶øÒÑ¡£¼ÇµÃÔÚÕâЩÃû³ÆÖÐÒ»¶¨ÒªÊ¹ÓÃ"lang_"ǰ׺£¬ÒÔÃâÆä¸úÄ£°åÖÐµÄÆäËû±äÁ¿³åÍ»¡£
+ÒÔÏÂÀý×Ó±íÃ÷ÁËcut, copyºÍpasteµÄÎÄ×ÖÓïÑÔÊÇÈçºÎ±»´¦ÀíµÄ£º
+
+
+
+
+ tinyMCELang['lang _cut_desc']
+ = 'Cut (Ctrl+X)';
+ tinyMCELang['lang _copy_desc'] = 'Copy (Ctrl+C)';
+ tinyMCELang['lang _paste_desc'] = 'Paste (Ctrl+P)';
+
+
+ ×¢ÒâÓÐÁ½ÖÖÀàÐ͵ÄÓïÑÔ°ü£¬Ò»ÖÖÊDZ»È«²¿Ö÷ÌâËù¹²ÏíµÄÈ«¾ÖÓïÑÔ£¬ËüÔÚ"jscripts/tiny_mce/langs"Ŀ¼ÖУ» ÁíÍâÒ»ÖÖÊÇijÖ÷ÌâÌØ¶¨ÓïÑÔ£¬Ò»°ã·ÅÔÚ"jscripts/tiny_mce/themes/<some theme>/langs"Ŀ¼ÖС£
+µ±·ÒëTinyMCEʱ£¬ÒÔÏÂÊÇĿǰËùÐèÒª·ÒëµÄÎļþ£º
+
+ tinymce/jscripts/tiny_mce/langs/uk.js
+ tinymce/jscripts/tiny_mce/plugins/emotions/langs/uk.js
+ tinymce/jscripts/tiny_mce/plugins/iespell/langs/uk.js
+ tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/uk.js
+ tinymce/jscripts/tiny_mce/plugins/preview/langs/uk.js
+ tinymce/jscripts/tiny_mce/themes/advanced/langs/uk.js
+ ×¢ÒâijЩÓïÑÔ±äÁ¿¿ÉÄÜ»á°üº¬gifͼƬµÄname/url»òÀàËÆ£¬ÀýÈçÔÚÈðµäÓïÑÔ°üÖдÖÌåµÄ°´Å¥ÓÐÒ»¸ö"F"×Ö·û¡£
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/license.htm b/www/extras/tinymce/docs/zh_cn/license.htm
new file mode 100644
index 000000000..600e9cb00
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/license.htm
@@ -0,0 +1,388 @@
+
+
+
+License
+
+
+
+
+
+
+
+
+Copyright © 2004 Moxiecode Systems AB
+
+This library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public
+License as published by the Free Software Foundation; either
+version 2.1 of the License, or (at your option) any later version.
+
+This library is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+Lesser General Public License for more details.
+
+You should have received a copy of the GNU Lesser General Public
+License along with this library; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+
+GNU Lesser General Public License
+Version 2.1, February 1999
+Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+Preamble
+ The licenses for most software are designed to take away your freedom to share
+ and change it. By contrast, the GNU General Public Licenses are intended to
+ guarantee your freedom to share and change free software--to make sure the software
+ is free for all its users.
+This license, the Lesser General Public License, applies to some specially
+ designated software packages--typically libraries--of the Free Software Foundation
+ and other authors who decide to use it. You can use it too, but we suggest you
+ first think carefully about whether this license or the ordinary General Public
+ License is the better strategy to use in any particular case, based on the explanations
+ below.
+When we speak of free software, we are referring to freedom of use, not price.
+ Our General Public Licenses are designed to make sure that you have the freedom
+ to distribute copies of free software (and charge for this service if you wish);
+ that you receive source code or can get it if you want it; that you can change
+ the software and use pieces of it in new free programs; and that you are informed
+ that you can do these things.
+To protect your rights, we need to make restrictions that forbid distributors
+ to deny you these rights or to ask you to surrender these rights. These restrictions
+ translate to certain responsibilities for you if you distribute copies of the
+ library or if you modify it.
+For example, if you distribute copies of the library, whether gratis or for
+ a fee, you must give the recipients all the rights that we gave you. You must
+ make sure that they, too, receive or can get the source code. If you link other
+ code with the library, you must provide complete object files to the recipients,
+ so that they can relink them with the library after making changes to the library
+ and recompiling it. And you must show them these terms so they know their rights.
+
+We protect your rights with a two-step method: (1) we copyright the library,
+ and (2) we offer you this license, which gives you legal permission to copy,
+ distribute and/or modify the library.
+To protect each distributor, we want to make it very clear that there is no
+ warranty for the free library. Also, if the library is modified by someone else
+ and passed on, the recipients should know that what they have is not the original
+ version, so that the original author's reputation will not be affected by problems
+ that might be introduced by others.
+Finally, software patents pose a constant threat to the existence of any free
+ program. We wish to make sure that a company cannot effectively restrict the
+ users of a free program by obtaining a restrictive license from a patent holder.
+ Therefore, we insist that any patent license obtained for a version of the library
+ must be consistent with the full freedom of use specified in this license.
+Most GNU software, including some libraries, is covered by the ordinary GNU
+ General Public License. This license, the GNU Lesser General Public License,
+ applies to certain designated libraries, and is quite different from the ordinary
+ General Public License. We use this license for certain libraries in order to
+ permit linking those libraries into non-free programs.
+When a program is linked with a library, whether statically or using a shared
+ library, the combination of the two is legally speaking a combined work, a derivative
+ of the original library. The ordinary General Public License therefore permits
+ such linking only if the entire combination fits its criteria of freedom. The
+ Lesser General Public License permits more lax criteria for linking other code
+ with the library.
+We call this license the "Lesser" General Public License because
+ it does Less to protect the user's freedom than the ordinary General Public
+ License. It also provides other free software developers Less of an advantage
+ over competing non-free programs. These disadvantages are the reason we use
+ the ordinary General Public License for many libraries. However, the Lesser
+ license provides advantages in certain special circumstances.
+For example, on rare occasions, there may be a special need to encourage the
+ widest possible use of a certain library, so that it becomes a de-facto standard.
+ To achieve this, non-free programs must be allowed to use the library. A more
+ frequent case is that a free library does the same job as widely used non-free
+ libraries. In this case, there is little to gain by limiting the free library
+ to free software only, so we use the Lesser General Public License.
+In other cases, permission to use a particular library in non-free programs
+ enables a greater number of people to use a large body of free software. For
+ example, permission to use the GNU C Library in non-free programs enables many
+ more people to use the whole GNU operating system, as well as its variant, the
+ GNU/Linux operating system.
+Although the Lesser General Public License is Less protective of the users'
+ freedom, it does ensure that the user of a program that is linked with the Library
+ has the freedom and the wherewithal to run that program using a modified version
+ of the Library.
+The precise terms and conditions for copying, distribution and modification
+ follow. Pay close attention to the difference between a "work based on
+ the library" and a "work that uses the library". The former contains
+ code derived from the library, whereas the latter must be combined with the
+ library in order to run.
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+ 0. This License Agreement applies to any software library or other program which
+ contains a notice placed by the copyright holder or other authorized party saying
+ it may be distributed under the terms of this Lesser General Public License
+ (also called "this License"). Each licensee is addressed as "you".
+A "library" means a collection of software functions and/or data
+ prepared so as to be conveniently linked with application programs (which use
+ some of those functions and data) to form executables.
+The "Library", below, refers to any such software library or work
+ which has been distributed under these terms. A "work based on the Library"
+ means either the Library or any derivative work under copyright law: that is
+ to say, a work containing the Library or a portion of it, either verbatim or
+ with modifications and/or translated straightforwardly into another language.
+ (Hereinafter, translation is included without limitation in the term "modification".)
+
+"Source code" for a work means the preferred form of the work for
+ making modifications to it. For a library, complete source code means all the
+ source code for all modules it contains, plus any associated interface definition
+ files, plus the scripts used to control compilation and installation of the
+ library.
+Activities other than copying, distribution and modification are not covered
+ by this License; they are outside its scope. The act of running a program using
+ the Library is not restricted, and output from such a program is covered only
+ if its contents constitute a work based on the Library (independent of the use
+ of the Library in a tool for writing it). Whether that is true depends on what
+ the Library does and what the program that uses the Library does.
+1. You may copy and distribute verbatim copies of the Library's complete source
+ code as you receive it, in any medium, provided that you conspicuously and appropriately
+ publish on each copy an appropriate copyright notice and disclaimer of warranty;
+ keep intact all the notices that refer to this License and to the absence of
+ any warranty; and distribute a copy of this License along with the Library.
+
+You may charge a fee for the physical act of transferring a copy, and you may
+ at your option offer warranty protection in exchange for a fee.
+2. You may modify your copy or copies of the Library or any portion of it,
+ thus forming a work based on the Library, and copy and distribute such modifications
+ or work under the terms of Section 1 above, provided that you also meet all
+ of these conditions:
+a) The modified work must itself be a software library.
+b) You must cause the files modified to carry prominent notices stating that
+ you changed the files and the date of any change.
+c) You must cause the whole of the work to be licensed at no charge to all
+ third parties under the terms of this License.
+d) If a facility in the modified Library refers to a function or a table of
+ data to be supplied by an application program that uses the facility, other
+ than as an argument passed when the facility is invoked, then you must make
+ a good faith effort to ensure that, in the event an application does not supply
+ such function or table, the facility still operates, and performs whatever part
+ of its purpose remains meaningful.
+(For example, a function in a library to compute square roots has a purpose
+ that is entirely well-defined independent of the application. Therefore, Subsection
+ 2d requires that any application-supplied function or table used by this function
+ must be optional: if the application does not supply it, the square root function
+ must still compute square roots.)
+These requirements apply to the modified work as a whole. If identifiable sections
+ of that work are not derived from the Library, and can be reasonably considered
+ independent and separate works in themselves, then this License, and its terms,
+ do not apply to those sections when you distribute them as separate works. But
+ when you distribute the same sections as part of a whole which is a work based
+ on the Library, the distribution of the whole must be on the terms of this License,
+ whose permissions for other licensees extend to the entire whole, and thus to
+ each and every part regardless of who wrote it.
+Thus, it is not the intent of this section to claim rights or contest your
+ rights to work written entirely by you; rather, the intent is to exercise the
+ right to control the distribution of derivative or collective works based on
+ the Library.
+In addition, mere aggregation of another work not based on the Library with
+ the Library (or with a work based on the Library) on a volume of a storage or
+ distribution medium does not bring the other work under the scope of this License.
+
+3. You may opt to apply the terms of the ordinary GNU General Public License
+ instead of this License to a given copy of the Library. To do this, you must
+ alter all the notices that refer to this License, so that they refer to the
+ ordinary GNU General Public License, version 2, instead of to this License.
+ (If a newer version than version 2 of the ordinary GNU General Public License
+ has appeared, then you can specify that version instead if you wish.) Do not
+ make any other change in these notices.
+Once this change is made in a given copy, it is irreversible for that copy,
+ so the ordinary GNU General Public License applies to all subsequent copies
+ and derivative works made from that copy.
+This option is useful when you wish to copy part of the code of the Library
+ into a program that is not a library.
+4. You may copy and distribute the Library (or a portion or derivative of it,
+ under Section 2) in object code or executable form under the terms of Sections
+ 1 and 2 above provided that you accompany it with the complete corresponding
+ machine-readable source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange.
+If distribution of object code is made by offering access to copy from a designated
+ place, then offering equivalent access to copy the source code from the same
+ place satisfies the requirement to distribute the source code, even though third
+ parties are not compelled to copy the source along with the object code.
+5. A program that contains no derivative of any portion of the Library, but
+ is designed to work with the Library by being compiled or linked with it, is
+ called a "work that uses the Library". Such a work, in isolation,
+ is not a derivative work of the Library, and therefore falls outside the scope
+ of this License.
+However, linking a "work that uses the Library" with the Library
+ creates an executable that is a derivative of the Library (because it contains
+ portions of the Library), rather than a "work that uses the library".
+ The executable is therefore covered by this License. Section 6 states terms
+ for distribution of such executables.
+When a "work that uses the Library" uses material from a header file
+ that is part of the Library, the object code for the work may be a derivative
+ work of the Library even though the source code is not. Whether this is true
+ is especially significant if the work can be linked without the Library, or
+ if the work is itself a library. The threshold for this to be true is not precisely
+ defined by law.
+If such an object file uses only numerical parameters, data structure layouts
+ and accessors, and small macros and small inline functions (ten lines or less
+ in length), then the use of the object file is unrestricted, regardless of whether
+ it is legally a derivative work. (Executables containing this object code plus
+ portions of the Library will still fall under Section 6.)
+Otherwise, if the work is a derivative of the Library, you may distribute the
+ object code for the work under the terms of Section 6. Any executables containing
+ that work also fall under Section 6, whether or not they are linked directly
+ with the Library itself.
+6. As an exception to the Sections above, you may also combine or link a "work
+ that uses the Library" with the Library to produce a work containing portions
+ of the Library, and distribute that work under terms of your choice, provided
+ that the terms permit modification of the work for the customer's own use and
+ reverse engineering for debugging such modifications.
+You must give prominent notice with each copy of the work that the Library
+ is used in it and that the Library and its use are covered by this License.
+ You must supply a copy of this License. If the work during execution displays
+ copyright notices, you must include the copyright notice for the Library among
+ them, as well as a reference directing the user to the copy of this License.
+ Also, you must do one of these things:
+a) Accompany the work with the complete corresponding machine-readable source
+ code for the Library including whatever changes were used in the work (which
+ must be distributed under Sections 1 and 2 above); and, if the work is an executable
+ linked with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the user
+ can modify the Library and then relink to produce a modified executable containing
+ the modified Library. (It is understood that the user who changes the contents
+ of definitions files in the Library will not necessarily be able to recompile
+ the application to use the modified definitions.)
+b) Use a suitable shared library mechanism for linking with the Library. A
+ suitable mechanism is one that (1) uses at run time a copy of the library already
+ present on the user's computer system, rather than copying library functions
+ into the executable, and (2) will operate properly with a modified version of
+ the library, if the user installs one, as long as the modified version is interface-compatible
+ with the version that the work was made with.
+c) Accompany the work with a written offer, valid for at least three years,
+ to give the same user the materials specified in Subsection 6a, above, for a
+ charge no more than the cost of performing this distribution.
+d) If distribution of the work is made by offering access to copy from a designated
+ place, offer equivalent access to copy the above specified materials from the
+ same place.
+e) Verify that the user has already received a copy of these materials or that
+ you have already sent this user a copy.
+For an executable, the required form of the "work that uses the Library"
+ must include any data and utility programs needed for reproducing the executable
+ from it. However, as a special exception, the materials to be distributed need
+ not include anything that is normally distributed (in either source or binary
+ form) with the major components (compiler, kernel, and so on) of the operating
+ system on which the executable runs, unless that component itself accompanies
+ the executable.
+It may happen that this requirement contradicts the license restrictions of
+ other proprietary libraries that do not normally accompany the operating system.
+ Such a contradiction means you cannot use both them and the Library together
+ in an executable that you distribute.
+7. You may place library facilities that are a work based on the Library side-by-side
+ in a single library together with other library facilities not covered by this
+ License, and distribute such a combined library, provided that the separate
+ distribution of the work based on the Library and of the other library facilities
+ is otherwise permitted, and provided that you do these two things:
+a) Accompany the combined library with a copy of the same work based on the
+ Library, uncombined with any other library facilities. This must be distributed
+ under the terms of the Sections above.
+b) Give prominent notice with the combined library of the fact that part of
+ it is a work based on the Library, and explaining where to find the accompanying
+ uncombined form of the same work.
+8. You may not copy, modify, sublicense, link with, or distribute the Library
+ except as expressly provided under this License. Any attempt otherwise to copy,
+ modify, sublicense, link with, or distribute the Library is void, and will automatically
+ terminate your rights under this License. However, parties who have received
+ copies, or rights, from you under this License will not have their licenses
+ terminated so long as such parties remain in full compliance.
+9. You are not required to accept this License, since you have not signed it.
+ However, nothing else grants you permission to modify or distribute the Library
+ or its derivative works. These actions are prohibited by law if you do not accept
+ this License. Therefore, by modifying or distributing the Library (or any work
+ based on the Library), you indicate your acceptance of this License to do so,
+ and all its terms and conditions for copying, distributing or modifying the
+ Library or works based on it.
+10. Each time you redistribute the Library (or any work based on the Library),
+ the recipient automatically receives a license from the original licensor to
+ copy, distribute, link with or modify the Library subject to these terms and
+ conditions. You may not impose any further restrictions on the recipients' exercise
+ of the rights granted herein. You are not responsible for enforcing compliance
+ by third parties with this License.
+11. If, as a consequence of a court judgment or allegation of patent infringement
+ or for any other reason (not limited to patent issues), conditions are imposed
+ on you (whether by court order, agreement or otherwise) that contradict the
+ conditions of this License, they do not excuse you from the conditions of this
+ License. If you cannot distribute so as to satisfy simultaneously your obligations
+ under this License and any other pertinent obligations, then as a consequence
+ you may not distribute the Library at all. For example, if a patent license
+ would not permit royalty-free redistribution of the Library by all those who
+ receive copies directly or indirectly through you, then the only way you could
+ satisfy both it and this License would be to refrain entirely from distribution
+ of the Library.
+If any portion of this section is held invalid or unenforceable under any particular
+ circumstance, the balance of the section is intended to apply, and the section
+ as a whole is intended to apply in other circumstances.
+It is not the purpose of this section to induce you to infringe any patents
+ or other property right claims or to contest validity of any such claims; this
+ section has the sole purpose of protecting the integrity of the free software
+ distribution system which is implemented by public license practices. Many people
+ have made generous contributions to the wide range of software distributed through
+ that system in reliance on consistent application of that system; it is up to
+ the author/donor to decide if he or she is willing to distribute software through
+ any other system and a licensee cannot impose that choice.
+This section is intended to make thoroughly clear what is believed to be a
+ consequence of the rest of this License.
+12. If the distribution and/or use of the Library is restricted in certain
+ countries either by patents or by copyrighted interfaces, the original copyright
+ holder who places the Library under this License may add an explicit geographical
+ distribution limitation excluding those countries, so that distribution is permitted
+ only in or among countries not thus excluded. In such case, this License incorporates
+ the limitation as if written in the body of this License.
+13. The Free Software Foundation may publish revised and/or new versions of
+ the Lesser General Public License from time to time. Such new versions will
+ be similar in spirit to the present version, but may differ in detail to address
+ new problems or concerns.
+Each version is given a distinguishing version number. If the Library specifies
+ a version number of this License which applies to it and "any later version",
+ you have the option of following the terms and conditions either of that version
+ or of any later version published by the Free Software Foundation. If the Library
+ does not specify a license version number, you may choose any version ever published
+ by the Free Software Foundation.
+14. If you wish to incorporate parts of the Library into other free programs
+ whose distribution conditions are incompatible with these, write to the author
+ to ask for permission. For software which is copyrighted by the Free Software
+ Foundation, write to the Free Software Foundation; we sometimes make exceptions
+ for this. Our decision will be guided by the two goals of preserving the free
+ status of all derivatives of our free software and of promoting the sharing
+ and reuse of software generally.
+NO WARRANTY
+15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
+ THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
+ STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY
+ "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+ FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
+ OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE
+ COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
+ ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
+ THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
+ OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
+ DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR
+ A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER
+ OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/themes.htm b/www/extras/tinymce/docs/zh_cn/themes.htm
new file mode 100644
index 000000000..c6774c160
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/themes.htm
@@ -0,0 +1,439 @@
+
+
+´´½¨Ö÷Ìâ
+
+
+
+
+
+
+
+
+
+´´½¨Äã×Ô¼ºµÄÖ÷ÌâÓë²å¼þ
+ Èç¹ûÄã¶®µÃHTML,CSSºÍJavascriptµÄ»ù´¡ÖªÊ¶£¬ÎªTinyMCE´´½¨×Ô¼ºµÄÖ÷ÌâÊÇÏ൱ÈÝÒ×µÄÊÂÇé¡£ ×î¼òµ¥µÄ·½·¨Äª¹ýÓÚ½«"default"»òÕß"advanced"Ä£°å¿½±´£¬²¢½«ËüÖØÃüÃûΪÄã×Ô¼ºµÄÖ÷ÌâÃû³Æ£¬ÀýÈ磺"mytheme"¡£ È»ºóÄãÐèÒª°ÑÒÔÏÂÆ¬¶ÏÖеĺìÉ«±ê¼Ç¸ü¸ÄΪ"mytheme"£¬ÕâÑù¸÷ÖÖÖ÷Ìâ¾Í²»»á³åÍ»¡£»»¾ä»°Ëµ£¬¸øÕâ¸öÖ÷ÌâÖ¸¶¨ÁËΨһµÄÃû×Ö¡£ ¸ü¸ÄÀïÃæµÄHTML´úÂëʹ֮ÊʺÏÄãµÄÖ÷Ì⣬µ«ÐèҪעÒ⣬ijЩ×é¼þÊDZØÐëµÄ£¬ËùÒÔ¸ü¸ÄÒÔϵÄÿ¸öº¯Êýʱ¶¼Çë²é¿´ÏàÓ¦Îĵµ¡£ ´ËÍ⣬×Ô¶¨ÒåÖ÷Ìâ±ØÐë×öΪ×ÓĿ¼·ÅÔÚtiny_mceµÄ"themes"Ŀ¼Ï¡£ Èç¹ûÐèÒª£¬ÄãÍêÈ«¿ÉÒÔΪ×Ô¼ºµÄÖ÷ÌâÔö¼ÓÌØ¶¨µÄÑ¡ÏîºÍÉèÖ㬲»¹ý¼ÇµÃÒªÓÃÒÔϵÄÃüÃû¹æÔò£º"theme_<your theme>_<option>"¡£
+ ÒÔÏÂʾÀýÓÐÈý¸öº¯Êý£¬ÏÂÃæ»áÏêϸ½éÉÜ¡£
+
+
+
+
+
+ function TinyMCE_default _getEditorTemplate(settings)
+ {
+ var template = new Array();
+ template['html'] = '<Some HTML>';
+ template['delta_width'] = 0;
+ template['delta_height'] = -40;
+
+ return template;
+ }
+ function TinyMCE_default _getInsertLinkTemplate(settings)
+ {
+ var template = new Array();
+
+ template['file'] = 'link.htm';
+ template['width'] = 320;
+ template['height'] = 130;
+
+ return template;
+ }
+
+ function TinyMCE_default _getInsertImageTemplate(settings)
+ {
+ var template = new Array();
+
+ template['file'] = 'image.htm';
+ template['width'] = 320;
+ template['height'] = 130;
+
+ return template;
+ }
+
+ function TinyMCE_default _handleNodeChange(editor_id,
+ node) {
+ // Check what happend
+ }
+
+ function TinyMCE_default _execCommand(editor_id, element, command, user_interface, value)
+ {
+ //
+ Your custom command logic
+ return false;
+ }
+
+
+
+
+
+
+
+ʹÓÃÍⲿģ°åÎļþ
+µ±ÓÃÏÂÃæËùÃèÊöµÄ"file"²ÎÊýʹÓÃÍⲿģ°åÎļþʱ£¬ÐèÒª°Ñ"tiny_mce_popup.js"°üº¬½øÀ´¡£ ΪÁ˸úTinyMCEͨѶ£¬´ËÎļþÊDZØÐëµÄ¡£ËùÓеıäÁ¿ºÍÓïÑÔ¶¨ÒåÔÚ"html"ÊôÐÔÖб»Ìæ»»¡£
+
Íⲿģ°åÎļþʾÀý£º
+
+
+
+
+ <html>
+ <head>
+ <title>{$lang_theme_sample_title} </title>
+ <script language="javascript" src="../../tiny_mce_popup.js "></script>
+ <script language="javascript">
+ alert(tinyMCE.getWindowArg('some_arg') );
+ </script>
+
+ <body>
+ {$lang_theme_sample_desc}
+ </body>
+
+
+
+
+
+º¯Êý TinyMCE_<theme or plugin > _getEditorTemplate(settings)
+´Ëº¯Êý¸ºÔð±à¼Æ÷ʵÀýÔÚÒ³ÃæÖеIJ¼¾Ö£¬Ëü·µ»Ø°üº¬Ìض¨Ãû³ÆµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£½âÊÍÈçÏ£¬×¢ÒâÓÃ[]À¨ÆðÀ´µÄÃû³ÆÊÇ¿ÉÑ¡µÄ¡£ ´Ëº¯ÊýµÄsettings²ÎÊýÊÇÒ»¸ö°üº¬ÁËtinyMCEÉèÖúÍÑ¡ÏîµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£
+Ä£°åÊý¾Ý£º
+
+
+
+
+ html
+ HTMLÄ£°åÊý¾Ý£¬ËüµÄÖµÊÇʵÏÖ±à¼Æ÷ËùÐèµÄÈ«²¿HTML´úÂë¡£×¢Ò⣺ÔÚʹÓÃʱ{$<variable>}»á±»Êµ¼ÊµÄÖµÌæ»»¡£¹ØÓÚÕâÐ©ÌØ¶¨ÖµµÄ¸üÏêϸ˵Ã÷¼ûºóÃæ¡£
+
+
+ [delta_width]
+ Delta¿í¶È£¬´ËÖµ°üº¬Óû§½çÃæËùÐèµÄÏà¹Ø¿í¶È¡£ÀýÈ磬¹¤¾ßÀ¸ÐèÒª20ÏóËØ£¬Ôò´ËֵΪ-20¡£
+ ÕâÒ²ÊÇΪʲô±à¼Æ÷µÄ³ß´ç¸úËüËùÌæ»»µÄ×é¼þ¿í¶ÈÒ»ÖµÄÔÒò¡£
+
+
+ [delta_height]
+ Delta¸ß¶È£¬´ËÖµ°üº¬Óû§½çÃæËùÐèµÄÏà¹Ø¸ß¶È¡£ÀýÈ磬¹¤¾ßÀ¸ÐèÒª40ÏóËØ£¬Ôò´ËֵΪ-40¡£
+ ÕâÒ²ÊÇΪʲô±à¼Æ÷µÄ³ß´ç¸úËüËùÌæ»»µÄ×é¼þ¿í¶ÈÒ»ÖµÄÔÒò¡£
+
+
+ÉÏÊö"html"ÖеıäÁ¿±»TinyMCEµÄÄÚ²¿ÖµËùÌæ»»¡£ÓÐÁ½ÖÖ²»Í¬ÀàÐ͵ıäÁ¿£¬Ò»ÖÖÊÇÒÔ"lang_"Ϊǰ׺µÄ£¬ËüÃǻᱻÏàÓ¦Ãû³ÆµÄÓïÑÔ°üÌæ»»¡£ÀýÈ磬<b>{$lang_test}</b>±»ÓïÑÔ±äÁ¿"tinyMCELang['lang_test']"ËùÌæ»»£¬Êä³ö¾Í³ÉÁË<b>Test</b>¡£ ÁíÍâµÄ±äÁ¿ÊÇËùÓÃÄ£°åÖ±½Ó´«µÝµÄ£¬ÁоÙÈçÏ¡£ ×¢ÒâÓÃ[]À¨ÆðÀ´µÄ±äÁ¿ÊÇ¿ÉÑ¡µÄ¡£
+
+ ±äÁ¿£º
+
+
+ editor_id
+ ´ËΪ±à¼Æ÷ʵÀýµÄID£¬ËüÓ¦µ±±»·ÅÔÚÄ£°å±ØÐë°üº¬µÄIFRAME×é¼þµÄIDÊôÐÔÖС£
+
+
+ [default_document]
+ ΪÁ˽â¾öMSIEµÄ°²È«ÎÊÌ⣬Ôö¼ÓÁË´ËÉèÖã¬Ëü»á±»Ìæ»»³É¿Õ°×HTMLÒ³Ãæ¡£°ÑËü·ÅÔÚÄ£°åIFRAME×é¼þµÄSRCÊôÐÔÖС£
+
+
+ [area_width]
+ IFRAMEÇøÓòµÄ¿í¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ [area_height]
+ IFRAMEÇøÓòµÄ¸ß¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ [width]
+ Õû¸ö±à¼Æ÷ÇøÓòµÄ¿í¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ [height]
+ Õû¸ö±à¼Æ÷ÇøÓòµÄ¸ß¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ [themeurl]
+ Ö÷ÌâËùÔÚλÖõÄURL¡£
+
+
+×¢Ò⣺´ÓÕâ¸öÄ£°å¿ÉÒÔµ÷ÓÃÁ½¸öJavaScriptº¯Êý£¬ËüÃÇÊÇ£ºÔÚµ±Ç°Ñ¡¶¨±à¼Æ÷ÇøÓòÖÐÖ´ÐÐÃüÁîµÄtinyMCE.execCommand¼°Çл»Ìض¨×é¼þCSSÀàµÄtinyMCE.switchClass¡£
+ÓûÁ˽âexecCommandÖпÉÒÔÖ´Ðеĸü¶àÃüÁîϸ½Ú£¬Çë²é¿´ Mozilla midas specification ºÍ TinyMCE specific commands .
+
+
+
+º¯Êý TinyMCE_<theme or plugin > _getInsertLinkTemplate(settings)
+´Ëº¯Êý¸ºÔð²åÈëÁ´½Óµ¯³ö´°¿ÚµÄ²¼¾Ö£¬Ëü·µ»Ø°üº¬Ìض¨Ãû³ÆµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£½âÊÍÈçÏ£¬×¢ÒâÓÃ[]À¨ÆðÀ´µÄÃû³ÆÊÇ¿ÉÑ¡µÄ¡£ ´Ëº¯ÊýµÄsettings²ÎÊýÊÇÒ»¸ö°üº¬ÁËtinyMCEÉèÖúÍÑ¡ÏîµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£
+Ä£°åÊý¾Ý£º
+
+
+
+
+ html
+ HTMLÄ£°åÊý¾Ý£¬ËüµÄÖµÊÇʵÏÖÁ´½Ó¶Ô»°¿òËùÐèµÄÈ«²¿HTML´úÂë¡£×¢Ò⣺ÔÚʹÓÃʱ{$<variable>}»á±»Êµ¼ÊµÄÖµÌæ»»¡£¹ØÓÚÕâÐ©ÌØ¶¨ÖµµÄ¸üÏêϸ˵Ã÷¼ûºóÃæ¡£Èç¹û"file"²ÎÊýÓи³Öµ£¬´Ë²ÎÊý²»ÊDZØÐëµÄ¡£
+
+
+ file
+ ҪʹÓõÄÍⲿģ°åÎļþµÄÃû³Æ£¬Ëü¿ÉÒÔÊÇÏñ.php,.asp,.jspÕâÑùµÄ¶¯Ì¬Ò³¡£
+
+
+ [width]
+ µ¯³ö´°¿ÚµÄ¿í¶È£¬ÒÔÏóËØÎªµ¥Î»£¬Ä¬ÈÏΪ320.
+
+
+ [height]
+ µ¯³ö´°¿ÚµÄ¸ß¶È£¬ÒÔÏóËØÎªµ¥Î»£¬Ä¬ÈÏΪ200.
+
+
+ÉÏÊö"html"ÖеıäÁ¿±»TinyMCEµÄÄÚ²¿ÖµËùÌæ»»¡£ÓÐÁ½ÖÖ²»Í¬ÀàÐ͵ıäÁ¿£¬Ò»ÖÖÊÇÒÔ"lang_"Ϊǰ׺µÄ£¬ËüÃǻᱻÏàÓ¦Ãû³ÆµÄÓïÑÔ°üÌæ»»¡£ÀýÈ磬<b>{$lang_test}</b>±»ÓïÑÔ±äÁ¿"tinyMCELang['lang_test']"ËùÌæ»»£¬Êä³ö¾Í³ÉÁË<b>Test</b>¡£ ÁíÍâµÄ±äÁ¿ÊÇËùÓÃÄ£°åÖ±½Ó´«µÝµÄ£¬ÁоÙÈçÏ¡£ ×¢ÒâÓÃ[]À¨ÆðÀ´µÄ±äÁ¿ÊÇ¿ÉÑ¡µÄ¡£
+
+ ±äÁ¿/´°¿Ú ²ÎÊý£º
+
+
+ [href]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öÁ´½Ó£¬´Ë±äÁ¿±»Á´½ÓÖеÄ"href"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [target]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öÁ´½Ó£¬´Ë±äÁ¿±»Á´½ÓÖеÄ"target"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [css]
+ Ö÷ÌâÖе¯³ö´°¿ÚCSSµÄλÖá£
+
+
+×¢Ò⣺´ÓÕâ¸öÄ£°åÖпÉÒÔµ÷ÓÃ"window.opener.tinyMCE.insertLink(href, target)"Õâ¸öjavascriptº¯Êý£¬ËüµÄ×÷ÓÃÊÇÊÇÔÚµ±Ç°Ñ¡¶¨µÄ±à¼Æ÷ÖвåÈëÁ´½Ó£¬²¢ÇÒÓ¦µ±ÔÚ"²åÈë"°´Å¥°´ÏÂʱ±»µ÷Óá£
+
+
+º¯Êý TinyMCE_<theme or plugin > _getInsertImageTemplate(settings)
+´Ëº¯Êý¸ºÔð²åÈëͼÏñµ¯³ö´°¿ÚµÄ²¼¾Ö£¬Ëü·µ»Ø°üº¬Ìض¨Ãû³ÆµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£½âÊÍÈçÏ£¬×¢ÒâÓÃ[]À¨ÆðÀ´µÄÃû³ÆÊÇ¿ÉÑ¡µÄ¡£ ´Ëº¯ÊýµÄsettings²ÎÊýÊÇÒ»¸ö°üº¬ÁËtinyMCEÉèÖúÍÑ¡ÏîµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£
+Ä£°åÊý¾Ý£º
+
+
+
+
+ html
+ HTMLÄ£°åÊý¾Ý£¬ËüµÄÖµÊÇʵÏÖͼÏñ¶Ô»°¿òËùÐèµÄÈ«²¿HTML´úÂë¡£×¢Ò⣺ÔÚʹÓÃʱ{$<variable>}»á±»Êµ¼ÊµÄÖµÌæ»»¡£¹ØÓÚÕâÐ©ÌØ¶¨ÖµµÄ¸üÏêϸ˵Ã÷¼ûºóÃæ¡£Èç¹û"file"²ÎÊýÓи³Öµ£¬´Ë²ÎÊý²»ÊDZØÐëµÄ¡£
+
+
+ file
+ ҪʹÓõÄÍⲿģ°åÎļþµÄÃû³Æ£¬Ëü¿ÉÒÔÊÇÏñ.php,.asp,.jspÕâÑùµÄ¶¯Ì¬Ò³¡£
+
+
+ [width]
+ µ¯³ö´°¿ÚµÄ¿í¶È£¬ÒÔÏóËØÎªµ¥Î»£¬Ä¬ÈÏΪ320.
+
+
+ [height]
+ µ¯³ö´°¿ÚµÄ¸ß¶È£¬ÒÔÏóËØÎªµ¥Î»£¬Ä¬ÈÏΪ200.
+
+
+ÉÏÊö"html"ÖеıäÁ¿±»TinyMCEµÄÄÚ²¿ÖµËùÌæ»»¡£ÓÐÁ½ÖÖ²»Í¬ÀàÐ͵ıäÁ¿£¬Ò»ÖÖÊÇÒÔ"lang_"Ϊǰ׺µÄ£¬ËüÃǻᱻÏàÓ¦Ãû³ÆµÄÓïÑÔ°üÌæ»»¡£ÀýÈ磬<b>{$lang_test}</b>±»ÓïÑÔ±äÁ¿"tinyMCELang['lang_test']"ËùÌæ»»£¬Êä³ö¾Í³ÉÁË<b>Test</b>¡£ ÁíÍâµÄ±äÁ¿ÊÇËùÓÃÄ£°åÖ±½Ó´«µÝµÄ£¬ÁоÙÈçÏ¡£ ×¢ÒâÓÃ[]À¨ÆðÀ´µÄ±äÁ¿ÊÇ¿ÉÑ¡µÄ¡£
+
+ ±äÁ¿/´°¿Ú ²ÎÊý£º
+
+
+ [src]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"src"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [alt]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"alt"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [border]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"border"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [hspace]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"hspace"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [vspace]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"vspace"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [width]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"width"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [height]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"height"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [align]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸öͼÏñ£¬´Ë±äÁ¿±»Í¼ÏñÖеÄ"align"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [css]
+ Ö÷ÌâÖе¯³ö´°¿ÚCSSµÄλÖá£
+
+
+×¢Ò⣺´ÓÕâ¸öÄ£°åÖпÉÒÔµ÷ÓÃ"window.opener.tinyMCE.insertImage(src, alt, border, hspace, vspace, width,
+ height, align)"Õâ¸öjavascriptº¯Êý£¬ËüµÄ×÷ÓÃÊÇÊÇÔÚµ±Ç°Ñ¡¶¨µÄ±à¼Æ÷ÖвåÈëͼÏñ£¬²¢ÇÒÓ¦µ±ÔÚ"²åÈë"°´Å¥°´ÏÂʱ±»µ÷Óá£
+
+
+º¯Êý TinyMCE_<theme or plugin > _getInsertTableTemplate(settings)
+£¨¿ÉÑ¡£©
+´Ëº¯Êý¸ºÔð²åÈë±í¸ñµ¯³ö´°¿ÚµÄ²¼¾Ö£¬Ëü·µ»Ø°üº¬Ìض¨Ãû³ÆµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£½âÊÍÈçÏ£¬×¢ÒâÓÃ[]À¨ÆðÀ´µÄÃû³ÆÊÇ¿ÉÑ¡µÄ¡£ ´Ëº¯ÊýµÄsettings²ÎÊýÊÇÒ»¸ö°üº¬ÁËtinyMCEÉèÖúÍÑ¡ÏîµÄÃû³Æ£Öµ ¶ÔµÄÊý×é¡£
+Ä£°åÊý¾Ý£º
+
+
+
+
+ html
+ HTMLÄ£°åÊý¾Ý£¬ËüµÄÖµÊÇʵÏÖ±í¸ñ¶Ô»°¿òËùÐèµÄÈ«²¿HTML´úÂë¡£×¢Ò⣺ÔÚʹÓÃʱ{$<variable>}»á±»Êµ¼ÊµÄÖµÌæ»»¡£¹ØÓÚÕâÐ©ÌØ¶¨ÖµµÄ¸üÏêϸ˵Ã÷¼ûºóÃæ¡£Èç¹û"file"²ÎÊýÓи³Öµ£¬´Ë²ÎÊý²»ÊDZØÐëµÄ¡£
+
+
+ file
+ ҪʹÓõÄÍⲿģ°åÎļþµÄÃû³Æ£¬Ëü¿ÉÒÔÊÇÏñ.php,.asp,.jspÕâÑùµÄ¶¯Ì¬Ò³¡£
+
+
+ [width]
+ µ¯³ö´°¿ÚµÄ¿í¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ [height]
+ µ¯³ö´°¿ÚµÄ¸ß¶È£¬ÒÔÏóËØÎªµ¥Î»¡£
+
+
+ÉÏÊö"html"ÖеıäÁ¿±»TinyMCEµÄÄÚ²¿ÖµËùÌæ»»¡£ÓÐÁ½ÖÖ²»Í¬ÀàÐ͵ıäÁ¿£¬Ò»ÖÖÊÇÒÔ"lang_"Ϊǰ׺µÄ£¬ËüÃǻᱻÏàÓ¦Ãû³ÆµÄÓïÑÔ°üÌæ»»¡£ÀýÈ磬<b>{$lang_test}</b>±»ÓïÑÔ±äÁ¿"tinyMCELang['lang_test']"ËùÌæ»»£¬Êä³ö¾Í³ÉÁË<b>Test</b>¡£ ÁíÍâµÄ±äÁ¿ÊÇËùÓÃÄ£°åÖ±½Ó´«µÝµÄ£¬ÁоÙÈçÏ¡£ ×¢ÒâÓÃ[]À¨ÆðÀ´µÄ±äÁ¿ÊÇ¿ÉÑ¡µÄ¡£
+
+ ±äÁ¿/´°¿Ú ²ÎÊý£º
+
+
+ [cols]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄÁÐÊýËùÌæ´ú¡£
+
+
+ [rows]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄÐÐÊýËùÌæ´ú¡£
+
+
+ [border]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"border"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [cellpadding]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"cellpadding"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [cellspacing]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"cellspacing"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [width]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"width"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [height]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"height"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [align]
+ Èç¹ûÓÐÑ¡¶¨Ò»¸ö±í¸ñ£¬´Ë±äÁ¿»á±»±í¸ñµÄ"align"ÊôÐÔÖµËùÌæ´ú¡£
+
+
+ [action]
+ ¸ù¾ÝÓû§ÊÇÑ¡ÔñÁËÒ»¸ö±í¸ñ»¹ÊÇ´´½¨Ò»¸öеıí¸ñÀ´Ñ¡Ôñ²Ù×÷ÀàÐÍÊÇ"update"»¹ÊÇ"insert"¡£
+
+
+
+
+º¯Êý TinyMCE_<theme or plugin > _handleNodeChange £¨¿ÉÑ¡£©
+´Ëº¯ÊýÔÚij¸ö±à¼Æ÷ʵÀýµÄ¾Û½¹×´Ì¬·¢Éú¸Ä±äʱ±»µ÷Ó㬵±Ç°Ð¾۽¹µÄ½Úµã±»×öΪ²ÎÊý´«µÝ¸ø´Ëº¯Êý¡£Õâ¶ÔÓÚÄãÐèÒª¸ù¾ÝÓû§µÄÑ¡ÔñÀ´¸Ä±äÓû§½çÃæ·Ç³£ÓÐÓá£
+²ÎÊý£º
+
+
+
+
+ editor_id
+ ±à¼Æ÷µÄΨһIDºÅ£¬Õâ¸úgetEditorTemplateÖеÄ$editor_id±äÁ¿Ò»Ö¡£
+
+
+ node
+ µ±Ç°Êó±êËùÔÚλÖýڵãµÄÒýÓá£
+
+
+ undo_index
+ µ±Ç°³·ÏûË÷Òý£¬Èç¹û³·Ïû/ÖØ×ö¹¦Äܱ»½ûÓã¬ÆäֵΪ-1¡£
+
+
+ undo_levels
+ µ±Ç°³·Ïû²ã´ÎµÄÊýÄ¿£¬Èç¹û³·Ïû/ÖØ×ö¹¦Äܱ»½ûÓã¬ÆäֵΪ-1¡£
+
+
+ visual_aid
+ ÊÓ¾õ°ïÖúģʽµÄ״̬£¬True/false¡£
+
+
+ any_selection
+ ÊÇ·ñÑ¡¶¨ÈκÎÎÄ×Ö»òͼÏñ¡£
+
+
+
+
+º¯Êý TinyMCE_<theme or plugin > _execCommand £¨¿ÉÑ¡£©
+µ±Ö´ÐÐÏñ"bold"»ò"createlink"ÕâÑùµÄÃüÁîʱ£¬´Ë·½·¨±»µ÷Óá£È»ºó´Ë »Øµ÷/Ö÷Ìâ/²å¼þ º¯Êý»ØÖжÏÖ÷ÌâÌØ¶¨ÃüÁ²¢Ö´Ðпͻ§Âß¼¡£Èç¹û´ËÃüÁî·µ»Øtrue£¬ÃüÁî´¦Àí±»ÖÕÖ¹£¬Ä¬ÈϵÄtinyMCEÃüÁî´¦ÀíÓÀÔ¶²»»á±»Ö´ÐС£
+²ÎÊý£º
+
+
+
+
+ editor_id
+ ±à¼Æ÷µÄΨһIDºÅ£¬Õâ¸úgetEditorTemplateÖеÄ$editor_id±äÁ¿Ò»Ö¡£
+
+
+ element
+ ¶Ô±à¼Æ÷ʵÀýÖÐÎĵµDOM¸ù×é¼þµÄÒýÓá£
+
+
+ command
+ ÒªÖ´ÐеÄÃüÁÀýÈ磺"myCommand"¡£
+
+
+ user_interface
+ ÊÇ·ñʹÓÃÓû§½çÃæ£¬true/falseÑ¡Ïî¡£
+
+
+ value
+ Òª´«¸øÃüÁîµÄ×Ô¶¨ÒåÊý¾ÝÖµ£¬¿ÉÒÔÊÇÈκÎÊý¾ÝÀàÐÍ¡£
+
+
+
+·µ»Ø£º true - ÃüÁî±»ÖÕÖ¹£¬ÃüÁî´¦Àí²»ÔÙ¼ÌÐø£»false - ¼ÌÐøexecCommand´¦Àí£¬Ã°Åݵġ£
+
+º¯Êý TinyMCE_<theme or plugin> _getControlHTML(control_name) £¨¿ÉÑ¡£©
+µ±±à¼Æ÷ÐèҪʵÏÖij¸öÌØ¶¨¿ØÖÆ/°´Å¥µÄʱºò´Ëº¯Êý±»µ÷Óã¬Ëü·µ»ØµÄÊÇÄǸö¿ØÖƵÄHTMLÄ£°å£¬Èç¹û¿ØÖƵÄÃû×Ö²»Äܱ»Ê¶±ðÔò·µ»Ø¿Õ´®¡£ ×¢Òâ±äÁ¿{$pluginurl}»á±»µ±Ç°²å¼þĿ¼µÄURLǰ׺ËùÌæ»»¡£
+²ÎÊý£º
+
+
+
+
+ control_name
+ ҪƥÅäµÄµÄ¿ØÖƵÄÃû³Æ¡£ÀýÈ磬"iespell"´ú±íµÄÊÇiespell²å¼þ¡£
+
+
+
+·µ»Ø£º ·µ»ØµÄ¸Ã¿ØÖƵÄHTMLÄ£°å£¬Èç¹û¿ØÖƵÄÃû×Ö²»Äܱ»Ê¶±ðÔò·µ»Ø¿Õ´®¡£
+
+ º¯Êý TinyMCE_<plugin> _cleanup(type, content) £¨¿ÉÑ¡£©
+µ±±à¼Æ÷¶ÔÄÚÈݽøÐÐÇåÀíʱ´Ëº¯Êý±»µ÷Óá£
+²ÎÊý£º
+
+
+
+
+ type
+ ÇåÀíµÄÀàÐÍ£¬insert_to_editor»òÕßget_from_editor¡£
+ µ±Ïò±à¼Æ÷Öд«µÝÄÚÈÝʱʹÓÃinsert_to_editor£»µ±´Ó±à¼Æ÷ÖлñÈ¡ÄÚÈÝʱʹÓÃget_from_editor¡£
+
+
+ content
+ ÒªÇåÀíµÄHTMLÄÚÈÝ£¬¸Ã×Ö·û´®°üº¬ÁËHTML´úÂë¡£
+
+
+
+·µ»Ø£º ÇåÀíºóµÄHTML´úÂë¡£
+
+
+
+
+
diff --git a/www/extras/tinymce/docs/zh_cn/using.htm b/www/extras/tinymce/docs/zh_cn/using.htm
new file mode 100644
index 000000000..fa51dacbc
--- /dev/null
+++ b/www/extras/tinymce/docs/zh_cn/using.htm
@@ -0,0 +1,706 @@
+
+
+ʹÓÃ/¼¯³ÉTinyMCE
+
+
+
+
+
+
+
+
+
+
+³õʼ»¯
+
+ÔÚ³õʼ»¯TinyMCEµÄʱºò£¬ÐèÒª°ÑÒÔÏ´úÂë¼ÓÈëµ½Ò³ÃæµÄHEAD±êÇ©ÖС£°´ÒÔÏÂÀý×ÓÖеÄÉèÖã¬ËùÓеÄTEXTAREAÎı¾ÓòÔÚÒ³Ãæ¼ÓÔØÊ±½«±»×ª»»³É±à¼Æ÷¡£ÁíÍ⻹ÓÐÆäËûÄ£¿é£¬ÎÒÃǽ«ÔÚºóÃæÏêϸ½²Êö¡£
+
+
+
+
+ <!-- tinyMCE -->
+ <script language="javascript" type="text/javascript"
+ src="jscripts/tiny_mce/tiny_mce.js "></script>
+ <script language="javascript" type="text/javascript">
+ tinyMCE.init({
+ mode : "textareas"
+ });
+ </script>
+ <!-- /tinyMCE -->
+
+
+
+×¢ÒâÒÔÉϺìÉ«²¿·ÖÊÇtiny_mce.js½Å±¾ÎļþµÄλÖ㬸ÃÎļþÖаüº¬ÁË±à¼Æ÷ËùÐèÒªµÄÈ«²¿´úÂ룬Ö÷Ìâ¼°ÓïÑÔ°ü½«ÔÚ³õʼ»¯Ê±±»¼ÓÔØ¡£
+À¶É«²¿·ÖÊdzõʼ»¯µ÷Óã¬ËüÉú³ÉTinyMCEµÄÈ«¾ÖʵÀý£¬ÆäÖеÄÉèÖü°Ãû³Æ£Öµ ÊôÐÔ½«ÔÚÒÔºóÃèÊö¡£
+
+ ÉèÖÃ
+
+ÒÔÃû³Æ£Öµ ÊôÐÔ·½Ê½´«µÝ¸øtinyMCEµÄinit·½·¨µÄÉèÖÿØÖÆ×ųÌÐòµÄÈ«¾ÖÐÐΪ¡£ËùÓеļü¼°¿ÉÄܵļüÖµÈçϱíËùʾ¡£×¢Ò⣬ÓÃ[]À¨ÆðÀ´µÄÃû³ÆÊÇ¿ÉÑ¡µÄ£¬²»ÊDZØÐëµÄÉèÖá£
+
+
+
+ ³£¹æÉèÖÃ
+
+
+ mode
+ Mode¿ÉÒÔÊÇÒÔϼ¸¸öÖµÖ®Ò»£º
+ textareas
+ - Ò³Ãæ¼ÓÔØÊ±°ÑËùÓÐTEXTAREA×é¼þת»»³É±à¼Æ÷. specific_textareas
+ - ½«ËùÓÐ"mce_editable"ÊôÐÔֵΪtrueµÄTEXTAREAת»»³É±à¼Æ÷.
+ exact - ֻת»»ÔÚ"elements"ÉèÖÃÖÐÖ¸¶¨µÄÈ·ÇÐ×é¼þ.
+
+
+ [theme]
+ Ö¸¶¨ÒªÊ¹ÓõÄÖ÷ÌâÃû³Æ£¬Ö÷Ì⽫±»·ÅÔÚTinyMCEµÄthemesĿ¼Ï£¬Ä¬ÈÏΪdefault¡£TinyMCE×Ô´øÈý¸öÄÚÖõÄÖ÷Ì⣬ËüÃÇÊÇsimple£¬defaultºÍadvanced¡£
+ Èç¹ûÄãÏë´´½¨×Ô¼ºµÄÖ÷Ì⣬Çë×ÐϸÔĶÁÎĵµµÄ Ö÷Ìâ ²¿·Ö¡£
+
+
+ [plugins]
+ ´ËÑ¡ÏîÊÇһϵÁÐÒÔ¶ººÅ·Ö¸ôµÄÖ÷Ìâ²å¼þÁÐ±í£¨ÀýÈ磬¿ÉÒÔÖ»ÓÃÀ´À©Õ¹Í¼Ïñ¶Ô»°¿ò£©¡£ÕâЩ²å¼þ¸²¸ÇÁËÖ÷ÌâÄ£°åÖж¨ÒåµÄ¹¦ÄÜ¡£²å¼þÂß¼Ó¦¸Ã°üº¬ÔÚÒ»¸ö½Ð"editor_plugin.js"µÄÎļþÖУ¬ËüÊDzå¼þĿ¼ÖÐΨһ±»°üº¬½øÀ´µÄÎļþ¡£
+ ÀýÈ磺"my_image_dialog,my_link_dialog".
+ Èç¹ûÄãÏë´´½¨×Ô¼ºµÄ²å¼þ£¬Çë×ÐϸÔĶÁÎĵµµÄ Ö÷Ìâ ²¿·Ö¡£
+
+
+ [language]
+ TinyMCEÖÐʹÓõÄÓïÑÔ°ü£¬ÕâÓ¦¸ÃÊÇÏñse,uk,usµÈÖîÈç´ËÀàµÄFN´úÂ룬Ëü±»ÓÃÀ´´Ó"langs"Ŀ¼ÖлñÈ¡ÓïÑÔ°ü£¬¸ÃÉèÖõÄĬÈÏֵΪ"uk".
+ ÖÐÎÄÓû§½¨ÒéÄúʹÓÃ"zh-CN"
+
+
+ [elements]
+ ÒÔ¶ººÅ·Ö¸ôµÄÓÃÀ´×ª»»³É±à¼Æ÷µÄ×é¼þÁÐ±í£¬¸ÃÑ¡Ïî½öÔÚ"mode"Ñ¡Ïî±»ÉèÖóÉ"exact"ʱʹÓ᣸ÃÁбíÖеÄÔªËØ¿ÉÒÔÊÇÈκÎÓÐid»ònameÊôÐÔµÄHTML×é¼þ¡£
+
+
+ [ask]
+ µ±"mode"±»ÉèÖóÉ"textareas"»ò"specific_textareas"µÄʱºò£¬¸ÃÑ¡Ïî±»Ó¦Óã¬Ñ¯ÎÊÓû§ÊäÈë¿òÊÇ·ñ½«±»×ª»»³É±à¼Æ÷¡£
+ Èç¹ûÄãÏëʹÓÃÕâ¸öÑ¡Ï½«ËüÉèÖÃΪtrue.
+
+
+ [textarea_trigger]
+ textarea£¨Îı¾Óò£©´¥·¢Æ÷µÄÊôÐÔ£¬Ä¬ÈÏֵΪ"mce_editable"¡£
+ ¸ÃÑ¡Ïî½öÔÚ"mode"±»ÉèÖÃΪ"specific_textareas"ʱʹÓá£
+
+
+ [valid_elements]
+ ÒÔ¶ººÅ·Ö¸ô¿ªµÄ×é¼þת»»²¿·ÖµÄÁÐ±í¡£
+
+ ÀýÈ磺 a[href|target=_blank],strong/b,div[align],br.
+ ÒÔÉÏÀý×Ó¸æËßTinyMCEÒÆ³ýËùÓгýÁË"a, strong, div"ºÍ"br"µÄ×é¼þ£¬½«ÔªËØbת»»³Éstrong£¬Ä¬ÈÏtargetÉèΪ"_blank"²¢±£³Öhref¡¢target¡¢alignÊôÐÔ¡£ÔÚÆ¥Åä×é¼þ¼°ÊôÐÔµÄÃû³ÆÊ±¿ÉÒÔʹÓÃÏñ*,+,?ÕâÑùµÄͨÅä·û¡£
+ ×Ö·û£º
+
+
+ ,
+ ¸÷×é¼þ¶¨ÒåÖ®¼äµÄ·Ö¸ô·û¡£
+
+
+ /
+ Á½¸öͬÒå×é¼þÖ®¼äµÄ·Ö¸ô·û¡£µÚÒ»¸ö×é¼þÊǻᱻÓÃÀ´Êä³öµÄÄǸö£¨¼´µÚ¶þ¸ö×é¼þ±»µÚÒ»¸öÌæ»»£©¡£
+
+
+ |
+ ¸÷ÊôÐÔ¶¨ÒåÖ®¼äµÄ·Ö¸ô·û¡£
+
+
+ [
+ ¶¨Òåij×é¼þµÄÊôÐÔÁбíµÄ¿ªÊ¼·ûºÅ¡£
+
+
+ ]
+ ¶¨Òåij×é¼þµÄÊôÐÔÁбíµÄ½áÊø·ûºÅ¡£
+
+
+ =
+ ½«ÊôÐÔµÄĬÈÏÖµÉèÎªÌØ¶¨Öµ¡£ÀýÈ磺"target=_blank"
+
+
+ :
+ ½«ÊôÐÔµÄֵǿÐÐÉèÎªÌØ¶¨Öµ¡£ÀýÈ磺"border:0"
+
+
+ <
+ УÑéij¸öÊôÐÔµÄÖµ¡£ÀýÈ磺"target<_blank?_self"
+
+
+ ?
+ ÊôÐÔУÑéÖµÖ®¼äµÄ·Ö¸ô·û£¬¼ûÉÏ¡£
+
+
+
+ ÌØÊâ±äÁ¿£º
+ {$uid} - ²úÉúÒ»¸öΨһIDºÅ¡£ ÀýÈ磺"p[id:{$uid}]".
+ ´ËÑ¡ÏîµÄĬÈÏÖµÊÇÒÔÏÂģʽ£º "a[href|target],strong/b[class],em/i[class],strike[class],u[class],p[class|align],ol,ul,li,br,
+ img[class|src|border=0|alt|hspace|vspace|width|height|align],sub,sup,blockquote[dir|style],
+ table[border=0|cellspacing|cellpadding|width|height|class|align],tr[rowspan],
+ td[colspan|rowspan|width|height],div[class|align],span[class|align],pre[class|align],
+ address[class|align],h1[class|align],h2[class|align],h3[class|align],
+ h4[class|align],h5[class|align],h6[class|align],hr".
+ Òª°üº¬ËùÓÐ×é¼þ¼°ÊôÐÔ£¬ÇëʹÓà *[*] £¬ÕâÔÚʹÓÃinvalid_elementsÑ¡ÏîÊ±ÌØ±ðÓÐÓá£
+
+
+ [extended_valid_elements]
+ Ïò"valid_elements"ÁбíĩβÌí¼Ó¿ÉÓÃ×é¼þ¡£´ËÑ¡ÏîÔÚÄã½ö½öÏëÍùĬÈÏÁбíÖÐÔöÌí²¿·Ö×é¼þʱÏ൱ÓÐÓá£
+ ¸ñʽÓë"valid_elements"Ò»Ö¡£
+
+
+ [invalid_elements]
+ Êä³öʱÐèÒªÅųýÔÚÍâµÄ×é¼þÃû³ÆÁÐ±í£¬ÒÔ¶ººÅ·Ö¸ô¿ª¡£
+
+
+ [trim_span_elements]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖÃΪtrue£¬²»ÐèÒªµÄ×é¼þ½«±»ÒƳý¡£Ä¬ÈÏÖµ¼´Îªtrue¡£
+
+
+ [verify_css_classes]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖÃΪtrue£¬½«»áУÑéCSSµÄclassÊôÐÔ¡£Ä¬ÈÏÖµ¼´Îªtrue¡£
+
+
+ [verify_html]
+ True/FalseÑ¡Ïî¡£´ú±í×ÅHTMLÄÚÈÝÊÇ·ñÐèҪУÑ顣ĬÈÏֵΪtrue¡£
+
+
+ [urlconvertor_callback]
+ µ±ÇåÀí½ø³Ì´¦ÀíURLµÄʱºòµ÷Óõĺ¯ÊýÃû¡£´Ëº¯Êý±ØÐë×ñ´ÓÒÔϵĸñʽ£ºfunc(url, node, on_save) £¬·µ»Ø×ª»»ºóµÄURL¡£´ËÉèÖÃרΪ¼¯³ÉÄ¿µÄ¶øÉè¡£²ÎÊýurl´ú±íҪת»»µÄµØÖ·£¬node´ú±í°üº¬URLµÄÄǸö½Úµã£¬on_saveÊÇÒ»¸ö²¼¶ûÖµ£¨ÔÚÓû§Ìá½»±íµ¥Ê±ÎªÕ棩¡£
+
+
+ [preformatted]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖÃΪtrue£¬±à¼Æ÷½«°ÑÖÆ±í·û£¨TAB£©×ª»»³ÉËõ½ø£¬³ý´ËÍâ±£³ÖÆäËûwhitespace£¨¿Õ°××Ö·û¡¢»»Ðеȣ©×Ö·û£¬¾ÍÈçͬHTML±êÇ©ÖеÄPREµÄЧ¹û¡£Ä¬ÈÏֵΪfalse¡£
+
+
+ [insertlink_callback]
+ µ±Ö´ÐÐ"insertlink"ÃüÁîʱµ÷Óõĺ¯ÊýÃû¡£´Ëº¯Êý»ñȡѡ¶¨Á´½ÓµÄµØÖ·ºÍÄ¿±ê£¬·µ»ØÒ»¸öÒÔ"href", "target"ºÍ "title"ΪcollectionÃû³ÆµÄÊý×é¡£µ±Ê¹ÓÃд°¿Úʱ£¬ÎªÁ˼æÈÝMozilla£¬»áÔÚwindow.opener£¨µ¯³ö´°¿ÚµÄĸ´°¿Ú£¬ÒëÕß×¢£©Éϵ÷ÓÃtinyMCE.insertLink¡£
+
+
+ [insertimage_callback]
+ µ±Ö´ÐÐ"insertimage"ÃüÁîʱµ÷Óõĺ¯ÊýÃû¡£´Ëº¯Êý»ñȡѡ¶¨Í¼ÏñµÄurl²¢·µ»ØÒ»¸öÒÔsrcºÍaltΪcollectionÃû³ÆµÄÊý×é¡£µ±Ê¹ÓÃд°¿Úʱ£¬ÎªÁ˼æÈÝMozilla£¬»áÔÚwindow.openerÉϵ÷ÓÃtinyMCE.insertImage¡£
+ º¯Êý¸ñʽ£ºinsertimage(src, alt, border, hspace, vspace, width, height, align, title,
+ onmouseover, onmouseout, action).
+
+
+ [setupcontent_callback]
+ µ±±à¼Æ÷³õʼ»¯Ê±µ÷Óõĺ¯ÊýÃû¡£º¯Êý¸ñʽ£ºsetupContentCallback(editor_id, node)£¬ÆäÖÐeditor_idÊÇ±à¼Æ÷µÄid£¬nodeÊÇ±à¼Æ÷ËùÔÚµÄbody×é¼þ½Úµã¡£
+
+
+ [save_callback]
+ µ±Ö´ÐÐtriggerSave£¨´¥·¢±£´æ£©ÃüÁî±»µ÷ÓÃʱµ÷Óõĺ¯ÊýÃû¡£º¯Êý¸ñʽ£ºsave(id, content, node)£¬Èç¹ûÓÐÌØ¶¨·µ»ØÖµ£¬ÆäÖµ½«»á±»¼Óµ½HTML±íµ¥×é¼þÉÏ¡£ËùÒÔ¿ÉÒÔͨ¹ý´Ëº¯ÊýÀ´×Ô¶¨ÒåÓû§×ª»»Âß¼¡£
+
+
+ [docs_language]
+ TinyMCEÎĵµÖÐʹÓõÄÓïÑÔ£¬ÕâÓ¦¸ÃÊÇÏñse,uk,usµÈÖîÈç´ËÀàµÄFN´úÂ룬Ëü±»ÓÃÀ´´Ó"<theme>/docs/<lang>"Ŀ¼ÖлñÈ¡Îĵµ¡£
+ ¸ÃÑ¡ÏîµÄĬÈÏÖµ¸úlanguageÑ¡ÏîÒ»Ö¡£
+
+
+ [width]
+ ±à¼Æ÷µÄ¿í¶È£¬ËüĬÈϵĿí¶ÈÊÇÔÏȱ»Ìæ»»µÄ×é¼þ¿í¶È¡£
+
+
+ [height]
+ ±à¼Æ÷µÄ¸ß¶È£¬ËüĬÈϵĸ߶ÈÊÇÔÏȱ»Ìæ»»µÄ×é¼þ¸ß¶È¡£
+
+
+ [content_css]
+ ±à¼´°¿ÚÖÐҪʹÓõÄCSSÎļþ£¬Æä·¾¶Ó¦¸Ã¸úÒ³ÃæÏà¹Ø¡£
+
+
+ [popups_css]
+ Ïñ²åÈëÁ´½ÓºÍͼƬʱµÄµ¯³ö´°¿ÚÖÐʹÓõÄCSSÎļþ£¬Æä·¾¶Ó¦¸Ã¸úÒ³ÃæÏà¹Ø¡£
+
+
+ [editor_css]
+ ±à¼Æ÷ʹÓõÄCSSÎļþ£¬Æä·¾¶Ó¦¸Ã¸úÒ³ÃæÏà¹Ø¡£
+
+
+ [encoding]
+ ±à¼Æ÷µÄÊä³ö±àÂ룬´ËÑ¡ÏîĿǰֻÄÜΪ"html"»òÕ߿ա£Èç¹ûÉèÖÃΪ"html"£¬±à¼Æ÷µÄÊä³ö½«¾¹ýHTML±àÂë´¦Àí¡£
+ ÀýÈ磺<½«»á±ä³É<£¬ÒÀ´ËÀàÍÆ¡£Ä¬ÈÏÖµÊǿա£
+
+
+ [debug]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬ÏñcssÎļþ·¾¶µÈµ÷ÊÔÐÅÏ¢½«»á±»ÏÔʾ¡£
+
+
+ [visual]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬µ±±ß¿òÉèÖóÉ0µÄʱºò£¬Îª´ïµ½¸üºÃµÄÊÓ¾õЧ¹ûÔÚ±à¼Æ÷Öбí¸ñ»áÓÐÐéÏß³öÏÖ¡£
+ ĬÈÏֵΪtrue¡£
+
+
+ [visual_table_style]
+ Óû§¿É×Ô¶¨Òå±í¸ñµÄÑùʽ£¬Ä¬ÈÏֵΪ£º"border: 1px dashed #BBBBBB"¡£
+
+
+ [add_form_submit_trigger]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬½«Ç¿ÖƽøÐÐËùÓÐ±íµ¥µÄ"onsubmit"ʼþ´¦Àí²¢Òý·¢±£´æ¡£´ËÑ¡ÏîĬÈÏֵΪtrue¡£
+
+
+ [add_unload_trigger]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬ÔÚ"onunload"ʼþ·¢Éúʱ£¬µ±Ç°´°¿Ú»áÒý·¢Ò»¸ötriggerSaveµ÷ÓᣴËtriggerSaveµ÷Óò»»á×öÈκÎÇåÀí¹¤×÷£¬ÒòΪËüÊÇÓÃÀ´´¦Àí ǰ½ø/ºóÍË °´Å¥µÄ¡£´ËÑ¡ÏîĬÈÏֵΪtrue¡£
+
+
+ [force_br_newlines]
+ True/FalseÑ¡Ïî¡£´ËÑ¡ÏîÇ¿ÖÆ±à¼Æ÷½«¶ÎÂä·ûºÅ(P)Ìæ»»³É»»Ðзû(BR)¡£´ËÑ¡ÏîĬÈÏֵΪfalse¡££¨ÊµÑé½×¶Î£©
+
+
+ [force_p_newlines]
+ True/FalseÑ¡Ïî¡£Èç¹û´ò¿ª´ËÑ¡ÏÔÚ°´Ï»سµ¼ü£¨Enter£©Ê±Mozilla/Firefoxä¯ÀÀÆ÷»áÉú³É¶ÎÂä·ûºÅ(P)£¬ÔÚ°´ÏÂShift+Enterʱ»áÉú³É»»Ðзû(BR)¡£´ËÑ¡ÏîĬÈÏΪtrue¡£
+
+
+ [relative_urls]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬¾ø¶Ô·¾¶½«±»×ª»»³ÉÏà¶Ô·¾¶¡£Ä¬ÈÏֵΪtrue¡£
+
+
+ [remove_script_host]
+ True/FalseÑ¡Ïî¡£ÔÚÉèÖóÉtrueµÄÇé¿öÏ£¬Èç¹ûURLÖеÄÖ÷»úÃû¡¢¶Ë¿ÚºÅ¸ú±à¼Æ÷µ±Ç°ËùÔÚÒ»Ö£¬ËüÃÇ»á±»ÒÆ³ý¡£
+ ÀýÈ磺±à¼Æ÷ËùÔÚÕ¾µãΪ http://www.somesite.com £¬ÄÇôÒÔÏÂÁ´½Ó http://www.somesite.com/somedir/somepage.html ½«»á±»×ª»»³É /somedir/somepage.html ¡£ Èç¹ûrelative_urls±»ÉèÖóÉfalse£¬´ËÑ¡ÏîĬÈÏΪtrue¡£
+
+
+ [focus_alert]
+ True/FalseÑ¡Ïî¡£Èç¹ûÉèÖóÉtrue£¬±à¼Æ÷ÔÚʧȥ½¹µãµÄʱºò¾Í»á³öÏÖÒ»¸ö·³È˵ľ¯¸æ¿ò¡£Ä¬ÈÏֵΪtrue¡£
+
+
+ [document_base_url]
+ ÔÚ½«¾ø¶Ô·¾¶×ª»»³ÉÏà¶Ô·¾¶µÄʱºò»áÓõ½´ËÎĵµµÄURL¡£Õâ¸öÑ¡ÏîÖ¸¶¨ÁË±à¼Æ÷µ±Ç°µÄĬÈÏÎĵµ¡£
+ ×¢ÒâÈç¹û´ËÑ¡ÏîÖ¸¶¨µ½Ò»¸öÓòÃû£¬ÇëÌí¼ÓÐÒéǰ׺£¬²¢ÒÔб¸Ü½áβ¡£ÀýÈ磺http://www.somehost.com/mydir/
+
+
+ [custom_undo_redo]
+ True/FalseÑ¡Ïî¡£´ËÑ¡Ïî¿ÉÒÔʹ ³·Ïû/ÖØ×ö ¹¦Äܸü¼ÓÍêÉÆ¡£Ä¬ÈÏֵΪtrue¡£
+
+
+ [custom_undo_redo_levels]
+ ×Ô¶¨Òå×î¶à¿É³·Ïû²Ù×÷µÄ´ÎÊý£¬Ä¬ÈÏÊÇÎÞÏÞÖÆ¡£
+
+
+ [custom_undo_redo_keyboard_shortcuts]
+ Èç¹ûʹÓã¬±à¼Æ÷¿ÉÒÔʹÓÃCtrl+ZºÍCtrl+Y¿ì½Ý¼üÀ´ÊµÏÖ³·ÏûºÍÖØ×ö¡£Ä¬ÈÏÔÊÐí¡£
+
+
+ [fix_content_duplication]
+ True/FalseÑ¡Ïî¡£´ËÑ¡ÏîÐÞÕýÁËMSIEÖÐÒ»¸öÄÚÈÝÖØ¸´µÄbug¡£Ä¬ÈÏÆôÓ㬵«ÊÇΪÁ˼æÈÝÐÔÒ²¿ÉÒÔ½ûÓÃ(false)¡£
+
+
+ [directionality]
+ ´ËÑ¡Ïî¿ÉÒÔÉèÖÃÏñ°¢À²®ÓïµÈÓïÑÔµÄÎÄ×Ö·½Ïò¡£¿ÉÄܵÄֵΪ£ºltr, rtl¡£Ä¬ÈÏÖµ: ltr£¨´Ó×óµ½ÓÒ£©¡£
+
+
+ [auto_cleanup_word]
+ Èç¹ûÆôÓ㬴ÓMS office/WordÕ³ÌùµÄHTML½«»á×Ô¶¯±»ÇåÀí¡£´ËÑ¡ÏîĬÈÏֵΪfalse¡£
+ ×¢Ò⣺´Ë²Ù×÷µ±Ç°½öÖ§³ÖMSIE¡£
+
+
+ [cleanup_on_startup]
+ Èç¹ûÆôÓã¬ÔÚ±à¼Æ÷³õʼ»¯Ê±Îı¾Óò¼°×é¼þ½«»á±»ÇåÀí¡£Ä¬ÈÏֵΪfalse¡£
+
+
+ [inline_styles]
+ Èç¹ûÆôÓã¬Ïñwidth,height,vspace,hspaceºÍalignµÈÊôÐÔ½«»á±»·ç¸ñÊôÐÔÌæ´ú¡£Ä¬ÈÏֵΪfalse¡£
+ ÔÚʹÓôËÑ¡Ïîʱ¼ÇµÃÒª°Ñ·ç¸ñÊôÐÔÓ¦ÓÃÔÚÕýÈ·µÄ×é¼þÉÏ¡£
+
+
+ [convert_newlines_to_brs]
+ Èç¹ûÆôÓã¬ËùÓеÄ\n(ÐÂÐÐ)½«»áÔÚ±à¼Æ÷Æô¶¯Ê±±»×ª»»³É<br />×é¼þ¡£´ËÑ¡ÏîĬÈÏֵΪfalse¡£
+
+
+ [auto_reset_designmode]
+ ÒòΪÔÚµ÷ÓÃstyle.displayµÄnone/block·½·¨À´ÏÔʾ/Òþ²ØÄ³¸öTinyMCE±à¼Æ÷µÄʱºòÓÐbug£¬Éè¼ÆÄ£Ê½ÐèÒª±»ÖØÖᣴËÑ¡ÏîÒ»µ©ÆôÓ㬵±±à¼Æ÷¾Û½¹Ê±£¬½«×Ô¶¯ÖØÖá£Ä¬ÈÏֵΪfalse¡£
+
+
+ [entities]
+ Ò»ÕÅÒÔ×Ö·û´úÂëÀ´²éÕÒÃû³ÆµÄ±í£¬¸Ã±íÖÐÔªËØÊÇÒÔ¶ººÅ·Ö¸ô¿ªµÄʵÌåÁÐ±í¡£¸ÃÁбíÒÔÆæÊýÏżÊýÏîÇø·Ö£¬ÆäÖÐÆæÊýÏîÊDZ»ÓÃÀ´×ª»»µÄ×Ö·û´úÂ룬żÊýÏîÊÇ´ú±íÄǸö×Ö·û´úÂëµÄʵÌåÃû³Æ¡£ÀýÈ磺"8205,zwj,8206,lrm,8207,rlm,173,shy"¡£
+
+
+ [cleanup_callback]
+ ×Ô¶¨ÒåÇåÀíº¯Êý¡£´ËÑ¡ÏîÄÜÈÃÓû§ÔÚĬÈϵÄÇåÀí»ù´¡ÉÏÓÐËùÀ©Õ¹¡£´Ëº¯Êýµ÷ÓøúĬÈϵĵ÷ÓÃÊÇ·Ö¿ªµÄ£¬Ëü²¢²»Ì滻ĬÈϵÄÇåÀíº¯Êý£¬¶ø½ö½öÊÇÀ©Õ¹¡£µã»÷ ²å¼þÇåÀí ²é¿´¸ü¶àϸ½Ú¡£
+
+
+ Ö÷ÌâµÄ¸ß¼¶Ìض¨ÉèÖÃ
+
+
+ [theme_advanced_toolbar_location]
+ ´ËÑ¡ÏîÓÃÀ´¸Ä±ä¹¤¾ßÀ¸µÄĬÈÏλÖ᣿ÉÄܵÄֵΪ£º"top"ºÍ"bottom"¡£Ä¬ÈÏÖµÊÇ"bottom"¡£
+
+
+ [theme_advanced_toolbar_align]
+ ´ËÑ¡ÏîÓÃÀ´ÉèÖù¤¾ßÀ¸µÄ¶ÔÆë·½Ê½ÊÇleft, center»¹ÊÇright¡£Ä¬ÈÏÖµÊÇcenter¡£
+
+
+ [theme_advanced_styles]
+ ´ËÑ¡Ïî¿ÉÒÔÓÃÀ´Ôö¼Ó·ç¸ñÏÂÀ¿òÖеÄCSSÀàºÍÃû³Æ¡£¸ñʽÈçÏ£º"<title>=<class>;.."¡£
+ Èç¹ûûÓÐÖ¸¶¨´ËÑ¡ÏÖ÷ÄÚÈݲ¿·ÖµÄCSSÀཫ»á±»×Ô¶¯µ¼Èë¡£
+ ÀýÈ磺"Header 1=header1;Header 2=header2;Header 3=header3"
+
+
+ [theme_advanced_buttons1]
+ ¹¤¾ßÀ¸ÉϵÚÒ»ÐÐÒª°üº¬µÄ°´Å¥ÁÐ±í£¬ÒÔ¶ººÅ·Ö¸ô¿ª¡£ÀýÈ磺"bold,italic,underline"¡£
+
+ ÔÊÐíµÄ°´Å¥Ãû³ÆÈçÏ£º
+ bold, italic, underline, strikethrough, justifyleft, justifycenter, justifyright,
+ justifyfull, styleselect, bullist, numlist, outdent, indent, undo,redo,
+ link, unlink, image, cleanup, help, code, table, row_before, row_after,
+ delete_row, separator, rowseparator, col_before, col_after, delete_col, hr, removeformat,
+ sub, sup, formatselect, fontselect, fontsizeselect, forecolor,charmap,visualaid,spacer,cut,copy,paste
+
+
+ [theme_advanced_buttons2]
+ ͬÉÏ£¬²î±ðÔÚÓÚÖ¸¶¨µÄÊǹ¤¾ßÀ¸µÚ¶þÐС£
+
+
+ [theme_advanced_buttons3]
+ ͬÉÏ£¬²î±ðÔÚÓÚÖ¸¶¨µÄÊǹ¤¾ßÀ¸µÚÈýÐС£
+
+
+ [theme_advanced_buttons<N>_add]
+ Ïò¹¤¾ßÀ¸ÉÏÌØ¶¨µÄµÚNÐÐÖÐÔö¼Ó¶îÍâµÄ¿ØÖÆ/°´Å¥¡£ÀýÈ磺theme_advaned_buttons3_add : "iespell".
+
+
+ [theme_advanced_buttons<N>_add_before]
+ Ïò¹¤¾ßÀ¸ÉÏÌØ¶¨µÄµÚNÐеÄĬÈϰ´Å¥Ç°ÃæÔö¼Ó¶îÍâµÄ¿ØÖÆ/°´Å¥¡£ÀýÈ磺theme_advaned_buttons3_add_before : "iespell"¡£
+
+
+ [theme_advanced_disable]
+ Òª½ûÓõİ´Å¥/×é¼þµÄÁÐ±í£¬ÒÔ¶ººÅ·Ö¸ô¡£ÀýÈ磺"formatselect".
+
+
+ [theme_advanced_source_editor_width]
+ Ô´Îļþ±à¼Æ÷´°¿ÚµÄ¿í¶È¡£
+
+
+ [theme_advanced_source_editor_height]
+ Ô´Îļþ±à¼Æ÷´°¿ÚµÄ¸ß¶È¡£
+
+
+ [theme_advanced_path_location]
+ ×é¼þ·¾¶ÁбíµÄλÖ㬿ÉÄܵÄֵΪ£º"top"»ò"bottom"¡£Ä¬ÈÏֵΪ£º"none"
+
+
+ [theme_advanced_blockformats]
+ formatselectÁбíÒªÆÁ±ÎµÄ¸ñʽÁÐ±í£¬ÒÔ¶ººÅ·Ö¸ô¿ª¡£Ä¬ÈÏÖµ£ºp,address,pre,h1,h2,h3,h4,h5,h6¡£
+
+
+
+ÒÔÏÂÊÇÒ»¸ö½ÏΪ¸´Ôӵijõʼ»¯Àý×Ó£º
+
+
+
+ <!-- tinyMCE --> <script language="javascript"
+ type="text/javascript" src="jscripts/tiny_mce/tiny_mce.js "></script>
+ <script language="javascript" type="text/javascript">
+ tinyMCE.init({
+ mode : "exact",
+ theme : "mytheme",
+ language : "se",
+ elements : "elm1,elm2"
+ }); </script> <!-- /tinyMCE -->
+
+
+
+ º¯Êý
+£¨¹©¸ß¼¶Ê¹Óã©
+
+TinyMCEÓÐÒ»¸öÈ«¾ÖʵÀý£¬ËüÄÜÌṩһЩ¿É´ÓÒ³Ãæµ÷ÓõĹ«Óú¯Êý¡£
+
+Óï·¨£º tinyMCE.triggerSave([skip_cleanup]);
+
+ÃèÊö£º ½øÐÐÇå³ý²Ù×÷£¬²¢½«±à¼Æ÷ÄÚÈÝÒÆ»Øµ½±íµ¥ÓòÖС£tinyMCEͨ¹ýÏò±íµ¥Ìá½»·½·¨ÖÐÔö¼Ó´¥·¢Æ÷À´×Ô¶¯µ÷Óô˺¯Êý¡£
+
+²ÎÊý£º
+[skip_cleanup] - ½ûÓñ£´æ´¥·¢Æ÷µÄÇå³ý¹¦ÄÜ£¬Ä¬ÈÏΪfalse¡£(¿ÉÑ¡)
+
+·µ»Ø£º ÎÞ
+
+Óï·¨£º tinyMCE.updateContent(form_element_name);
+
+ÃèÊö£º ½«±íµ¥×é¼þµÄÄÚÈÝ×ªÒÆµ½±à¼Æ÷ÖУ¬´Ë²Ù×÷µÄ¹¦ÄܸútriggerSave()ÕýºÃÏà·´¡£µ±ÄãÏ붯̬¸Ä±ä±à¼Æ÷ÄÚÈÝʱ¿ÉÒÔʹÓô˷½·¨¡£
+
+²ÎÊý£º
+ form_element_name - Òª»ñÈ¡ÄÚÈݵÄ×é¼þËùÔÚ±íµ¥µÄÃû³Æ¡£
+
+·µ»Ø£º ÎÞ
+
+Óï·¨£º tinyMCE.execInstanceCommand(editor_id, command, [user_interface], [value]);
+
+ÃèÊö£º ´Ë·½·¨Í¨¹ýeditor_id²ÎÊýÕÒµ½Ä³¸ö±à¼Æ÷ʵÀý£¬ÔÚ´Ë±à¼Æ÷ÉÏÖ´ÐÐÒ»¸öÃüÁî¡£
+
+²ÎÊý£º
+editor_id - ±à¼Æ÷ʵÀýµÄID»òÕß±»Ìæ»»ºóµÄ×é¼þid/Ãû³Æ¡£
+command - ÒªÖ´ÐеÄÃüÁî¡£²é¿´execCommandº¯ÊýÒÔ»ñÈ¡¸ü¶àϸ½Ú¡£
+[user_interface] - ÊÇ·ñʹÓÃÓû§½çÃæ¡£
+[value] - Ö´ÐÐÃüÁîʱҪ´«µÝµÄ²ÎÊý£¬ÀýÈ磺һ¸öURL¡£
+
+·µ»Ø£º ÎÞ
+
+ Óï·¨£º tinyMCE.execCommand(command, [user_interface], [value]);
+
+ÃèÊö£º ´Ë·½·¨ÔÚÑ¡¶¨±à¼Æ÷ÖÐͨ¹ýÃû³ÆÖ´ÐÐÌØ¶¨ÃüÁî¡£
+
+²ÎÊý£º
+ command - ÒªÖ´ÐеÄÃüÁÀýÈ磺"Bold" or "Italic"¡£Äã¿ÉÒÔͨ¹ý´ËÁ¬½ÓÀ´²é¿´Mozilla Midas spec ¡£µ«ÊÇtinyMCEÒ²ÓÐ×ÔÉíÒ»Ð©ÌØÊâµÄÃüÁîÈçϱíËùʾ£º
+
+
+
+ mceLink
+ ´ò¿ª²åÈëÁ´½Ó¶Ô»°¿ò²¢²åÈëÁ´½Ó¡£
+
+
+ mceImage
+ ´ò¿ª²åÈëͼÏñ¶Ô»°¿ò²¢²åÈëͼÏñ¡£
+
+
+ mceCleanup
+ ´ÓHTML´úÂëÖÐÒÆ³ý²»ÐèÒªµÄ×é¼þºÍÊôÐÔ¡£
+
+
+ mceHelp
+ ´ò¿ªÎĵµÒ³Ãæ¡£
+
+
+ mceInsertTable
+ ÔÚÊó±êλÖòåÈë±í¸ñ£¬Ä¬ÈϳߴçΪ£º2¡Á2¡£Èç¹ûexecCommandº¯ÊýÖÐÓÐÖ¸¶¨value²ÎÊý£¬ËüµÄ¸ñʽ±ØÐëΪname/valueÐÎʽµÄÊý×飬ÆäÖÐnameÓÐÒÔÏÂÑ¡Ïcols, rows, border, cellspacing, cellpadding¡£border£¨±ß¿ò£©µÄĬÈÏ´óСΪ£º0¡£
+
+
+ mceTableInsertRowBefore
+ ÔÚµ±Ç°Êó±êËùÔÚλÖÃ֮ǰ²åÈëÒ»ÐС£
+
+
+ mceTableInsertRowAfter
+ ÔÚµ±Ç°Êó±êËùÔÚλÖÃÖ®ºó²åÈëÒ»ÐС£
+
+
+ mceTableDeleteRow
+ ½«µ±Ç°Êó±êËùÔÚÐÐɾ³ý¡£
+
+
+ mceTableInsertColBefore
+ ÔÚµ±Ç°Êó±êËùÔÚλÖÃ֮ǰ²åÈëÒ»ÁС£
+
+
+ mceTableInsertColAfter
+ ÔÚµ±Ç°Êó±êËùÔÚλÖÃÖ®ºó²åÈëÒ»ÁС£
+
+
+ mceTableDeleteCol
+ ½«µ±Ç°Êó±êËùÔÚÁÐɾ³ý¡£
+
+
+ mceAddControl
+ Ïò±à¼Æ÷Ìí¼Ó×é¼þ¿ØÖÆ£¬´Ë±à¼Æ÷µÄid/nameÓÉvalueÖ¸¶¨¡£
+
+
+ mceRemoveControl
+ ͨ¹ýeditor_idÃû³ÆÀ´ÒƳýÌØ¶¨¿ØÖÆ¡£valueÊÇÒªÒÆ³ýµÄeditor_id£¨±à¼Æ÷ID£©£¬±à¼Æ÷ID¸ñʽÈçÏ£º"mce_editor_<index>"¡£
+ Ò²¿ÉÒÔʹÓÃDOM×é¼þµÄIDºÍ±íµ¥Ãû¡£
+
+
+ mceFocus
+ ʹÒÔvalueµÄֵΪIDµÄ±à¼Æ÷»ñµÃ½¹µã¡£±à¼Æ÷ID¸ñʽÈçÏ£º"mce_editor_<index>"¡£Ò²¿ÉÒÔʹÓÃDOM×é¼þµÄIDºÍ±íµ¥Ãû¡£
+
+
+ mceSetCSSClass
+ ÉèÖÃCSSÀàÊôÐÔ£¬»òÕßÔÚÑ¡Ôñ¿òÖд´½¨ÐµÄspan¡£valueµÄÖµÊÇÒª¸øÑ¡¶¨×é¼þÖ¸ÅɵÄcssÀàÃû»òÕßҪд´½¨µÄspan×é¼þÃû³Æ¡£
+
+
+ mceInsertContent
+ ÔÚµ±Ç°Êó±êËùÔÚλÖòåÈëvalueµÄÄÚÈÝ¡£
+
+
+ mceReplaceContent
+ ½«µ±Ç°Ñ¡¶¨²¿·ÖÌæ»»ÎªvalueÖеÄHTML´úÂë¡£{$selection}±äÁ¿Óɵ±Ç°Ñ¡¶¨²¿·ÖµÄÎÄ×ÖÄÚÈÝÌæ»»¡£
+
+
+ mceSetAttribute
+ Ϊµ±Ç°Ñ¡¶¨×é¼þÉèÖÃÊôÐÔ¡£´ËÃüÁîµÄvalueÓ¦¸ÃÊÇname/valueÊý×飬Æä²ÎÊýÈçÏ£º
+
+ name - ÒªÉèÖõÄÊôÐÔÃû¡£
+ value - ÒªÉèÖõÄÊôÐÔÖµ¡£
+ [targets] - ÒªÔö¼ÓÊôÐÔµÄÄ¿±ê×é¼þ£¬Ä¬ÈÏΪ£ºp,img,span,div,td,h1,h2,h3,h4,h5,h6,pre,address¡£
+
+ ʹÓÃʾÀý£º
+ tinyMCE.execCommand('mceSetAttribute',false,{name:'align',value:'right'});
+
+
+ mceToggleVisualAid
+ ÊÇ·ñ¿ªÆôÊÓ¾õ°ïÖúģʽ
+
+
+ mceAnchor
+ ²åÈëÃû³ÆÃªµã¡£valueÊÇêµãµÄÃû³Æ¡£
+
+
+ mceResetDesignMode
+ ÖØÖÃËùÓÐ±à¼Æ÷ʵÀýµÄÉè¼ÆÄ£Ê½×´Ì¬¡£ÔÚFirefoxÖУ¬µ±±à¼Æ÷±»·ÅÔÚÖÆ±í·ûÖлòÕßÓÃstyle.display="none/block"À´¿ØÖÆÒþÏÔµÄʱºò£¬´ËÃüÁî·Ç³£ÓÐÓá£ÔÚ±à¼Æ÷ÖØÐÂÏÔʾʱµ÷ÓôËÃüÁî¡£
+
+
+ mceSelectNode
+ Ñ¡¶¨valueÖ¸¶¨µÄ½Úµã/×é¼þ¡£Í¬Ê±´ËÃüÁî»áʹ±à¼Æ÷¹ö¶¯µ½´Ë×é¼þËùÔÚλÖá£
+
+
+ mceSelectNodeDepth
+ ´Óµ±Ç°½ÚµãÒÔÉî¶È¹ØÏµÑ¡ÔñÖ¸¶¨µÄ½Úµã/×é¼þ¡£ËùÒÔ0Öµ»áÑ¡¶¨µ±Ç°¾Û½¹µÄ½Úµã¡£Í¬Ê±´ËÃüÁî»áʹ±à¼Æ÷¹ö¶¯µ½´Ë×é¼þËùÔÚλÖá£
+
+
+
+
+user_interface - ÉêÃ÷ijÃüÁîÊÇ·ñ»áÏÔʾÓû§½çÃæ¡£True/FalseÑ¡Ïî¡£
+value - Òª´«µÝ¸øÃüÁîµÄÖµ¡£ÀýÈ磬²åÈëÁ´½Óʱ£¬Ëü¾ÍÊÇÁ´½ÓµÄURL¡£
+
+·µ»Ø£º ÎÞ
+
+ʾÀý£º
+
+
+ <a href="javascript:tinymce.execCommand('Bold'); ">[Do
+ bold]</a>
+
+
+
+Óï·¨£º tinyMCE.insertLink(href, target);
+
+ÃèÊö£º ´Ë·½·¨ÔÚµ±Ç°Ñ¡¶¨±à¼Æ÷ʵÀýµÄÊó±êλÖòåÈëÒ»¸öÁ´½Ó£¬»òÕßÓÃеÄÊý¾ÝÀ´¸üÐÂÒÑÓÐÁ´½Ó¡£µ±Äã´´½¨×Ô¼ºµÄÖ÷Ìâʱ£¬´Ë·½·¨Ó¦ÔÚ²åÈëÁ´½ÓµÄµ¯³ö´°¿ÚÖеÄOK°´Å¥°´ÏÂʱ±»µ÷Óá£
+
+²ÎÊý£º
+ href - Á´½ÓµÄµØÖ·/URL¡£
+target - Á´½ÓµÄÄ¿±ê¡£
+
+·µ»Ø£º ÎÞ
+
+Óï·¨£º tinyMCE.insertImage(src, alt, border, hspace, vspace,
+width, height, align, title, onmouseover, onmouseout);
+
+ÃèÊö£º ´Ë·½·¨ÔÚµ±Ç°Ñ¡¶¨±à¼Æ÷ʵÀýµÄÊó±êλÖòåÈëͼÏñ£¬»òÕßÓÃеÄÊý¾ÝÀ´¸üÐÂÒÑÓÐͼÏñ¡£µ±Äã´´½¨×Ô¼ºµÄÖ÷Ìâʱ£¬´Ë·½·¨Ó¦ÔÚ²åÈëͼÏñµÄµ¯³ö´°¿ÚÖеÄOK°´Å¥°´ÏÂʱ±»µ÷Óá£
+
+²ÎÊý£º
+ src - ͼÏñµØÖ·¡£
+alt - ͼƬµÄÌæ´úÎÄ×Ö¡£
+border - ͼÏñ±ß¿ò¡£
+hspace - ͼÏñˮƽ¼ä¾à¡£
+vspace - ͼÏñ´¹Ö±¼ä¾à¡£
+width - ͼÏñ¿í¡£
+height - ͼÏñ¸ß¡£
+align - ͼÏñ¶ÔÆë·½Ê½¡£
+title - ͼÏñÁ´½ÓµÄ±êÌâ¡£
+onmouseover - ͼÏñÔÚÊó±ê·ÅÉÏȥʱµÄʼþ´¦Àí¡£
+onmouseout - ͼÏñÔÚÊó±êÒÆ¿ªÊ±µÄʼþ´¦Àí¡£
+
+·µ»Ø£º ÎÞ
+
+Óï·¨£º tinyMCE.triggerNodeChange();
+
+ÃèÊö£º µ±±à¼Æ÷·¢ÉúÍⲿ±ä»¯Ê±´Ë·½·¨±»µ÷Óá£È»ºó´Ë·½·¨»Øµ÷Ö÷ÌâµÄ"handleNodeChangeCallback"·½·¨¡£
+
+²ÎÊý£º None
+
+·µ»Ø£º ÎÞ
+
+Óï·¨£º tinyMCE.getContent();
+
+ÃèÊö£º ´Ë·½·¨·µ»Øµ±Ç°Ñ¡¶¨±à¼Æ÷ÖеÄHTMLÄÚÈÝ¡£Èç¹ûûÓÐÈκÎÑ¡¶¨±à¼Æ÷£¬¸Ã·½·¨·µ»Ønull¡£
+
+²ÎÊý£º None
+
+·µ»Ø£º µ±Ç°Ñ¡¶¨±à¼Æ÷ÖеÄHTMLÄÚÈÝ»òÕßnull¡£
+
+Óï·¨£º tinyMCE.setContent(html);
+
+ÃèÊö£º ´Ë·½·¨É趨µ±Ç°Ñ¡¶¨±à¼Æ÷µÄHTMLÄÚÈÝ¡£
+
+²ÎÊý£º
+ html - ÒªÉ趨µÄHTMLÔ´´úÂë¡£
+
+·µ»Ø£º None.
+
+Óï·¨£º tinyMCE.getEditorInstance(editor_id);
+
+ÃèÊö£º ´Ë·½·¨Í¨¹ýeditor_id·µ»ØÄ³¸ö±à¼Æ÷ʵÀý¡£
+
+²ÎÊý£º
+ editor_id - Òª»ñÈ¡µÄ±à¼Æ÷ʵÀý¡£
+
+·µ»Ø£º ±à¼Æ÷ʵÀý(TinyMCEControl)¡£
+
+Óï·¨£º tinyMCE.importThemeLanguagePack([theme]);
+
+ÃèÊö£º ´Ë·½·¨µ¼ÈëÖ÷ÌâÖÐÌØ¶¨µÄÓïÑÔ°ü¡£×Ô¶¨ÒåÖ÷ÌâÖпÉÒÔµ÷Óô˷½·¨¡£
+
+²ÎÊý£º
+[theme] - µ±Ç°Ö÷ÌâÃû³Æ¡£´ËÑ¡Ïî¿ÉÑ¡£¬Ä¬ÈÏΪȫ¾ÖµÄ"theme"É趨¡£´Ë²ÎÊýÔÚÖ÷Ìâ²å¼þÖзdz£ÓÐÓá£
+
+·µ»Ø£º None.
+
+Óï·¨£º tinyMCE.importPluginLanguagePack(plugin, valid_languages);
+
+ÃèÊö£º ´Ë·½·¨µ¼Èë²å¼þÖÐÌØ¶¨µÄÓïÑÔ°ü¡£×Ô¶¨Òå²å¼þÖпÉÒÔµ÷Óô˷½·¨¡£
+
+²ÎÊý£º
+plugin - µ±Ç°²å¼þµÄÃû³Æ¡£
+valid_languages - ÒÔ¶ººÅ·Ö¸ôµÄËùÖ§³ÖÓïÑÔ°üÁÐ±í¡£
+
+·µ»Ø£º None.
+
+Óï·¨£º tinyMCE.applyTemplate(html);
+
+ÃèÊö£º ´Ë·½·¨Ìæ»»Ö÷ÌâÖеÄÉèÖü°ÓïÑÔ±äÁ¿¡£
+
+²ÎÊý£º
+
+html - ÒªÌæ»»Ö÷Ìâ±äÁ¿µÄHTML´úÂë¡£
+
+·µ»Ø£º ת»»ºóµÄHTML´úÂë¡£
+
+Óï·¨£º tinyMCE.openWindow(template, [args]);
+
+ÃèÊö£º ´Ë·½·¨Í¨¹ý´ÓÖ¸¶¨µÄtemplate²ÎÊýÖлñÈ¡width, height¼°htmlÊý¾ÝÀ´´ò¿ªÐ´°¿Ú¡£Êý×é²ÎÊýargsÖаüº¬ÒªÌæ»»µÄ±äÁ¿Ãû¡£
+
+»¹ÓÐһЩ×Ô¶¨ÒåµÄ´°¿Ú²ÎÊý£º
+mce_replacevariables
+- ÆôÓÃ/½ûÓÃHTMLÎĵµÖеÄÓïÑÔ/±äÁ¿Ìæ»»¡£Ä¬ÈÏÆôÓá£
+mce_windowresize - ÆôÓÃ/½ûÓõ¯³ö´°¿ÚµÄ×Ô¶¯resizeÌØÕ÷£¬Ä¬ÈÏÆôÓá£
+
+²ÎÊý£º
+template - Name/ValueÊý×飬ÒÔwidth, height, htmlºÍfileΪ¼ü¡£
+[args] - °üº¬ÒªÌæ»»±äÁ¿ÃûµÄName/ValueÊý×顣ģ°åÎļþÖеļüÖµ±äÁ¿±»²ÎÊýÁбíËùÌæ»»¡£
+ÀýÈ磺image.php?src={$src}±»Ì滻Ϊ£ºimage.php?src=image.gif¡£
+
+·µ»Ø£º None.
+
+Óï·¨£º tinyMCE.getWindowArg(name, [default_value]);
+
+ÃèÊö£º ´Ë·½·¨¸ù¾Ýname·µ»Ø´°¿Ú²ÎÊý£¬Ëü¿ÉÒÔÓÃÔÚÖ÷ÌâÖеĵ¯³ö´°¿ÚÖУ¬ÒÔ»ñÈ¡¶Ô»°¿òÖеIJÎÊý¡£
+
+²ÎÊý£º
+name - Òª»ñÈ¡µÄ´°¿Ú²ÎÊýµÄÃû³Æ¡£
+[default_value] - ´°¿Ú²ÎÊý¶ªÊ§Ê±·µ»ØµÄĬÈÏÖµ¡£
+
+·µ»Ø£º ´°¿Ú²ÎÊýµÄÖµ¡£
+
+Óï·¨£º tinyMCE.setWindowArg(name, value);
+
+ÃèÊö£º ´Ë·½·¨¸ù¾ÝnameÉ趨´°¿Ú²ÎÊý£¬ÀýÈçËüÔÚij²å¼þµ÷ÓÃÆäËû²å¼þʱ·Ç³£ÓÐÓá£
+
+²ÎÊý£º
+name - ÒªÉèÖõĴ°¿Ú²ÎÊý¡£
+value - ´°¿Ú²ÎÊýÖÐÒªÉèÖõÄÖµ¡£
+
+·µ»Ø£º ´°¿Ú²ÎÊýÖµ¡£
+
+Óï·¨£º tinyMCE.getParam(name, [default_value], [strip_whitespace]);
+
+ÃèÊö£º ´Ë·½·¨·µ»ØTinyMCEµÄÅäÖòÎÊý¡£
+
+²ÎÊý£º
+name - Òª»ñÈ¡µÄ´°¿Ú²ÎÊýÃû¡£
+[default_value] - ´°¿Ú²ÎÊý¶ªÊ§Ê±·µ»ØµÄĬÈÏÖµ¡£
+[strip_whitespace] - Èç¹ûÎªÕæ£¬ËùÓзµ»ØÖµÖеĿհ××Ö·û½«»á±»³ýÈ¥¡£Ä¬ÈÏ£ºfalse¡£
+
+·µ»Ø£º TinyMCEÅäÖòÎÊý¡£
+
+
+
+
+
diff --git a/www/extras/tinymce/examples/example_advanced.css b/www/extras/tinymce/examples/example_advanced.css
index e4e44b76b..28b1d1c62 100644
--- a/www/extras/tinymce/examples/example_advanced.css
+++ b/www/extras/tinymce/examples/example_advanced.css
@@ -30,6 +30,10 @@ body {
color: #0000FF
}
+.tablerow1 {
+ background-color: #BBBBBB;
+}
+
td {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
diff --git a/www/extras/tinymce/examples/example_advanced.htm b/www/extras/tinymce/examples/example_advanced.htm
index 4f0880e24..0fcaef0bb 100644
--- a/www/extras/tinymce/examples/example_advanced.htm
+++ b/www/extras/tinymce/examples/example_advanced.htm
@@ -7,7 +7,7 @@
diff --git a/www/extras/tinymce/examples/example_image_list.js b/www/extras/tinymce/examples/example_image_list.js
new file mode 100644
index 000000000..551910556
--- /dev/null
+++ b/www/extras/tinymce/examples/example_image_list.js
@@ -0,0 +1,9 @@
+// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
+// There images will be displayed as a dropdown in all image dialogs if the "external_link_image_url"
+// option is defined in TinyMCE init.
+
+var tinyMCEImageList = new Array(
+ // Name, URL
+ ["Logo 1", "logo.jpg"],
+ ["Lgog 2", "logo_over.jpg"]
+);
diff --git a/www/extras/tinymce/examples/example_link_list.js b/www/extras/tinymce/examples/example_link_list.js
new file mode 100644
index 000000000..0d464331f
--- /dev/null
+++ b/www/extras/tinymce/examples/example_link_list.js
@@ -0,0 +1,10 @@
+// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
+// There links will be displayed as a dropdown in all link dialogs if the "external_link_list_url"
+// option is defined in TinyMCE init.
+
+var tinyMCELinkList = new Array(
+ // Name, URL
+ ["Moxiecode", "http://www.moxiecode.com"],
+ ["Freshmeat", "http://www.freshmeat.com"],
+ ["Sourceforge", "http://www.sourceforge.com"]
+);
diff --git a/www/extras/tinymce/examples/example_mail.htm b/www/extras/tinymce/examples/example_mail.htm
index fa49dfc4e..3378db0a9 100644
--- a/www/extras/tinymce/examples/example_mail.htm
+++ b/www/extras/tinymce/examples/example_mail.htm
@@ -9,7 +9,9 @@
theme : "advanced",
mode : "textareas",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,formatselect,fontselect,fontsizeselect,forecolor",
- extended_valid_elements : "font[face|size|color]"
+ extended_valid_elements : "font[face|size|color]",
+ plugins : "table",
+ theme_advanced_buttons3_add_before : "tablecontrols,separator"
});
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/langs/cs.js
new file mode 100644
index 000000000..b504680b6
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/cs.js
@@ -0,0 +1,38 @@
+// CZ lang variables thanks to "Pavel Novák" - repaired by Josef Klimosz
+
+tinyMCELang['lang_bold_desc'] = 'Tuènì';
+tinyMCELang['lang_italic_desc'] = 'Kurzíva';
+tinyMCELang['lang_underline_desc'] = 'Podtržení';
+tinyMCELang['lang_striketrough_desc'] = 'Pøeškrtnutí';
+tinyMCELang['lang_justifyleft_desc'] = 'Zarovnání vlevo';
+tinyMCELang['lang_justifycenter_desc'] = 'Zarovnání na støed';
+tinyMCELang['lang_justifyright_desc'] = 'Zarovnání vpravo';
+tinyMCELang['lang_justifyfull_desc'] = 'Zarovnání do bloku';
+tinyMCELang['lang_bullist_desc'] = 'Seznam s odrážkami';
+tinyMCELang['lang_numlist_desc'] = 'Èíslovaný seznam';
+tinyMCELang['lang_outdent_desc'] = 'Snížit odsazení';
+tinyMCELang['lang_indent_desc'] = 'Zvýšit odsazení';
+tinyMCELang['lang_undo_desc'] = 'Zpìt';
+tinyMCELang['lang_redo_desc'] = 'Znovu';
+tinyMCELang['lang_link_desc'] = 'Vložit odkaz';
+tinyMCELang['lang_unlink_desc'] = 'Zrušit odkaz';
+tinyMCELang['lang_image_desc'] = 'Vložit obrázek';
+tinyMCELang['lang_cleanup_desc'] = 'Vyèistit kód';
+tinyMCELang['lang_focus_alert'] = 'Pøed použitím tohoto pøíkazu musí být kurzor v oknì editoru.';
+tinyMCELang['lang_edit_confirm'] = 'Chcete použít WYSIWYG editaci pro tento text?';
+tinyMCELang['lang_insert_link_title'] = 'Vložit/upravit odkaz';
+tinyMCELang['lang_insert'] = 'Vložit';
+tinyMCELang['lang_update'] = 'Zmìnit';
+tinyMCELang['lang_cancel'] = 'Zrušit';
+tinyMCELang['lang_insert_link_url'] = 'URL odkazu';
+tinyMCELang['lang_insert_link_target'] = 'Cíl';
+tinyMCELang['lang_insert_link_target_same'] = 'Otevøít odkaz ve stejném oknì';
+tinyMCELang['lang_insert_link_target_blank'] = 'Otevøít odkaz v novém oknì';
+tinyMCELang['lang_insert_image_title'] = 'Vložit/upravit obrázek';
+tinyMCELang['lang_insert_image_src'] = 'URL obrázku';
+tinyMCELang['lang_insert_image_alt'] = 'Popis obrázku';
+tinyMCELang['lang_help_desc'] = 'Nápovìda';
+tinyMCELang['lang_bold_img'] = 'bold.gif';
+tinyMCELang['lang_italic_img'] = 'italic.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste není použitelné v Mozille a Firefoxu.\nChcete více informací o tomto problému?';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/da.js b/www/extras/tinymce/jscripts/tiny_mce/langs/da.js
new file mode 100644
index 000000000..4dfa69649
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/da.js
@@ -0,0 +1,38 @@
+// DK lang variables contributed by Jan Moelgaard
+
+tinyMCELang['lang_bold_desc'] = 'Fed';
+tinyMCELang['lang_italic_desc'] = 'Kursiv';
+tinyMCELang['lang_underline_desc'] = 'Understreg';
+tinyMCELang['lang_striketrough_desc'] = 'Gennemstreg';
+tinyMCELang['lang_justifyleft_desc'] = 'Venstrestil';
+tinyMCELang['lang_justifycenter_desc'] = 'Centrer';
+tinyMCELang['lang_justifyright_desc'] = 'Højrestil';
+tinyMCELang['lang_justifyfull_desc'] = 'Lige margin';
+tinyMCELang['lang_bullist_desc'] = 'Bulletliste';
+tinyMCELang['lang_numlist_desc'] = 'Nummerliste';
+tinyMCELang['lang_outdent_desc'] = 'Ryk til venstre';
+tinyMCELang['lang_indent_desc'] = 'Ryk til højre';
+tinyMCELang['lang_undo_desc'] = 'Fortryd';
+tinyMCELang['lang_redo_desc'] = 'Gør igen';
+tinyMCELang['lang_link_desc'] = 'Indsæt link';
+tinyMCELang['lang_unlink_desc'] = 'Fjern link';
+tinyMCELang['lang_image_desc'] = 'Indsæt billede';
+tinyMCELang['lang_cleanup_desc'] = 'Ryd op i koden';
+tinyMCELang['lang_focus_alert'] = 'Der skal sættes fokus på sessionen, før man kan bruge denne kommando';
+tinyMCELang['lang_edit_confirm'] = 'Vil du bruge WYSIWYG mode til dette textområde?';
+tinyMCELang['lang_insert_link_title'] = 'Indsæt eller rediger link';
+tinyMCELang['lang_insert'] = 'Indsæt';
+tinyMCELang['lang_update'] = 'Opdater';
+tinyMCELang['lang_cancel'] = 'Fortryd';
+tinyMCELang['lang_insert_link_url'] = 'Linkadresse';
+tinyMCELang['lang_insert_link_target'] = 'Target';
+tinyMCELang['lang_insert_link_target_same'] = 'Luk linket op i samme vindue';
+tinyMCELang['lang_insert_link_target_blank'] = 'Luk linket op i et nyt vindue';
+tinyMCELang['lang_insert_image_title'] = 'Indsæt / rediger billede';
+tinyMCELang['lang_insert_image_src'] = 'Billedets adresse';
+tinyMCELang['lang_insert_image_alt'] = 'Alternativ tekst';
+tinyMCELang['lang_help_desc'] = 'Hjælp';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/de.js b/www/extras/tinymce/jscripts/tiny_mce/langs/de.js
index 948ed1450..d967c42fa 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/langs/de.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/de.js
@@ -1,73 +1,73 @@
-// DE lang variables
-// Translated 2004 by Crazy Chrissi
-// Edited 2004 by Krokogras
-
-tinyMCELang['lang_theme_style_select'] = 'Styles';
-tinyMCELang['lang_theme_code_desc'] = 'HTML-Modus';
-tinyMCELang['lang_theme_code_title'] = 'HTML-Code Editor';
-tinyMCELang['lang_theme_code_wordwrap'] = 'Zeilenumbruch';
-tinyMCELang['lang_theme_code_save'] = 'Speichern';
-tinyMCELang['lang_theme_sub_desc'] = 'Tiefergestellt';
-tinyMCELang['lang_theme_sup_desc'] = 'Höhergestellt';
-tinyMCELang['lang_theme_hr_desc'] = 'Horizontale Linie einfügen';
-tinyMCELang['lang_theme_removeformat_desc'] = 'Formatierung löschen';
-tinyMCELang['lang_theme_table_desc'] = 'Neue Tabelle einfügen / Tabelle bearbeiten';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Zeile vor aktueller einfügen';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Zeile nach aktueller einfügen';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Aktuelle Zeile löschen';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Spalte vor aktueller einfügen';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Spalte nach aktueller einfügen';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Aktuelle Spalte löschen';
-tinyMCELang['lang_theme_custom1_desc'] = 'Beschreibung eingeben';
-tinyMCELang['lang_insert_image_border'] = 'Rahmen';
-tinyMCELang['lang_insert_image_dimensions'] = 'Größe';
-tinyMCELang['lang_insert_image_vspace'] = 'Vertikal einrücken';
-tinyMCELang['lang_insert_image_hspace'] = 'Horizontal einrücken';
-tinyMCELang['lang_insert_image_align'] = 'Ausrichten';
-tinyMCELang['lang_insert_image_align_default'] = 'Normal';
-tinyMCELang['lang_insert_image_align_baseline'] = 'Grundlinie';
-tinyMCELang['lang_insert_image_align_top'] = 'Oben';
-tinyMCELang['lang_insert_image_align_middle'] = 'Mitte';
-tinyMCELang['lang_insert_image_align_bottom'] = 'Unten';
-tinyMCELang['lang_insert_image_align_texttop'] = 'Textoberkante';
-tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Mitte';
-tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut unten';
-tinyMCELang['lang_insert_image_align_left'] = 'Links';
-tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_title'] = 'Tabelle einfügen / bearbeiten';
-tinyMCELang['lang_insert_table_width'] = 'Breite';
-tinyMCELang['lang_insert_table_height'] = 'Höhe';
-tinyMCELang['lang_insert_table_cols'] = 'Spalten';
-tinyMCELang['lang_insert_table_rows'] = 'Zeilen';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Zellabstand';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Zellauffüllung';
-tinyMCELang['lang_insert_table_border'] = 'Rahmen';
-tinyMCELang['lang_insert_table_align'] = 'Ausrichten';
-tinyMCELang['lang_insert_table_align_default'] = 'Normal';
-tinyMCELang['lang_insert_table_align_left'] = 'Links';
-tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_align_middle'] = 'Zentriert';
-tinyMCELang['lang_insert_table_class'] = 'Klasse';
-tinyMCELang['lang_insert_table_delta_width'] = 30;
-tinyMCELang['lang_theme_fontdefault'] = 'Normal';
-tinyMCELang['lang_theme_paragraph'] = 'Standard-Text';
-tinyMCELang['lang_theme_div'] = 'Div';
-tinyMCELang['lang_theme_address'] = 'Addresse';
-tinyMCELang['lang_theme_pre'] = 'Vorformatiert (pre)';
-tinyMCELang['lang_theme_h1'] = 'Überschrift 1';
-tinyMCELang['lang_theme_h2'] = 'Überschrift 2';
-tinyMCELang['lang_theme_h3'] = 'Überschrift 3';
-tinyMCELang['lang_theme_h4'] = 'Überschrift 4';
-tinyMCELang['lang_theme_h5'] = 'Überschrift 5';
-tinyMCELang['lang_theme_h6'] = 'Überschrift 6';
-tinyMCELang['lang_theme_colorpicker_title'] = 'Farbe auswählen';
-tinyMCELang['lang_theme_colorpicker_apply'] = 'Übernehmen';
-tinyMCELang['lang_theme_forecolor_desc'] = 'Schriftfarbe ausw„hlen';
-tinyMCELang['lang_theme_charmap_title'] = 'Sonderzeichen einfügen';
-tinyMCELang['lang_theme_charmap_desc'] = 'Sonderzeichen einfügen';
-tinyMCELang['lang_theme_visualaid_desc'] = 'Anzeige von Hilfslinien / unsichtbaren Elementen an/aus';
-tinyMCELang['lang_insert_anchor_title'] = 'Anker einfügen / bearbeiten';
-tinyMCELang['lang_insert_anchor_name'] = 'Ankername';
-tinyMCELang['lang_theme_anchor_desc'] = 'Anker einfügen / bearbeiten';
-tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
-
+// DE lang variables
+// Translated 2004 by Crazy Chrissi
+// Edited 2004 by Krokogras
+
+tinyMCELang['lang_theme_style_select'] = 'Styles';
+tinyMCELang['lang_theme_code_desc'] = 'HTML-Modus';
+tinyMCELang['lang_theme_code_title'] = 'HTML-Code Editor';
+tinyMCELang['lang_theme_code_wordwrap'] = 'Zeilenumbruch';
+tinyMCELang['lang_theme_code_save'] = 'Speichern';
+tinyMCELang['lang_theme_sub_desc'] = 'Tiefergestellt';
+tinyMCELang['lang_theme_sup_desc'] = 'Höhergestellt';
+tinyMCELang['lang_theme_hr_desc'] = 'Horizontale Linie einfügen';
+tinyMCELang['lang_theme_removeformat_desc'] = 'Formatierung löschen';
+tinyMCELang['lang_theme_table_desc'] = 'Neue Tabelle einfügen / Tabelle bearbeiten';
+tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Zeile vor aktueller einfügen';
+tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Zeile nach aktueller einfügen';
+tinyMCELang['lang_theme_table_delete_row_desc'] = 'Aktuelle Zeile löschen';
+tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Spalte vor aktueller einfügen';
+tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Spalte nach aktueller einfügen';
+tinyMCELang['lang_theme_table_delete_col_desc'] = 'Aktuelle Spalte löschen';
+tinyMCELang['lang_theme_custom1_desc'] = 'Beschreibung eingeben';
+tinyMCELang['lang_insert_image_border'] = 'Rahmen';
+tinyMCELang['lang_insert_image_dimensions'] = 'Größe';
+tinyMCELang['lang_insert_image_vspace'] = 'Vertikal einrücken';
+tinyMCELang['lang_insert_image_hspace'] = 'Horizontal einrücken';
+tinyMCELang['lang_insert_image_align'] = 'Ausrichten';
+tinyMCELang['lang_insert_image_align_default'] = 'Normal';
+tinyMCELang['lang_insert_image_align_baseline'] = 'Grundlinie';
+tinyMCELang['lang_insert_image_align_top'] = 'Oben';
+tinyMCELang['lang_insert_image_align_middle'] = 'Mitte';
+tinyMCELang['lang_insert_image_align_bottom'] = 'Unten';
+tinyMCELang['lang_insert_image_align_texttop'] = 'Textoberkante';
+tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Mitte';
+tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut unten';
+tinyMCELang['lang_insert_image_align_left'] = 'Links';
+tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_title'] = 'Tabelle einfügen / bearbeiten';
+tinyMCELang['lang_insert_table_width'] = 'Breite';
+tinyMCELang['lang_insert_table_height'] = 'Höhe';
+tinyMCELang['lang_insert_table_cols'] = 'Spalten';
+tinyMCELang['lang_insert_table_rows'] = 'Zeilen';
+tinyMCELang['lang_insert_table_cellspacing'] = 'Zellabstand';
+tinyMCELang['lang_insert_table_cellpadding'] = 'Zellauffüllung';
+tinyMCELang['lang_insert_table_border'] = 'Rahmen';
+tinyMCELang['lang_insert_table_align'] = 'Ausrichten';
+tinyMCELang['lang_insert_table_align_default'] = 'Normal';
+tinyMCELang['lang_insert_table_align_left'] = 'Links';
+tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
+tinyMCELang['lang_insert_table_align_middle'] = 'Zentriert';
+tinyMCELang['lang_insert_table_class'] = 'Klasse';
+tinyMCELang['lang_insert_table_delta_width'] = 30;
+tinyMCELang['lang_theme_fontdefault'] = 'Normal';
+tinyMCELang['lang_theme_paragraph'] = 'Standard-Text';
+tinyMCELang['lang_theme_div'] = 'Div';
+tinyMCELang['lang_theme_address'] = 'Addresse';
+tinyMCELang['lang_theme_pre'] = 'Vorformatiert (pre)';
+tinyMCELang['lang_theme_h1'] = 'Überschrift 1';
+tinyMCELang['lang_theme_h2'] = 'Überschrift 2';
+tinyMCELang['lang_theme_h3'] = 'Überschrift 3';
+tinyMCELang['lang_theme_h4'] = 'Überschrift 4';
+tinyMCELang['lang_theme_h5'] = 'Überschrift 5';
+tinyMCELang['lang_theme_h6'] = 'Überschrift 6';
+tinyMCELang['lang_theme_colorpicker_title'] = 'Farbe auswählen';
+tinyMCELang['lang_theme_colorpicker_apply'] = 'Übernehmen';
+tinyMCELang['lang_theme_forecolor_desc'] = 'Schriftfarbe ausw„hlen';
+tinyMCELang['lang_theme_charmap_title'] = 'Sonderzeichen einfügen';
+tinyMCELang['lang_theme_charmap_desc'] = 'Sonderzeichen einfügen';
+tinyMCELang['lang_theme_visualaid_desc'] = 'Anzeige von Hilfslinien / unsichtbaren Elementen an/aus';
+tinyMCELang['lang_insert_anchor_title'] = 'Anker einfügen / bearbeiten';
+tinyMCELang['lang_insert_anchor_name'] = 'Ankername';
+tinyMCELang['lang_theme_anchor_desc'] = 'Anker einfügen / bearbeiten';
+tinyMCELang['lang_theme_insert_link_titlefield'] = 'Title';
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/langs/en.js
new file mode 100644
index 000000000..501fc4372
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/en.js
@@ -0,0 +1,38 @@
+// UK lang variables
+
+tinyMCELang['lang_bold_desc'] = 'Bold';
+tinyMCELang['lang_italic_desc'] = 'Italic';
+tinyMCELang['lang_underline_desc'] = 'Underline';
+tinyMCELang['lang_striketrough_desc'] = 'Striketrough';
+tinyMCELang['lang_justifyleft_desc'] = 'Align left';
+tinyMCELang['lang_justifycenter_desc'] = 'Align center';
+tinyMCELang['lang_justifyright_desc'] = 'Align right';
+tinyMCELang['lang_justifyfull_desc'] = 'Align full';
+tinyMCELang['lang_bullist_desc'] = 'Unordered list';
+tinyMCELang['lang_numlist_desc'] = 'Ordered list';
+tinyMCELang['lang_outdent_desc'] = 'Outdent';
+tinyMCELang['lang_indent_desc'] = 'Indent';
+tinyMCELang['lang_undo_desc'] = 'Undo';
+tinyMCELang['lang_redo_desc'] = 'Redo';
+tinyMCELang['lang_link_desc'] = 'Insert/edit link';
+tinyMCELang['lang_unlink_desc'] = 'Unlink';
+tinyMCELang['lang_image_desc'] = 'Insert/edit image';
+tinyMCELang['lang_cleanup_desc'] = 'Cleanup messy code';
+tinyMCELang['lang_focus_alert'] = 'A editor instance must be focused before using this command.';
+tinyMCELang['lang_edit_confirm'] = 'Do you want to use the WYSIWYG mode for this textarea?';
+tinyMCELang['lang_insert_link_title'] = 'Insert/edit link';
+tinyMCELang['lang_insert'] = 'Insert';
+tinyMCELang['lang_update'] = 'Update';
+tinyMCELang['lang_cancel'] = 'Cancel';
+tinyMCELang['lang_insert_link_url'] = 'Link URL';
+tinyMCELang['lang_insert_link_target'] = 'Target';
+tinyMCELang['lang_insert_link_target_same'] = 'Open link in the same window';
+tinyMCELang['lang_insert_link_target_blank'] = 'Open link in a new window';
+tinyMCELang['lang_insert_image_title'] = 'Insert/edit image';
+tinyMCELang['lang_insert_image_src'] = 'Image URL';
+tinyMCELang['lang_insert_image_alt'] = 'Image description';
+tinyMCELang['lang_help_desc'] = 'Help';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/fr_ca.js b/www/extras/tinymce/jscripts/tiny_mce/langs/fr_ca.js
new file mode 100644
index 000000000..a5517d601
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/fr_ca.js
@@ -0,0 +1,38 @@
+// Canadian French lang variables by Virtuelcom
+
+tinyMCELang['lang_bold_desc'] = 'Gras';
+tinyMCELang['lang_italic_desc'] = 'Italique';
+tinyMCELang['lang_underline_desc'] = 'Souligner';
+tinyMCELang['lang_striketrough_desc'] = 'Barrer';
+tinyMCELang['lang_justifyleft_desc'] = 'Aligner à gauche';
+tinyMCELang['lang_justifycenter_desc'] = 'Aligner au centre';
+tinyMCELang['lang_justifyright_desc'] = 'Aligner à droite';
+tinyMCELang['lang_justifyfull_desc'] = 'Justifier';
+tinyMCELang['lang_bullist_desc'] = 'Puces';
+tinyMCELang['lang_numlist_desc'] = 'Numérotation';
+tinyMCELang['lang_outdent_desc'] = 'Réduire le retrait';
+tinyMCELang['lang_indent_desc'] = 'Augmenter le retrait';
+tinyMCELang['lang_undo_desc'] = 'Annuler la dernière action';
+tinyMCELang['lang_redo_desc'] = 'Refaire la dernière action annulée';
+tinyMCELang['lang_link_desc'] = 'Insérer un hyperlien';
+tinyMCELang['lang_unlink_desc'] = 'Supprimer un hyperlien';
+tinyMCELang['lang_image_desc'] = 'Insérer une image';
+tinyMCELang['lang_cleanup_desc'] = 'Nettoyer le code';
+tinyMCELang['lang_focus_alert'] = 'Un éditeur doit être sélectionné pour utiliser cette fonction.';
+tinyMCELang['lang_edit_confirm'] = 'Désirez-vous utiliser l\'éditeur pour modifier cette zone?';
+tinyMCELang['lang_insert_link_title'] = 'Insérer/modifier un hyperlien';
+tinyMCELang['lang_insert'] = 'Insérer';
+tinyMCELang['lang_update'] = 'Insérer';
+tinyMCELang['lang_cancel'] = 'Annuler';
+tinyMCELang['lang_insert_link_url'] = 'Adresse URL';
+tinyMCELang['lang_insert_link_target'] = 'Destination';
+tinyMCELang['lang_insert_link_target_same'] = 'Ouvrir dans la même fenêtre';
+tinyMCELang['lang_insert_link_target_blank'] = 'Ouvrir dans une nouvelle fenêtre';
+tinyMCELang['lang_insert_image_title'] = 'Insérer/modifier une image';
+tinyMCELang['lang_insert_image_src'] = 'Adresse de l\'image';
+tinyMCELang['lang_insert_image_alt'] = 'Description de l\'image';
+tinyMCELang['lang_help_desc'] = 'Aide';
+tinyMCELang['lang_bold_img'] = "bold_fr.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/ja.js b/www/extras/tinymce/jscripts/tiny_mce/langs/ja.js
new file mode 100644
index 000000000..3795c5b05
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/ja.js
@@ -0,0 +1,38 @@
+// JP lang variables
+
+tinyMCELang['lang_bold_desc'] = '$BB@;z(B';
+tinyMCELang['lang_italic_desc'] = '$BC@~(B';
+tinyMCELang['lang_justifyleft_desc'] = '$B:85M$a(B';
+tinyMCELang['lang_justifycenter_desc'] = '$BCf1{9g$o$;(B';
+tinyMCELang['lang_justifyright_desc'] = '$B1&5M$a(B';
+tinyMCELang['lang_justifyfull_desc'] = '$B9TB7$((B';
+tinyMCELang['lang_bullist_desc'] = '$B2U>r=q(B';
+tinyMCELang['lang_numlist_desc'] = '$BHV9fIU$-2U>r=q(B';
+tinyMCELang['lang_outdent_desc'] = '$B;z>e$2(B';
+tinyMCELang['lang_indent_desc'] = '$B;z2<$2(B';
+tinyMCELang['lang_undo_desc'] = '$B$d$j$J$*$7(B';
+tinyMCELang['lang_redo_desc'] = '$B:Fe$N$I$3$+$rA*Br$9$kI,MW$,$"$j$^$9!#(B';
+tinyMCELang['lang_edit_confirm'] = 'WYSIWYG$B%b!<%I$G$3$N%F%-%9%H%(%j%"$rJT=8$7$^$9$+!)(B';
+tinyMCELang['lang_insert_link_title'] = '$B%j%s%/$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert'] = '$BA^F~(B';
+tinyMCELang['lang_update'] = '$BA^F~(B';
+tinyMCELang['lang_cancel'] = '$BC$7(B';
+tinyMCELang['lang_insert_link_url'] = '$B%j%s%/@h(BURL';
+tinyMCELang['lang_insert_link_target'] = '$B%?!<%2%C%H(B';
+tinyMCELang['lang_insert_link_target_same'] = '$BF1$8Ak$G%j%s%/$r3+$/(B';
+tinyMCELang['lang_insert_link_target_blank'] = '$B?7$7$$Ak$G%j%s%/$r3+$/(B';
+tinyMCELang['lang_insert_image_title'] = '$B2hA|$NA^F~(B/$BJT=8(B';
+tinyMCELang['lang_insert_image_src'] = '$B2hA|$N(BURL';
+tinyMCELang['lang_insert_image_alt'] = '$B2hA|$N@bL@(B';
+tinyMCELang['lang_help_desc'] = '$B%X%k%W(B';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/langs/readme.txt
new file mode 100644
index 000000000..e23001b44
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/readme.txt
@@ -0,0 +1,2 @@
+The language pack codes are based on ISO-639-2
+http://www.loc.gov/standards/iso639-2/englangn.html
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/langs/sv.js
new file mode 100644
index 000000000..d094414e0
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/sv.js
@@ -0,0 +1,40 @@
+// SE lang variables
+
+tinyMCELang['lang_bold_desc'] = 'Fet';
+tinyMCELang['lang_italic_desc'] = 'Kursiv';
+tinyMCELang['lang_underline_desc'] = 'Understruken';
+tinyMCELang['lang_striketrough_desc'] = 'Genomstruken';
+tinyMCELang['lang_justifyleft_desc'] = 'Vänsterjustera';
+tinyMCELang['lang_justifycenter_desc'] = 'Centrera';
+tinyMCELang['lang_justifyright_desc'] = 'Högerjustera';
+tinyMCELang['lang_justifyfull_desc'] = 'Kantjustera';
+tinyMCELang['lang_bullist_desc'] = 'Punktlista';
+tinyMCELang['lang_numlist_desc'] = 'Nummerlista';
+tinyMCELang['lang_outdent_desc'] = 'Utdrag';
+tinyMCELang['lang_indent_desc'] = 'Indrag';
+tinyMCELang['lang_undo_desc'] = 'Ångra';
+tinyMCELang['lang_redo_desc'] = 'Gör om';
+tinyMCELang['lang_link_desc'] = 'Skapa länk';
+tinyMCELang['lang_unlink_desc'] = 'Ta bort länk';
+tinyMCELang['lang_image_desc'] = 'Skapa/redigera bild';
+tinyMCELang['lang_cleanup_desc'] = 'Rensa skräpkod';
+tinyMCELang['lang_focus_alert'] = 'Flytta mark\u00F6ren till en textyta innan du anv\u00E4nder detta kommando.';
+tinyMCELang['lang_edit_confirm'] = 'Vill du använda WYSIWYG editorn för detta textfält?';
+tinyMCELang['lang_insert_link_title'] = 'Skapa/redigera länk';
+tinyMCELang['lang_insert'] = 'Skapa';
+tinyMCELang['lang_update'] = 'Uppdatera';
+tinyMCELang['lang_cancel'] = 'Avbryt';
+tinyMCELang['lang_insert_link_url'] = 'Länkens URL';
+tinyMCELang['lang_insert_link_target'] = 'Fönster';
+tinyMCELang['lang_insert_link_target_same'] = 'Öppna länken i samma fönster';
+tinyMCELang['lang_insert_link_target_blank'] = 'Öppna länken i ett nytt fönster';
+tinyMCELang['lang_insert_link_delta_width'] = 20;
+tinyMCELang['lang_insert_link_delta_height'] = 10;
+tinyMCELang['lang_insert_image_title'] = 'Skapa/redigera bild';
+tinyMCELang['lang_insert_image_src'] = 'Bildens URL';
+tinyMCELang['lang_insert_image_alt'] = 'Bildens beskrivning';
+tinyMCELang['lang_bold_img'] = 'bold_de_se.gif';
+tinyMCELang['lang_italic_img'] = 'italic_de_se.gif';
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Klipput/Kopiera/Klistra fungerar inte Mozilla och Firefox. Vill du veta mer om detta?';
+tinyMCELang['lang_help_desc'] = "Hjälp";
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/th.js b/www/extras/tinymce/jscripts/tiny_mce/langs/th.js
new file mode 100644
index 000000000..dde579a5b
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/th.js
@@ -0,0 +1,37 @@
+// TH lang variables Thai contributed by Innozent
+
+tinyMCELang['lang_bold_desc'] = 'µÑÇ˹Ò';
+tinyMCELang['lang_italic_desc'] = 'µÑÇéàÍÕ§';
+tinyMCELang['lang_underline_desc'] = '¢Õ´àÊé¹ãµé';
+tinyMCELang['lang_striketrough_desc'] = '¢Õ´¤ÅèÍÁ';
+tinyMCELang['lang_justifyleft_desc'] = 'ªÔ´¢Íº«éÒÂ';
+tinyMCELang['lang_justifycenter_desc'] = '¡Öè§¡ÅÒ§';
+tinyMCELang['lang_justifyright_desc'] = 'ªÔ´¢Íº¢ÇÒ';
+tinyMCELang['lang_justifyfull_desc'] = '¨Ñ´ªÔ´¢Íº';
+tinyMCELang['lang_bullist_desc'] = 'ÊÑÅѡɳìáÊ´§ËÑÇ¢éÍÂèÍÂ';
+tinyMCELang['lang_numlist_desc'] = 'ÅӴѺàÅ¢';
+tinyMCELang['lang_outdent_desc'] = 'Å´¡ÒÃàÂ×éͧ';
+tinyMCELang['lang_indent_desc'] = 'à¾ÔèÁ¡ÒÃàÂ×éͧ';
+tinyMCELang['lang_undo_desc'] = 'àÅÔ¡·Ó';
+tinyMCELang['lang_redo_desc'] = '·ÓãËÁè';
+tinyMCELang['lang_link_desc'] = 'à¾ÔèÁÅÔ§¤ì';
+tinyMCELang['lang_unlink_desc'] = 'źÅÔ§¤ì';
+tinyMCELang['lang_image_desc'] = 'ãÊèÃÙ»';
+tinyMCELang['lang_cleanup_desc'] = '·Ó¤ÇÒÁÊÐÍÒ´¢éͤÇÒÁ';
+tinyMCELang['lang_focus_alert'] = 'µéͧàÅ×Í¡¡Åèͧ¢éͤÇÒÁ¡è͹·Õè¨Ðãªé¤ÓÊÑè§¹Õé';
+tinyMCELang['lang_edit_confirm'] = '¤Ø³µéͧ¡Ò÷Õè¨Ðãªé WYSIWYG mode ÊÓËÃѺ¡Åèͧ¢éͤÇÒÁ¹ÕéËÃ×ÍäÁè?';
+tinyMCELang['lang_insert_link_title'] = 'à¾ÔèÁ/á¡éä¢ ÅÔ§¤ì';
+tinyMCELang['lang_insert'] = 'à¾ÔèÁ';
+tinyMCELang['lang_cancel'] = '¡àÅÔ¡';
+tinyMCELang['lang_insert_link_url'] = 'Link URL';
+tinyMCELang['lang_insert_link_target'] = 'à»Ô´ÅÔ§¤ìã¹';
+tinyMCELang['lang_insert_link_target_same'] = '˹éÒµèÒ§à´ÕÂǡѹ';
+tinyMCELang['lang_insert_link_target_blank'] = '˹éÒµèÒ§ãËÁè';
+tinyMCELang['lang_insert_image_title'] = 'à¾ÔèÁ/á¡éä¢ ÃÙ»';
+tinyMCELang['lang_insert_image_src'] = 'URL ¢Í§ÃÙ»';
+tinyMCELang['lang_insert_image_alt'] = '¤Ó͸ԺÒÂÃÙ»';
+tinyMCELang['lang_help_desc'] = 'ªèÇÂàËÅ×Í';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/langs/zh_cn.js
new file mode 100644
index 000000000..b8c45ae22
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/langs/zh_cn.js
@@ -0,0 +1,38 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_bold_desc'] = '´ÖÌå';
+tinyMCELang['lang_italic_desc'] = 'бÌå';
+tinyMCELang['lang_underline_desc'] = 'Ï»®Ïß';
+tinyMCELang['lang_striketrough_desc'] = 'ɾ³ýÏß';
+tinyMCELang['lang_justifyleft_desc'] = '×ó¶ÔÆë';
+tinyMCELang['lang_justifycenter_desc'] = '¾ÓÖÐ¶ÔÆë';
+tinyMCELang['lang_justifyright_desc'] = 'ÓÒ¶ÔÆë';
+tinyMCELang['lang_justifyfull_desc'] = 'Á½¶Ë¶ÔÆë';
+tinyMCELang['lang_bullist_desc'] = 'ÎÞÐòÁбí';
+tinyMCELang['lang_numlist_desc'] = 'ÓÐÐòÁбí';
+tinyMCELang['lang_outdent_desc'] = '¼õÉÙËõ½ø';
+tinyMCELang['lang_indent_desc'] = 'Ôö¼ÓËõ½ø';
+tinyMCELang['lang_undo_desc'] = '³·Ïû';
+tinyMCELang['lang_redo_desc'] = 'ÖØ×ö';
+tinyMCELang['lang_link_desc'] = '²åÈë/±à¼ Á´½Ó';
+tinyMCELang['lang_unlink_desc'] = 'ɾ³ýÁ´½Ó';
+tinyMCELang['lang_image_desc'] = '²åÈë/±à¼ ͼÏñ';
+tinyMCELang['lang_cleanup_desc'] = 'Çå³ýÈßÓà´úÂë';
+tinyMCELang['lang_focus_alert'] = 'ÔÚʹÓôËÃüÁîǰij¸ö±à¼Æ÷±ØÐëÏÈ»ñµÃ½¹µã£¡';
+tinyMCELang['lang_edit_confirm'] = 'ÄãÏëÔÚ´ËTextAreaÉÏʹÓÃËù¼û¼´ËùµÃ±à¼Æ÷ô£¿';
+tinyMCELang['lang_insert_link_title'] = '²åÈë/±à¼ Á´½Ó';
+tinyMCELang['lang_insert'] = '²åÈë';
+tinyMCELang['lang_update'] = '¸üÐÂ';
+tinyMCELang['lang_cancel'] = 'È¡Ïû';
+tinyMCELang['lang_insert_link_url'] = 'Á´½ÓµØÖ·';
+tinyMCELang['lang_insert_link_target'] = 'Ä¿±ê';
+tinyMCELang['lang_insert_link_target_same'] = 'ÔÚͬһ´°¿ÚÖдò¿ªÁ´½Ó';
+tinyMCELang['lang_insert_link_target_blank'] = 'ÔÚд°¿ÚÖдò¿ªÁ´½Ó';
+tinyMCELang['lang_insert_image_title'] = '²åÈë/±à¼ ͼÏñ';
+tinyMCELang['lang_insert_image_src'] = 'ͼÏñµØÖ·';
+tinyMCELang['lang_insert_image_alt'] = 'ͼÏñÃèÊö';
+tinyMCELang['lang_help_desc'] = '°ïÖú';
+tinyMCELang['lang_bold_img'] = "bold.gif";
+tinyMCELang['lang_italic_img'] = "italic.gif";
+tinyMCELang['lang_underline_img'] = "underline.gif";
+tinyMCELang['lang_clipboard_msg'] = '¼ôÇÐ/¸´ÖÆ/Õ³Ìù¹¦ÄÜÔÚMozillaºÍFirefoxÉÏÉв»¿ÉÓá£\nÄãÏëÁË½â¹ØÓÚÕâ¸öÎÊÌâµÄ¸ü¶àÐÅÏ¢Âð£¿';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
index e965502ed..78b0f1df1 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
@@ -1,55 +1,2 @@
-/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('advhr', 'uk,de,se');
-
-function TinyMCE_advhr_getControlHTML(control_name) {
- switch (control_name) {
- case "advhr":
- return ' ';
- }
- return "";
-}
-
-/**
- * Executes the mceAdvanceHr command.
- */
-function TinyMCE_advhr_execCommand(editor_id, element, command, user_interface, value) {
- // Handle commands
- switch (command) {
- case "mceAdvancedHr":
- var template = new Array();
- template['file'] = '../../plugins/advhr/rule.htm'; // Relative to theme
- template['width'] = 270;
- template['height'] = 180;
- var size = "", width = "", noshade = "";
- if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr"){
- tinyMCE.hrElement = tinyMCE.selectedElement;
- if (tinyMCE.hrElement) {
- size = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : "";
- width = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : "";
- noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : "";
- }
- tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'});
- } else {
- if (tinyMCE.isMSIE) {
- tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,' ');
- } else {
- tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'insert'});
- }
- }
-
- return true;
- }
- // Pass to next handler in chain
- return false;
-}
-
-function TinyMCE_advhr_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
- tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonNormal');
-
- do {
- if (node.nodeName.toLowerCase() == "hr")
- tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonSelected');
- } while ((node = node.parentNode));
-
- return true;
-}
\ No newline at end of file
+/* Import theme specific language pack */
+ tinyMCE.importPluginLanguagePack('advhr','en,de,sv,zh_cn,cs');function TinyMCE_advhr_getControlHTML(control_name){switch(control_name){case "advhr":return ' ';}return "";}function TinyMCE_advhr_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=270;template['height']=180;var size="",width="",noshade="";if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="hr"){tinyMCE.hrElement=tinyMCE.selectedElement;if(tinyMCE.hrElement){size=tinyMCE.hrElement.getAttribute('size')?tinyMCE.hrElement.getAttribute('size'):"";width=tinyMCE.hrElement.getAttribute('width')?tinyMCE.hrElement.getAttribute('width'):"";noshade=tinyMCE.hrElement.getAttribute('noshade')?tinyMCE.hrElement.getAttribute('noshade'):"";}tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'update'});}else{if(tinyMCE.isMSIE){tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,' ');}else{tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'insert'});}}return true;}return false;}function TinyMCE_advhr_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonNormal');do{if(node.nodeName.toLowerCase()=="hr")tinyMCE.switchClassSticky(editor_id+'_advhr','mceButtonSelected');}while((node=node.parentNode));return true;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
new file mode 100644
index 000000000..c25287751
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
@@ -0,0 +1,55 @@
+/* Import theme specific language pack */
+tinyMCE.importPluginLanguagePack('advhr', 'en,de,sv,zh_cn,cs');
+
+function TinyMCE_advhr_getControlHTML(control_name) {
+ switch (control_name) {
+ case "advhr":
+ return ' ';
+ }
+ return "";
+}
+
+/**
+ * Executes the mceAdvanceHr command.
+ */
+function TinyMCE_advhr_execCommand(editor_id, element, command, user_interface, value) {
+ // Handle commands
+ switch (command) {
+ case "mceAdvancedHr":
+ var template = new Array();
+ template['file'] = '../../plugins/advhr/rule.htm'; // Relative to theme
+ template['width'] = 270;
+ template['height'] = 180;
+ var size = "", width = "", noshade = "";
+ if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr"){
+ tinyMCE.hrElement = tinyMCE.selectedElement;
+ if (tinyMCE.hrElement) {
+ size = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : "";
+ width = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : "";
+ noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : "";
+ }
+ tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'});
+ } else {
+ if (tinyMCE.isMSIE) {
+ tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,' ');
+ } else {
+ tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'insert'});
+ }
+ }
+
+ return true;
+ }
+ // Pass to next handler in chain
+ return false;
+}
+
+function TinyMCE_advhr_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+ tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonNormal');
+
+ do {
+ if (node.nodeName.toLowerCase() == "hr")
+ tinyMCE.switchClassSticky(editor_id + '_advhr', 'mceButtonSelected');
+ } while ((node = node.parentNode));
+
+ return true;
+}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/cs.js
new file mode 100644
index 000000000..5227b63e8
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/cs.js
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_advhr_desc'] = 'Vložit/editovat vodorovný oddìlovaè'
+tinyMCELang['lang_insert_advhr_width'] = 'Šíøka';
+tinyMCELang['lang_insert_advhr_size'] = 'Výška';
+tinyMCELang['lang_insert_advhr_noshade'] = 'Nestínovat';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/de.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/de.js
index 0558377af..beefec8fd 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/de.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/de.js
@@ -1,6 +1,6 @@
-// DE lang variables
-
-tinyMCELang['lang_insert_advhr_desc'] = 'Horizontale Linie einfügen / bearbeiten'
-tinyMCELang['lang_insert_advhr_width'] = 'Breite';
-tinyMCELang['lang_insert_advhr_size'] = 'Höhe';
-tinyMCELang['lang_insert_advhr_noshade'] = 'Keinen Schatten';
+// DE lang variables
+
+tinyMCELang['lang_insert_advhr_desc'] = 'Horizontale Linie einfügen / bearbeiten'
+tinyMCELang['lang_insert_advhr_width'] = 'Breite';
+tinyMCELang['lang_insert_advhr_size'] = 'Höhe';
+tinyMCELang['lang_insert_advhr_noshade'] = 'Keinen Schatten';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en.js
new file mode 100644
index 000000000..8daf26e1b
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en.js
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_advhr_desc'] = 'Insert / edit Horizontale Rule'
+tinyMCELang['lang_insert_advhr_width'] = 'Width';
+tinyMCELang['lang_insert_advhr_size'] = 'Height';
+tinyMCELang['lang_insert_advhr_noshade'] = 'No shadow';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/sv.js
new file mode 100644
index 000000000..9a04982df
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/sv.js
@@ -0,0 +1,6 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_advhr_desc'] = 'Skapa / uppdatera Horizontell linie'
+tinyMCELang['lang_insert_advhr_width'] = 'Bredd';
+tinyMCELang['lang_insert_advhr_size'] = 'Höjd';
+tinyMCELang['lang_insert_advhr_noshade'] = 'Ingen skugga';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/zh_cn.js
new file mode 100644
index 000000000..b12d1648c
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/langs/zh_cn.js
@@ -0,0 +1,6 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_insert_advhr_desc'] = '²åÈë/±à¼ ˮƽ±ê³ß'
+tinyMCELang['lang_insert_advhr_width'] = '¿í¶È';
+tinyMCELang['lang_insert_advhr_size'] = '¸ß¶È';
+tinyMCELang['lang_insert_advhr_noshade'] = 'ÎÞÒõÓ°';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt
index be6dec383..f39e3b471 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/readme.txt
@@ -1,20 +1,20 @@
- Advhr plugin for TinyMCE
------------------------------
-
-About:
- This is a more advanced hr dialog contributed by Michael Keck.
- This one supports noshade, width and size.
-
-Installation instructions:
- * Copy the advhr directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- * Add plugin to TinyMCE plugin option list example: plugins : "advhr".
- * Add this "hr[class|width|size|noshade]" to extended_valid_elements option.
-
-Initialization example:
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "advhr",
- theme_advanced_buttons1_add : "advhr",
- extended_valid_elements : "hr[class|width|size|noshade]"
- });
+ Advhr plugin for TinyMCE
+-----------------------------
+
+About:
+ This is a more advanced hr dialog contributed by Michael Keck.
+ This one supports noshade, width and size.
+
+Installation instructions:
+ * Copy the advhr directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
+ * Add plugin to TinyMCE plugin option list example: plugins : "advhr".
+ * Add this "hr[class|width|size|noshade]" to extended_valid_elements option.
+
+Initialization example:
+ tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "advhr",
+ theme_advanced_buttons1_add : "advhr",
+ extended_valid_elements : "hr[class|width|size|noshade]"
+ });
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
index c3cda336a..77616dba8 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
@@ -1,108 +1,108 @@
-
-
-
-
-{$lang_insert_link_title}
-
-
-
-
-
-
-
-
+
+
+
+
+{$lang_insert_link_title}
+
+
+
+
+
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
index bf9e3fd2b..05b14bbd8 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
@@ -1,19 +1,2 @@
/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('advimage', 'uk,se,de');
-
-/**
- * Insert image template function.
- */
-function TinyMCE_advimage_getInsertImageTemplate() {
- var template = new Array();
-
- template['file'] = '../../plugins/advimage/image.htm';
- template['width'] = 380;
- template['height'] = 380;
-
- // Language specific width and height addons
- template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
- template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
-
- return template;
-}
+ tinyMCE.importPluginLanguagePack('advimage','en,de,sv,zh_cn,cs');function TinyMCE_advimage_getInsertImageTemplate(){var template=new Array();template['file']='../../plugins/advimage/image.htm';template['width']=380;template['height']=380;template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);return template;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
new file mode 100644
index 000000000..5be698584
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
@@ -0,0 +1,19 @@
+/* Import theme specific language pack */
+tinyMCE.importPluginLanguagePack('advimage', 'en,de,sv,zh_cn,cs');
+
+/**
+ * Insert image template function.
+ */
+function TinyMCE_advimage_getInsertImageTemplate() {
+ var template = new Array();
+
+ template['file'] = '../../plugins/advimage/image.htm';
+ template['width'] = 380;
+ template['height'] = 380;
+
+ // Language specific width and height addons
+ template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
+ template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
+
+ return template;
+}
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
index 72d5d9886..21cafd09f 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
@@ -4,6 +4,11 @@
{$lang_insert_image_title}
+
+
{$lang_insert_image_alt}:
@@ -196,10 +240,46 @@
{$lang_insert_image_mouseover}:
+
+
+
{$lang_insert_image_mouseout}:
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs.js
new file mode 100644
index 000000000..dde44c688
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/cs.js
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Název obrázku';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternativní obrázek'
+tinyMCELang['lang_insert_image_mouseover'] = 'pøi najetí myši';
+tinyMCELang['lang_insert_image_mouseout'] = 'pøi odjetí myši';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en.js
new file mode 100644
index 000000000..c4098afcd
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en.js
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Image title';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternative image'
+tinyMCELang['lang_insert_image_mouseover'] = 'for mouse over';
+tinyMCELang['lang_insert_image_mouseout'] = 'for mouse out';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv.js
new file mode 100644
index 000000000..a2c62bbfe
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/sv.js
@@ -0,0 +1,6 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_image_alt2'] = 'Bildens titel';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Alternativ bild'
+tinyMCELang['lang_insert_image_mouseover'] = 'när pekaren är över';
+tinyMCELang['lang_insert_image_mouseout'] = 'när pekaren är utanför';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_cn.js
new file mode 100644
index 000000000..24360d01e
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advimage/langs/zh_cn.js
@@ -0,0 +1,6 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_insert_image_alt2'] = 'ͼƬ±êÌâ';
+tinyMCELang['lang_insert_image_onmousemove'] = 'Ìæ´úͼÏñ'
+tinyMCELang['lang_insert_image_mouseover'] = 'Êó±êÒÆÉÏʱ';
+tinyMCELang['lang_insert_image_mouseout'] = 'Êó±êÒÆ¿ªÊ±';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
index 352610b3b..dee396450 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
@@ -1,18 +1,2 @@
/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('advlink', 'uk,se,de');
-
-/**
- * Insert link template function.
- */
-function TinyMCE_advlink_getInsertLinkTemplate() {
- var template = new Array();
- template['file'] = '../../plugins/advlink/link.htm';
- template['width'] = 440;
- template['height'] = 420;
-
- // Language specific width and height addons
- template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
- template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
-
- return template;
-}
\ No newline at end of file
+ tinyMCE.importPluginLanguagePack('advlink','en,de,sv,zh_cn,cs');function TinyMCE_advlink_getInsertLinkTemplate(){var template=new Array();template['file']='../../plugins/advlink/link.htm';template['width']=440;template['height']=420;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);return template;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
new file mode 100644
index 000000000..1173e37e7
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
@@ -0,0 +1,18 @@
+/* Import theme specific language pack */
+tinyMCE.importPluginLanguagePack('advlink', 'en,de,sv,zh_cn,cs');
+
+/**
+ * Insert link template function.
+ */
+function TinyMCE_advlink_getInsertLinkTemplate() {
+ var template = new Array();
+ template['file'] = '../../plugins/advlink/link.htm';
+ template['width'] = 440;
+ template['height'] = 420;
+
+ // Language specific width and height addons
+ template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
+ template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
+
+ return template;
+}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs.js
new file mode 100644
index 000000000..fb758caa1
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/cs.js
@@ -0,0 +1,20 @@
+// CZ lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = 'Otevøít ve stejném oknì/rámu';
+tinyMCELang['lang_insert_link_target_parent'] = 'Otevøít v rodièovském oknì/rámu';
+tinyMCELang['lang_insert_link_target_top'] = 'Otevøít v nejvyšším rámu (pøepíše všechny rámy)';
+tinyMCELang['lang_insert_link_target_blank'] = 'Otevøít v novém oknì';
+tinyMCELang['lang_insert_link_target_named'] = 'Otevøít v oknì';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'Název okna';
+tinyMCELang['lang_insert_link_popup_return'] = 'insert \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'Ukázat posuvníky';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Ukázat stavový øádek';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Ukázat ovl. lištu';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Ukázat menu';
+tinyMCELang['lang_insert_link_popup_location'] = 'Ukázat lištu umístìní';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Promìnná velikost okna';
+tinyMCELang['lang_insert_link_popup_size'] = 'Velikost';
+tinyMCELang['lang_insert_link_popup_position'] = 'Umístìní (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Vložte název cíle nebo vyberte jinou volbu.';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en.js
new file mode 100644
index 000000000..9384f3917
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en.js
@@ -0,0 +1,20 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = 'Open in this window / frame';
+tinyMCELang['lang_insert_link_target_parent'] = 'Open in parent window / frame';
+tinyMCELang['lang_insert_link_target_top'] = 'Open in top frame (replaces all frames)';
+tinyMCELang['lang_insert_link_target_blank'] = 'Open in new window';
+tinyMCELang['lang_insert_link_target_named'] = 'Open in the window';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'Window name';
+tinyMCELang['lang_insert_link_popup_return'] = 'insert \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'Show scrollbars';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Show statusbar';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Show toolbars';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Show menubar';
+tinyMCELang['lang_insert_link_popup_location'] = 'Show locationbar';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Make window resizable';
+tinyMCELang['lang_insert_link_popup_size'] = 'Size';
+tinyMCELang['lang_insert_link_popup_position'] = 'Position (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Please insert a name for the target or choose another option.';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv.js
new file mode 100644
index 000000000..cc5ab725d
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/sv.js
@@ -0,0 +1,20 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_link_target_same'] = 'Öppna i samma fönster / ram';
+tinyMCELang['lang_insert_link_target_parent'] = 'Öppna i underliggande fönster / ram';
+tinyMCELang['lang_insert_link_target_top'] = 'Öppna i topp ramen (ersätter alla ramar)';
+tinyMCELang['lang_insert_link_target_blank'] = 'Öppna i ett nytt fönster';
+tinyMCELang['lang_insert_link_target_named'] = 'Öppna i ett specifikt fönster';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'Popup URL';
+tinyMCELang['lang_insert_link_popup_name'] = 'Fönstrets namn';
+tinyMCELang['lang_insert_link_popup_return'] = 'Sättin \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'Visa scrollbars';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'Visa statusbar';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'Visa toolbars';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'Visa menubar';
+tinyMCELang['lang_insert_link_popup_location'] = 'Visa locationbar';
+tinyMCELang['lang_insert_link_popup_resizable'] = 'Gör fönstret skalbart';
+tinyMCELang['lang_insert_link_popup_size'] = 'Storlek';
+tinyMCELang['lang_insert_link_popup_position'] = 'Position (X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Var god skriv ett namn för målet eller välj ett annat val.';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_cn.js
new file mode 100644
index 000000000..bb402cae3
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/langs/zh_cn.js
@@ -0,0 +1,20 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_insert_link_target_same'] = 'ÔÚ±¾´°¿Ú/¿ò¼ÜÖдò¿ª';
+tinyMCELang['lang_insert_link_target_parent'] = 'ÔÚ¸¸´°¿Ú/¿ò¼ÜÖдò¿ª';
+tinyMCELang['lang_insert_link_target_top'] = 'ÔÚ¸ù¿ò¼ÜÖдò¿ª£¨Ìæ»»ËùÓпò¼Ü£©';
+tinyMCELang['lang_insert_link_target_blank'] = 'ÔÚд°¿ÚÖдò¿ª';
+tinyMCELang['lang_insert_link_target_named'] = 'ÔÚ´Ë´°¿ÚÖдò¿ª';
+tinyMCELang['lang_insert_link_popup'] = 'JS-Popup';
+tinyMCELang['lang_insert_link_popup_url'] = 'µ¯³ö´°¿ÚµØÖ·';
+tinyMCELang['lang_insert_link_popup_name'] = '´°¿ÚÃû³Æ';
+tinyMCELang['lang_insert_link_popup_return'] = '²åÈë \'return false\'';
+tinyMCELang['lang_insert_link_popup_scrollbars'] = 'ÏÔʾ¹ö¶¯Ìõ';
+tinyMCELang['lang_insert_link_popup_statusbar'] = 'ÏÔʾ״̬À¸';
+tinyMCELang['lang_insert_link_popup_toolbar'] = 'ÏÔʾ¹¤¾ßÀ¸';
+tinyMCELang['lang_insert_link_popup_menubar'] = 'ÏÔʾ²Ëµ¥À¸';
+tinyMCELang['lang_insert_link_popup_location'] = 'ÏÔʾµØÖ·À¸';
+tinyMCELang['lang_insert_link_popup_resizable'] = '¿ÉÖØ¶¨Òå´°¿Ú´óС';
+tinyMCELang['lang_insert_link_popup_size'] = '³ß´ç';
+tinyMCELang['lang_insert_link_popup_position'] = 'λÖÃ(X/Y)';
+tinyMCELang['lang_insert_link_popup_missingtarget'] = 'Çë²åÈëÄ¿±êÃû³Æ»òÕßÑ¡ÔñÁíÍâµÄÑ¡Ïî¡£';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
index a36c497a7..5b5835dcc 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
@@ -4,6 +4,11 @@
{$lang_insert_link_title}
+
-
-
-
-
-
+
+
+
+
+{$lang_insert_flash}
+
+
+
+
+
+
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/cs.js
new file mode 100644
index 000000000..c408809d4
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/cs.js
@@ -0,0 +1,5 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_flash'] = 'Vložit/editovat Flash Movie';
+tinyMCELang['lang_insert_flash_file'] = 'Flash soubor (.swf)';
+tinyMCELang['lang_insert_flash_size'] = 'Velikost';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/de.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/de.js
index c00eb6387..654d84480 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/de.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/de.js
@@ -1,4 +1,5 @@
-// DE lang variables
-tinyMCELang['lang_insert_flash'] = 'Flash Movie einfügen / bearbeiten';
-tinyMCELang['lang_insert_flash_file'] = 'Flash-Datei';
-tinyMCELang['lang_insert_flash_size'] = 'Größe';
+// DE lang variables
+tinyMCELang['lang_insert_flash'] = 'Flash Movie einfügen / bearbeiten';
+tinyMCELang['lang_insert_flash_file'] = 'Flash-Datei';
+tinyMCELang['lang_insert_flash_size'] = 'Größe';
+tinyMCELang['lang_insert_flash_list'] = 'Flash files';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/en.js
new file mode 100644
index 000000000..34fbcd9f8
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/en.js
@@ -0,0 +1,6 @@
+// UK lang variables
+
+tinyMCELang['lang_insert_flash'] = 'Insert / edit Flash Movie';
+tinyMCELang['lang_insert_flash_file'] = 'Flash-File (.swf)';
+tinyMCELang['lang_insert_flash_size'] = 'Size';
+tinyMCELang['lang_insert_flash_list'] = 'Flash files';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/sv.js
new file mode 100644
index 000000000..b94933206
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/sv.js
@@ -0,0 +1,6 @@
+// SE lang variables
+
+tinyMCELang['lang_insert_flash'] = 'Skapa / uppdatera flash film';
+tinyMCELang['lang_insert_flash_file'] = 'Flash film (.swf)';
+tinyMCELang['lang_insert_flash_size'] = 'Storlek';
+tinyMCELang['lang_insert_flash_list'] = 'Flash filer';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/zh_cn.js
new file mode 100644
index 000000000..cef375513
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/langs/zh_cn.js
@@ -0,0 +1,6 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_insert_flash'] = '²åÈë/±à¼ FlashµçÓ°';
+tinyMCELang['lang_insert_flash_file'] = 'FlashÎļþ(.swf)';
+tinyMCELang['lang_insert_flash_size'] = '³ß´ç';
+tinyMCELang['lang_insert_flash_list'] = 'Flash files';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt
index a031d5603..b868a9fd0 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/flash/readme.txt
@@ -1,47 +1,48 @@
- FLASH plugin for TinyMCE
------------------------------
-
-About:
- This is the INSERT FLASH Dialog contributed by Michael Keck.
- This one supports popup windows and targets.
-
-Note:
- The placeholder for Flash is called 'mce_plugin_flash' and needs a class 'mce_plugin_flash' in the 'css_-style'.
- Do not name another image 'name="mce_plugin_flash"!
-
-Installation instructions:
- * Copy the flash directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- * Add plugin to TinyMCE plugin option list example: plugins : "flash".
- * Add this "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]" to extended_valid_elements option.
-
-Initialization example:
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "flash",
- extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]"
- });
-
-
-----------------------------------------------------------------
-ADDITIONAL NOTE:
-
-The flash plugin has been heavily modified (the original is editor_plugin_original.js) since the original did not play nicely with html content that
-already contained existing flash tags and in fact stripped out the object
-tags for existing flash html. The rewrite corrects this as well attempts
-to preserve the existing flash tags where possible. The tinyMCE.init call
-should be be something like:
-
-Initialization example:
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "flash",
- extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]"
- });
-
-Note the extra obj,param,embed attributes for the img tag. These attributes
-are used to serialize data from existing flash tags so that they can be
-properly restored. Editing a flash tag with the plugin will cause this
-information to be lost (sorry !) but still produces a working flash nevertheless.
-
+ FLASH plugin for TinyMCE
+-----------------------------
+
+About:
+ This is the INSERT FLASH Dialog contributed by Michael Keck.
+ This one supports popup windows and targets.
+
+Note:
+ The placeholder for Flash is called 'mce_plugin_flash' and needs a class 'mce_plugin_flash' in the 'css_-style'.
+ Do not name another image 'name="mce_plugin_flash"!
+
+Installation instructions:
+ * Copy the flash directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
+ * Add plugin to TinyMCE plugin option list example: plugins : "flash".
+ * Add this "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]" to extended_valid_elements option.
+
+Initialization example:
+ tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "flash",
+ extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name]"
+ flash_external_list_url : "example_flash_list.js" // Optional URL to a list of Flash movies
+ });
+
+
+----------------------------------------------------------------
+ADDITIONAL NOTE:
+
+The flash plugin has been heavily modified (the original is editor_plugin_original.js) since the original did not play nicely with html content that
+already contained existing flash tags and in fact stripped out the object
+tags for existing flash html. The rewrite corrects this as well attempts
+to preserve the existing flash tags where possible. The tinyMCE.init call
+should be be something like:
+
+Initialization example:
+ tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "flash",
+ extended_valid_elements : "img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name|obj|param|embed]"
+ });
+
+Note the extra obj,param,embed attributes for the img tag. These attributes
+are used to serialize data from existing flash tags so that they can be
+properly restored. Editing a flash tag with the plugin will cause this
+information to be lost (sorry !) but still produces a working flash nevertheless.
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js
index aa56ed105..5dfe0ce4e 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js
@@ -1,37 +1,2 @@
/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('iespell', 'uk,se');
-
-/**
- * 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 ' ';
-
- 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;
-}
\ No newline at end of file
+ tinyMCE.importPluginLanguagePack('iespell','cs,el,en,fr_ca,it,ko,sv,zh_cn');function TinyMCE_iespell_getControlHTML(control_name){if(control_name=="iespell"&&tinyMCE.isMSIE)return ' ';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;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
new file mode 100644
index 000000000..23aa4840e
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
@@ -0,0 +1,37 @@
+/* Import theme specific language pack */
+tinyMCE.importPluginLanguagePack('iespell', 'cs,el,en,fr_ca,it,ko,sv,zh_cn');
+
+/**
+ * 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 ' ';
+
+ 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;
+}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/cs.js
new file mode 100644
index 000000000..c38a4806c
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/cs.js
@@ -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."
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js
new file mode 100644
index 000000000..b7cc3a439
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/en.js
@@ -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."
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/fr_ca.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/fr_ca.js
new file mode 100644
index 000000000..fb99a892f
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/fr_ca.js
@@ -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."
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/sv.js
new file mode 100644
index 000000000..2230c1cb9
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/sv.js
@@ -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."
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/zh_cn.js
new file mode 100644
index 000000000..f03f9928c
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/iespell/langs/zh_cn.js
@@ -0,0 +1,4 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_iespell_desc'] = 'ÔËÐÐÆ´Ð´¼ì²é';
+tinyMCELang['lang_iespell_download'] = "δ¼ì²âµ½ieSpellƴд¼ì²é£¬µã»÷ OK ǰÍùÏÂÔØÒ³Ãæ¡£"
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js
index 000ac2fcd..d389f04ad 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js
@@ -1,66 +1,2 @@
/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('insertdatetime', 'uk,se');
-
-/**
- * Returns the HTML contents of the insertdate, inserttime controls.
- */
-function TinyMCE_insertdatetime_getControlHTML(control_name) {
- switch (control_name) {
- case "insertdate":
- return ' ';
-
- case "inserttime":
- return ' ';
- }
-
- return "";
-}
-
-/**
- * Executes the mceInsertDate command.
- */
-function TinyMCE_insertdatetime_execCommand(editor_id, element, command, user_interface, value) {
- /* Adds zeros infront of value */
- function addZeros(value, len) {
- value = "" + value;
-
- if (value.length < len) {
- for (var i=0; i<(len-value.length); i++)
- value = "0" + value;
- }
-
- return value;
- }
-
- /* Returns the date object in the specified format */
- function getDateTime(date, format) {
- format = tinyMCE.regexpReplace(format, "%D", "%m/%d/%y");
- format = tinyMCE.regexpReplace(format, "%r", "%I:%M:%S %p");
- format = tinyMCE.regexpReplace(format, "%Y", "" + date.getFullYear());
- format = tinyMCE.regexpReplace(format, "%y", "" + date.getYear());
- format = tinyMCE.regexpReplace(format, "%m", addZeros(date.getMonth()+1, 2));
- format = tinyMCE.regexpReplace(format, "%d", addZeros(date.getDate(), 2));
- format = tinyMCE.regexpReplace(format, "%H", "" + addZeros(date.getHours(), 2));
- format = tinyMCE.regexpReplace(format, "%M", "" + addZeros(date.getMinutes(), 2));
- format = tinyMCE.regexpReplace(format, "%S", "" + addZeros(date.getSeconds(), 2));
- format = tinyMCE.regexpReplace(format, "%I", "" + (date.getHours() < 12 ? (date.getHours()+1) : 24-date.getHours()));
- format = tinyMCE.regexpReplace(format, "%p", "" + (date.getHours() < 12 ? "AM" : "PM"));
- format = tinyMCE.regexpReplace(format, "%%", "%");
-
- return format;
- }
-
- // Handle commands
- switch (command) {
- case "mceInsertDate":
- tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_dateFormat", "%Y-%m-%d")));
- return true;
-
- case "mceInsertTime":
- tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_timeFormat", "%H:%M:%S")));
- return true;
- }
-
- // Pass to next handler in chain
- return false;
-}
+ tinyMCE.importPluginLanguagePack('insertdatetime','cs,el,en,fr_ca,it,ko,sv,zh_cn');function TinyMCE_insertdatetime_getControlHTML(control_name){switch(control_name){case "insertdate":return ' ';case "inserttime":return ' ';}return "";}function TinyMCE_insertdatetime_execCommand(editor_id,element,command,user_interface,value){function addZeros(value,len){value=""+value;if(value.length';
+
+ case "inserttime":
+ return ' ';
+ }
+
+ return "";
+}
+
+/**
+ * Executes the mceInsertDate command.
+ */
+function TinyMCE_insertdatetime_execCommand(editor_id, element, command, user_interface, value) {
+ /* Adds zeros infront of value */
+ function addZeros(value, len) {
+ value = "" + value;
+
+ if (value.length < len) {
+ for (var i=0; i<(len-value.length); i++)
+ value = "0" + value;
+ }
+
+ return value;
+ }
+
+ /* Returns the date object in the specified format */
+ function getDateTime(date, format) {
+ format = tinyMCE.regexpReplace(format, "%D", "%m/%d/%y");
+ format = tinyMCE.regexpReplace(format, "%r", "%I:%M:%S %p");
+ format = tinyMCE.regexpReplace(format, "%Y", "" + date.getFullYear());
+ format = tinyMCE.regexpReplace(format, "%y", "" + date.getYear());
+ format = tinyMCE.regexpReplace(format, "%m", addZeros(date.getMonth()+1, 2));
+ format = tinyMCE.regexpReplace(format, "%d", addZeros(date.getDate(), 2));
+ format = tinyMCE.regexpReplace(format, "%H", "" + addZeros(date.getHours(), 2));
+ format = tinyMCE.regexpReplace(format, "%M", "" + addZeros(date.getMinutes(), 2));
+ format = tinyMCE.regexpReplace(format, "%S", "" + addZeros(date.getSeconds(), 2));
+ format = tinyMCE.regexpReplace(format, "%I", "" + (date.getHours() < 12 ? (date.getHours()+1) : 24-date.getHours()));
+ format = tinyMCE.regexpReplace(format, "%p", "" + (date.getHours() < 12 ? "AM" : "PM"));
+ format = tinyMCE.regexpReplace(format, "%%", "%");
+
+ return format;
+ }
+
+ // Handle commands
+ switch (command) {
+ case "mceInsertDate":
+ tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_dateFormat", "%Y-%m-%d")));
+ return true;
+
+ case "mceInsertTime":
+ tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false, getDateTime(new Date(), tinyMCE.getParam("plugin_insertdate_timeFormat", "%H:%M:%S")));
+ return true;
+ }
+
+ // Pass to next handler in chain
+ return false;
+}
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/cs.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/cs.js
new file mode 100644
index 000000000..9f73ba40b
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/cs.js
@@ -0,0 +1,4 @@
+// UK lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Vložit datum';
+tinyMCELang['lang_inserttime_desc'] = 'Vložit èas';
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/en.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/en.js
new file mode 100644
index 000000000..a354eb976
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/en.js
@@ -0,0 +1,4 @@
+// UK lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Insert date';
+tinyMCELang['lang_inserttime_desc'] = 'Insert time';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/fr_ca.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/fr_ca.js
new file mode 100644
index 000000000..aa8db952a
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/fr_ca.js
@@ -0,0 +1,4 @@
+// CAN_FR lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Insèrer la date';
+tinyMCELang['lang_inserttime_desc'] = 'Insèrer l\'heure';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/sv.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/sv.js
new file mode 100644
index 000000000..b956613b7
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/sv.js
@@ -0,0 +1,4 @@
+// SE lang variables
+
+tinyMCELang['lang_insertdate_desc'] = 'Klistra in datum';
+tinyMCELang['lang_inserttime_desc'] = 'Klistra in tid';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/zh_cn.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/zh_cn.js
new file mode 100644
index 000000000..34f4bfff5
--- /dev/null
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/insertdatetime/langs/zh_cn.js
@@ -0,0 +1,4 @@
+// Simplified Chinese lang variables contributed by cube316 (cube316@etang.com)
+
+tinyMCELang['lang_insertdate_desc'] = '²åÈ뵱ǰÈÕÆÚ';
+tinyMCELang['lang_inserttime_desc'] = '²åÈ뵱ǰʱ¼ä';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js
index 1f5caa556..a3565b157 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js
@@ -1,61 +1,2 @@
-/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('preview', 'uk,se,de,pt');
-
-/**
- * Returns the HTML contents of the preview control.
- */
-function TinyMCE_preview_getControlHTML(control_name) {
- switch (control_name) {
- case "preview":
- return ' ';
- }
-
- return "";
-}
-
-/**
- * Executes the mcePreview command.
- */
-function TinyMCE_preview_execCommand(editor_id, element, command, user_interface, value) {
- // Handle commands
- switch (command) {
- case "mcePreview":
- var previewPage = tinyMCE.getParam("plugin_preview_pageurl", null);
- var previewWidth = tinyMCE.getParam("plugin_preview_width", "550");
- var previewHeight = tinyMCE.getParam("plugin_preview_height", "600");
-
- // Use a custom preview page
- if (previewPage) {
- var template = new Array();
-
- template['file'] = previewPage;
- template['width'] = previewWidth;
- template['height'] = previewHeight;
-
- tinyMCE.openWindow(template, {editor_id : editor_id, resizable : "yes", scrollbars : "yes", content : tinyMCE.getContent(), content_css : tinyMCE.getParam("content_css")});
- } else {
- var win = window.open("", "mcePreview", "menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width=" + previewWidth + ",height=" + previewHeight);
- var html = "";
-
- html += '';
- html += '';
- html += '';
- html += '' + tinyMCE.getLang('lang_preview_desc') + ' ';
- html += ' ';
- html += ' ';
- html += '';
- html += '';
- html += tinyMCE.getContent();
- html += '';
- html += '';
-
- win.document.write(html);
- win.document.close();
- }
-
- return true;
- }
-
- // Pass to next handler in chain
- return false;
-}
+/* Import theme specific language pack */
+ tinyMCE.importPluginLanguagePack('preview','cs,de,el,en,fr_ca,it,ko,pt,sv,zh_cn');function TinyMCE_preview_getControlHTML(control_name){switch(control_name){case "preview":return ' ';}return "";}function TinyMCE_preview_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mcePreview":var previewPage=tinyMCE.getParam("plugin_preview_pageurl",null);var previewWidth=tinyMCE.getParam("plugin_preview_width","550");var previewHeight=tinyMCE.getParam("plugin_preview_height","600");if(previewPage){var template=new Array();template['file']=previewPage;template['width']=previewWidth;template['height']=previewHeight;tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"yes",content:tinyMCE.getContent(),content_css:tinyMCE.getParam("content_css")});}else{var win=window.open("","mcePreview","menubar=no,toolbar=no,scrollbars=yes,resizable=yes,left=20,top=20,width="+previewWidth+",height="+previewHeight);var html="";html+='';html+='';html+='';html+=''+tinyMCE.getLang('lang_preview_desc')+' ';html+=' ';html+=' ';html+='';html+='';html+=tinyMCE.getContent();html+='';html+='';win.document.write(html);win.document.close();}return true;}return false;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/langs/de.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/langs/de.js
index f6f80bdf5..13aa81e7a 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/langs/de.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/preview/langs/de.js
@@ -1,3 +1,3 @@
-// UK lang variables
-
-tinyMCELang['lang_preview_desc'] = 'Vorschau';
+// UK lang variables
+
+tinyMCELang['lang_preview_desc'] = 'Vorschau';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
index dba42752a..8509bc86c 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
@@ -1,26 +1,2 @@
-/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('print', 'uk,se');
-
-function TinyMCE_print_getControlHTML(control_name) {
- switch (control_name) {
- case "print":
- return ' ';
- }
-
- return "";
-}
-
-/**
- * Executes the search/replace commands.
- */
-function TinyMCE_print_execCommand(editor_id, element, command, user_interface, value) {
- // Handle commands
- switch (command) {
- case "mcePrint":
- tinyMCE.getInstanceById(editor_id).contentWindow.print();
- return true;
- }
-
- // Pass to next handler in chain
- return false;
-}
+/* Import theme specific language pack */
+ tinyMCE.importPluginLanguagePack('print','en,sv,zh_cn');function TinyMCE_print_getControlHTML(control_name){switch(control_name){case "print":return ' ';}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;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/print/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/plugins/print/readme.txt
index 28169c53e..66d15d191 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/print/readme.txt
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/print/readme.txt
@@ -1,17 +1,17 @@
- Print plugin for TinyMCE
------------------------------
-
-About:
- This plugin adds a print button to TinyMCE.
-
-Installation instructions:
- * Copy the print directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- * Add plugin to TinyMCE plugin option list example: plugins : "print".
-
-Initialization example:
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "print",
- theme_advanced_buttons1_add : "print",
- });
+ Print plugin for TinyMCE
+-----------------------------
+
+About:
+ This plugin adds a print button to TinyMCE.
+
+Installation instructions:
+ * Copy the print directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
+ * Add plugin to TinyMCE plugin option list example: plugins : "print".
+
+Initialization example:
+ tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "print",
+ theme_advanced_buttons1_add : "print",
+ });
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js
index 4a7f9e7f4..2099c853a 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js
@@ -1,43 +1,2 @@
/* Import theme specific language pack */
-tinyMCE.importPluginLanguagePack('save', 'uk');
-
-/**
- * Returns the HTML contents of the save control.
- */
-function TinyMCE_save_getControlHTML(control_name) {
- switch (control_name) {
- case "save":
- return ' ';
- }
- 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 ';}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 ';
-
- case "replace":
- return ' ';
- }
-
- return "";
-}
-
-/**
- * Executes the search/replace commands.
- */
-function TinyMCE_searchreplace_execCommand(editor_id, element, command, user_interface, value) {
- function defValue(key, default_value) {
- value[key] = typeof(value[key]) == "undefined" ? default_value : value[key];
- }
-
- function replaceSel(str) {
- // Get current selection
- if (!tinyMCE.isMSIE) {
- var sel = instance.contentWindow.getSelection();
- var rng = sel.getRangeAt(0);
- } else {
- var rng = instance.contentWindow.document.selection.createRange();
- }
-
- // Replace current one
- if (!tinyMCE.isMSIE) {
- rng.deleteContents();
- rng.insertNode(rng.createContextualFragment(str));
- rng.collapse(false);
- } else {
- if (rng.item)
- rng.item(0).outerHTML = str;
- else
- rng.pasteHTML(str);
- }
- }
-
- var instance = tinyMCE.getInstanceById(editor_id);
-
- if (!value)
- value = new Array();
-
- // Setup defualt values
- defValue("editor_id", editor_id);
- defValue("searchstring", "");
- defValue("replacestring", null);
- defValue("replacemode", "none");
- defValue("casesensitive", false);
- defValue("backwards", false);
- defValue("wrap", false);
- defValue("wholeword", false);
-
- // Handle commands
- switch (command) {
- case "mceResetSearch":
- tinyMCE.lastSearchRng = null;
- return true;
-
- case "mceSearch":
- if (user_interface) {
- // Open search dialog
- var template = new Array();
-
- if (value['replacestring'] != null) {
- template['file'] = '../../plugins/searchreplace/replace.htm'; // Relative to theme
- template['width'] = 310;
- template['height'] = 180;
- } else {
- template['file'] = '../../plugins/searchreplace/search.htm'; // Relative to theme
- template['width'] = 280;
- template['height'] = 180;
- }
-
- tinyMCE.openWindow(template, value);
- } else {
- var win = tinyMCE.getInstanceById(editor_id).contentWindow;
- var doc = tinyMCE.getInstanceById(editor_id).contentWindow.document;
-
- // Handle replace current
- if (value['replacemode'] == "current") {
- replaceSel(value['replacestring']);
-
- // Search next one
- value['replacemode'] = "none";
- tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false);
-
- return true;
- }
-
- if (tinyMCE.isMSIE) {
- var rng = tinyMCE.lastSearchRng ? tinyMCE.lastSearchRng : doc.selection.createRange();
- var flags = 0;
-
- if (value['wholeword'])
- flags = flags | 2;
-
- if (value['casesensitive'])
- flags = flags | 4;
-
- // Handle replace all mode
- if (value['replacemode'] == "all") {
- while (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) {
- rng.scrollIntoView();
- rng.select();
- rng.collapse(false);
- replaceSel(value['replacestring']);
- }
-
- alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));
- return true;
- }
-
- if (rng.findText(value['string'], value['backwards'] ? -1 : 1, flags)) {
- rng.scrollIntoView();
- rng.select();
- rng.collapse(value['backwards']);
- tinyMCE.lastSearchRng = rng;
- } else
- alert(tinyMCE.getLang('lang_searchreplace_notfound'));
- } else {
- if (value['replacemode'] == "all") {
- while (win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false))
- replaceSel(value['replacestring']);
-
- alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));
- return true;
- }
-
- if (!win.find(value['string'], value['casesensitive'], value['backwards'], value['wrap'], value['wholeword'], false, false))
- alert(tinyMCE.getLang('lang_searchreplace_notfound'));
- }
- }
- return true;
-
- case "mceSearchReplace":
- value['replacestring'] = "";
-
- tinyMCE.execInstanceCommand(editor_id, 'mceSearch', user_interface, value, false);
- return true;
- }
-
- // Pass to next handler in chain
- return false;
-}
-
-function TinyMCE_searchreplace_handleNodeChange(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
- return true;
-}
+/* Import theme specific language pack */
+ tinyMCE.importPluginLanguagePack('searchreplace','en,sv,zh_cn');function TinyMCE_searchreplace_getControlHTML(control_name){switch(control_name){case "search":return ' ';case "replace":return ' ';}return "";}function TinyMCE_searchreplace_execCommand(editor_id,element,command,user_interface,value){function defValue(key,default_value){value[key]=typeof(value[key])=="undefined"?default_value:value[key];}function replaceSel(search_str,str){if(!tinyMCE.isMSIE){var sel=instance.contentWindow.getSelection();var rng=sel.getRangeAt(0);}else{var rng=instance.contentWindow.document.selection.createRange();}if(!tinyMCE.isMSIE){var doc=instance.contentWindow.document;if(str.indexOf(search_str)==-1){rng.deleteContents();rng.insertNode(rng.createContextualFragment(str));rng.collapse(false);}else{doc.execCommand("insertimage",false,"#mce_temp_url#");var elm=tinyMCE.getElementByAttributeValue(doc.body,"img","src","#mce_temp_url#");elm.parentNode.replaceChild(doc.createTextNode(str),elm);}}else{if(rng.item)rng.item(0).outerHTML=str;else rng.pasteHTML(str);}}var instance=tinyMCE.getInstanceById(editor_id);if(!value)value=new Array();defValue("editor_id",editor_id);defValue("searchstring","");defValue("replacestring",null);defValue("replacemode","none");defValue("casesensitive",false);defValue("backwards",false);defValue("wrap",false);defValue("wholeword",false);switch(command){case "mceResetSearch":tinyMCE.lastSearchRng=null;return true;case "mceSearch":if(user_interface){var template=new Array();if(value['replacestring']!=null){template['file']='../../plugins/searchreplace/replace.htm';template['width']=310;template['height']=180;}else{template['file']='../../plugins/searchreplace/search.htm';template['width']=280;template['height']=180;}tinyMCE.openWindow(template,value);}else{var win=tinyMCE.getInstanceById(editor_id).contentWindow;var doc=tinyMCE.getInstanceById(editor_id).contentWindow.document;if(value['replacemode']=="current"){replaceSel(value['string'],value['replacestring']);value['replacemode']="none";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}if(tinyMCE.isMSIE){var rng=tinyMCE.lastSearchRng?tinyMCE.lastSearchRng:doc.selection.createRange();var flags=0;if(value['wholeword'])flags=flags|2;if(value['casesensitive'])flags=flags|4;if(value['replacemode']=="all"){while(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(false);replaceSel(value['string'],value['replacestring']);}alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(rng.findText(value['string'],value['backwards']?-1:1,flags)){rng.scrollIntoView();rng.select();rng.collapse(value['backwards']);tinyMCE.lastSearchRng=rng;}else alert(tinyMCE.getLang('lang_searchreplace_notfound'));}else{if(value['replacemode']=="all"){while(win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))replaceSel(value['string'],value['replacestring']);alert(tinyMCE.getLang('lang_searchreplace_allreplaced'));return true;}if(!win.find(value['string'],value['casesensitive'],value['backwards'],value['wrap'],value['wholeword'],false,false))alert(tinyMCE.getLang('lang_searchreplace_notfound'));}}return true;case "mceSearchReplace":value['replacestring']="";tinyMCE.execInstanceCommand(editor_id,'mceSearch',user_interface,value,false);return true;}return false;}function TinyMCE_searchreplace_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){return true;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme.txt
index 228387b4e..ca543bf18 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme.txt
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/searchreplace/readme.txt
@@ -1,18 +1,18 @@
- searchreplace plugin for TinyMCE
------------------------------
-
-About:
- This plugin adds search/replace dialogs to TinyMCE.
-
-Installation instructions:
- * Copy the searchreplace directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- * Add plugin to TinyMCE plugin option list example: plugins : "searchreplace".
- * Add buttons "search,replace" to the button list.
-
-Initialization example:
- tinyMCE.init({
- theme : "advanced",
- mode : "textareas",
- plugins : "searchreplace",
- theme_advanced_buttons1_add : "search,replace",
- });
+ searchreplace plugin for TinyMCE
+-----------------------------
+
+About:
+ This plugin adds search/replace dialogs to TinyMCE.
+
+Installation instructions:
+ * Copy the searchreplace directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
+ * Add plugin to TinyMCE plugin option list example: plugins : "searchreplace".
+ * Add buttons "search,replace" to the button list.
+
+Initialization example:
+ tinyMCE.init({
+ theme : "advanced",
+ mode : "textareas",
+ plugins : "searchreplace",
+ theme_advanced_buttons1_add : "search,replace",
+ });
diff --git a/www/extras/tinymce/jscripts/tiny_mce/plugins/zoom/editor_plugin.js b/www/extras/tinymce/jscripts/tiny_mce/plugins/zoom/editor_plugin.js
index 3c26e33be..9e4e5b10f 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/plugins/zoom/editor_plugin.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/plugins/zoom/editor_plugin.js
@@ -1,38 +1,7 @@
/* Import theme specific language pack */
-//tinyMCE.importPluginLanguagePack('zoom', 'uk,se,pt');
-
-/**
- * Returns the HTML contents of the zoom control.
- */
-function TinyMCE_zoom_getControlHTML(control_name) {
- if (!tinyMCE.isMSIE || tinyMCE.isMSIE5_0)
- return "";
-
- switch (control_name) {
- case "zoom":
- return '\
+ function TinyMCE_zoom_getControlHTML(control_name){if(!tinyMCE.isMSIE||tinyMCE.isMSIE5_0)return "";switch(control_name){case "zoom":return '\
+ 100% \
+ 150% \
+ 200% \
+ 250% \
- ';
- }
-
- return "";
-}
-
-/**
- * Executes the mceZoom command.
- */
-function TinyMCE_zoom_execCommand(editor_id, element, command, user_interface, value) {
- // Handle commands
- switch (command) {
- case "mceZoom":
- tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom = value;
- tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom = value;
- return true;
- }
-
- // Pass to next handler in chain
- return false;
-}
+ ';}return "";}function TinyMCE_zoom_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceZoom":tinyMCE.getInstanceById(editor_id).contentDocument.body.style.zoom=value;tinyMCE.getInstanceById(editor_id).contentDocument.body.style.mozZoom=value;return true;}return false;}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm
index 8cd213c6f..c5e583b83 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/charmap.htm
@@ -1,382 +1,382 @@
-
-
-
-
-{$lang_theme_charmap_title}
-
-
-
-
-
-
-
- {$lang_theme_charmap_title}
-
-
-
-
-
-
-
-
-
-
-
-
-
- HTML-Code
-
-
-
-
-
-
-
-
- NUM-Code
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+{$lang_theme_charmap_title}
+
+
+
+
+
+
+
+ {$lang_theme_charmap_title}
+
+
+
+
+
+
+
+
+
+
+
+
+
+ HTML-Code
+
+
+
+
+
+
+
+
+ NUM-Code
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm
index 55a8acdb3..c9e0cb5bc 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/color_picker.htm
@@ -1,272 +1,272 @@
-
-
-{$lang_theme_colorpicker_title}
-
-
-
-
-
-
-
-
-
+
+
+{$lang_theme_colorpicker_title}
+
+
+
+
+
+
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/es/common_buttons.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/es/common_buttons.htm
index ed20f7993..01e6454e7 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/es/common_buttons.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/es/common_buttons.htm
@@ -100,31 +100,31 @@ Pequeña descripción de cada botoón.
+
Inserta una nueva tabla de 2x2.
-
+
Añade una fila encima.
-
+
Añade una fila debajo.
-
+
Elimina una fila.
-
+
Añade una columna antes de la actual .
-
+
Añade una columna después de la actual.
-
+
Elimina la columna actual.
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/fi/common_buttons.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/fi/common_buttons.htm
index e11134aeb..540b70673 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/fi/common_buttons.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/fi/common_buttons.htm
@@ -100,31 +100,31 @@ Alla on lyhyt selostus kaikista toimintonapeista.
+
Lisää tualu. Lue lisää tästä toiminnosta lisää taulu -osiosta .
-
+
Lisää rivi valitun rivin edelle.
-
+
Lisää rivi valitun rivin jälkeen.
-
+
Poista valittu rivi.
-
+
Lisää saraka valitun sarakkeen jälkeen.
-
+
Lisää sarake valitun sarakkeen edelle.
-
+
Poistaa valitun sarakkeen.
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/it/common_buttons.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/it/common_buttons.htm
index 97321e7cd..053661941 100755
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/it/common_buttons.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/it/common_buttons.htm
@@ -120,31 +120,31 @@ programma office
Apre l'editor del sorgente HTML.
-
+
Inserisce una nuova tabella 2x2 alla posizione corrente.
-
+
Aggiunge una riga sopra quella corrente.
-
+
Aggiunge una roga sotto quella corrente.
-
+
Rimuove la riga corrente.
-
+
Aggiunge una colonna prima di quella corrente.
-
+
Aggiunge una colonna dopo quella corrente.
-
+
Rimuove la colonna corrente.
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/nl/common_buttons.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/nl/common_buttons.htm
index f32fb27eb..b77bdeb03 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/nl/common_buttons.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/nl/common_buttons.htm
@@ -124,31 +124,31 @@ knoppen een beknopte beschrijving.
-
+
Voegt een nieuwe tabel met 2 rijen en kolommen in op de huidige positie in te tekst.
-
+
Voegt een nieuwe rij toe aan de tabel boven de huidige.
-
+
Voegt een nieuwe rij toe aan de tabel onder de huidige.
-
+
Verwijdert de huidige rij uit de tabel.
-
+
Voegt een nieuwe kolom toe aan de tabel voor de huidige.
-
+
Voegt een nieuwe kolom toe aan de tabel achter de huidige.
-
+
Verwijdert de huidige kolom uit de tabel.
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/pl/common_buttons.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/pl/common_buttons.htm
index 6f65148de..bd80f20b9 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/pl/common_buttons.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/docs/pl/common_buttons.htm
@@ -109,31 +109,31 @@ Poni
Otwarcie edytora kodu HTML.
-
+
Wstawienie nowej tabeli 2x2 w bie¿±cej pozycji.
-
+
Wstawienie wiersza ponad aktualnie zaznaczonym.
-
+
Wstawienie wiersz poni¿ej aktualnie zaznaczonego.
-
+
Usuniêcie wiersza.
-
+
Wstawienie kolumny przed aktualnie zaznaczon±.
-
+
Wstawienie kolumny za aktualnie zaznaczon±.
-
+
Usuniêcie kolumny.
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_popup.css b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_popup.css
index 301c6fcc6..6d2b69fdd 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_popup.css
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_popup.css
@@ -90,3 +90,28 @@ input.checkbox {
background-color: transparent;
vertical-align: middle;
}
+
+.mceButtonNormal, .mceButtonOver, .mceButtonDown, .mceSeparator, .mceButtonDisabled, .mceButtonSelected {
+ margin-left: 1px;
+}
+
+.mceButtonNormal {
+ border-top: 1px solid;
+ border-left: 1px solid;
+ border-bottom: 1px solid;
+ border-right: 1px solid;
+ border-color: #F0F0EE;
+ cursor: arrow;
+}
+
+.mceButtonOver {
+ border: 1px solid #0A246A;
+ cursor: arrow;
+ background-color: #B6BDD2;
+}
+
+.mceButtonDown {
+ cursor: arrow;
+ border: 1px solid #0A246A;
+ background-color: #8592B5;
+}
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js
index 145bfed82..fc3d87747 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template.js
@@ -1,5 +1,5 @@
/* Import theme specific language pack */
- tinyMCE.importThemeLanguagePack();var TinyMCE_advanced_autoImportCSSClasses=true;var TinyMCE_advanced_foreColor="#000000";var TinyMCE_advanced_anchorName="";var TinyMCE_advanced_buttons=[['bold','{$lang_bold_img}','{$lang_bold_desc}','Bold'],['italic','{$lang_italic_img}','{$lang_italic_desc}','Italic'],['underline','{$lang_underline_img}','{$lang_underline_desc}','Underline'],['strikethrough','strikethrough.gif','{$lang_striketrough_desc}','Strikethrough'],['justifyleft','left.gif','{$lang_justifyleft_desc}','JustifyLeft'],['justifycenter','center.gif','{$lang_justifycenter_desc}','JustifyCenter'],['justifyright','right.gif','{$lang_justifyright_desc}','JustifyRight'],['justifyfull','full.gif','{$lang_justifyfull_desc}','JustifyFull'],['bullist','bullist.gif','{$lang_bullist_desc}','InsertUnorderedList'],['numlist','numlist.gif','{$lang_numlist_desc}','InsertOrderedList'],['outdent','outdent.gif','{$lang_outdent_desc}','Outdent'],['indent','indent.gif','{$lang_indent_desc}','Indent'],['cut','cut.gif','{$lang_cut_desc}','Cut'],['copy','copy.gif','{$lang_copy_desc}','Copy'],['paste','paste.gif','{$lang_paste_desc}','Paste'],['undo','undo.gif','{$lang_undo_desc}','Undo'],['redo','redo.gif','{$lang_redo_desc}','Redo'],['link','link.gif','{$lang_link_desc}','mceLink',true],['unlink','unlink.gif','{$lang_unlink_desc}','unlink'],['image','image.gif','{$lang_image_desc}','mceImage',true],['cleanup','cleanup.gif','{$lang_cleanup_desc}','mceCleanup'],['help','help.gif','{$lang_help_desc}','mceHelp'],['code','code.gif','{$lang_theme_code_desc}','mceCodeEditor'],['table','table.gif','{$lang_theme_table_desc}','mceInsertTable',true],['row_before','table_insert_row_before.gif','{$lang_theme_table_insert_row_before_desc}','mceTableInsertRowBefore'],['row_after','table_insert_row_after.gif','{$lang_theme_table_insert_row_after_desc}','mceTableInsertRowAfter'],['delete_row','table_delete_row.gif','{$lang_theme_table_delete_row_desc}','mceTableDeleteRow'],['col_before','table_insert_col_before.gif','{$lang_theme_table_insert_col_before_desc}','mceTableInsertColBefore'],['col_after','table_insert_col_after.gif','{$lang_theme_table_insert_col_after_desc}','mceTableInsertColAfter'],['delete_col','table_delete_col.gif','{$lang_theme_table_delete_col_desc}','mceTableDeleteCol'],['hr','hr.gif','{$lang_theme_hr_desc}','inserthorizontalrule'],['removeformat','removeformat.gif','{$lang_theme_removeformat_desc}','removeformat'],['sub','sub.gif','{$lang_theme_sub_desc}','subscript'],['sup','sup.gif','{$lang_theme_sup_desc}','superscript'],['forecolor','forecolor.gif','{$lang_theme_forecolor_desc}','mceForeColor',true],['backcolor','backcolor.gif','{$lang_theme_backcolor_desc}','mceBackColor',true],['charmap','charmap.gif','{$lang_theme_charmap_desc}','mceCharMap'],['visualaid','visualaid.gif','{$lang_theme_visualaid_desc}','mceToggleVisualAid'],['anchor','anchor.gif','{$lang_theme_anchor_desc}','mceInsertAnchor']];function TinyMCE_advanced_getControlHTML(button_name){var buttonTileMap=new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif','charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif','cut.gif','forecolor.gif','full.gif','help.gif','hr.gif','image.gif','indent.gif','left.gif','link.gif','numlist.gif','outdent.gif','paste.gif','redo.gif','removeformat.gif','right.gif','strikethrough.gif','sub.gif','sup.gif','table.gif','table_delete_col.gif','table_delete_row.gif','table_insert_col_after.gif','table_insert_col_before.gif','table_insert_row_after.gif','table_insert_row_before.gif','undo.gif','unlink.gif','visualaid.gif');for(var i=0;i';}return ' ';}}switch(button_name){case "formatselect":var html='';var formats=tinyMCE.getParam("theme_advanced_blockformats","p,address,pre,h1,h2,h3,h4,h5,h6",true).split(',');var lookup=[['p','{$lang_theme_paragraph}'],['address','{$lang_theme_address}'],['pre','{$lang_theme_pre}'],['h1','{$lang_theme_h1}'],['h2','{$lang_theme_h2}'],['h3','{$lang_theme_h3}'],['h4','{$lang_theme_h4}'],['h5','{$lang_theme_h5}'],['h6','{$lang_theme_h6}']];for(var i=0;i'+lookup[x][1]+'';}}html+=' ';return html;case "styleselect":return '{$style_select_options} ';case "fontselect":return '\
+ tinyMCE.importThemeLanguagePack();var TinyMCE_advanced_autoImportCSSClasses=true;var TinyMCE_advanced_foreColor="#000000";var TinyMCE_advanced_anchorName="";var TinyMCE_advanced_buttons=[['bold','{$lang_bold_img}','{$lang_bold_desc}','Bold'],['italic','{$lang_italic_img}','{$lang_italic_desc}','Italic'],['underline','{$lang_underline_img}','{$lang_underline_desc}','Underline'],['strikethrough','strikethrough.gif','{$lang_striketrough_desc}','Strikethrough'],['justifyleft','left.gif','{$lang_justifyleft_desc}','JustifyLeft'],['justifycenter','center.gif','{$lang_justifycenter_desc}','JustifyCenter'],['justifyright','right.gif','{$lang_justifyright_desc}','JustifyRight'],['justifyfull','full.gif','{$lang_justifyfull_desc}','JustifyFull'],['bullist','bullist.gif','{$lang_bullist_desc}','InsertUnorderedList'],['numlist','numlist.gif','{$lang_numlist_desc}','InsertOrderedList'],['outdent','outdent.gif','{$lang_outdent_desc}','Outdent'],['indent','indent.gif','{$lang_indent_desc}','Indent'],['cut','cut.gif','{$lang_cut_desc}','Cut'],['copy','copy.gif','{$lang_copy_desc}','Copy'],['paste','paste.gif','{$lang_paste_desc}','Paste'],['undo','undo.gif','{$lang_undo_desc}','Undo'],['redo','redo.gif','{$lang_redo_desc}','Redo'],['link','link.gif','{$lang_link_desc}','mceLink',true],['unlink','unlink.gif','{$lang_unlink_desc}','unlink'],['image','image.gif','{$lang_image_desc}','mceImage',true],['cleanup','cleanup.gif','{$lang_cleanup_desc}','mceCleanup'],['help','help.gif','{$lang_help_desc}','mceHelp'],['code','code.gif','{$lang_theme_code_desc}','mceCodeEditor'],['hr','hr.gif','{$lang_theme_hr_desc}','inserthorizontalrule'],['removeformat','removeformat.gif','{$lang_theme_removeformat_desc}','removeformat'],['sub','sub.gif','{$lang_theme_sub_desc}','subscript'],['sup','sup.gif','{$lang_theme_sup_desc}','superscript'],['forecolor','forecolor.gif','{$lang_theme_forecolor_desc}','mceForeColor',true],['backcolor','backcolor.gif','{$lang_theme_backcolor_desc}','mceBackColor',true],['charmap','charmap.gif','{$lang_theme_charmap_desc}','mceCharMap'],['visualaid','visualaid.gif','{$lang_theme_visualaid_desc}','mceToggleVisualAid'],['anchor','anchor.gif','{$lang_theme_anchor_desc}','mceInsertAnchor']];function TinyMCE_advanced_getControlHTML(button_name){var buttonTileMap=new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif','charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif','cut.gif','forecolor.gif','full.gif','help.gif','hr.gif','image.gif','indent.gif','left.gif','link.gif','numlist.gif','outdent.gif','paste.gif','redo.gif','removeformat.gif','right.gif','strikethrough.gif','sub.gif','sup.gif','undo.gif','unlink.gif','visualaid.gif');for(var i=0;i';}return ' ';}}switch(button_name){case "formatselect":var html='';var formats=tinyMCE.getParam("theme_advanced_blockformats","p,address,pre,h1,h2,h3,h4,h5,h6",true).split(',');var lookup=[['p','{$lang_theme_paragraph}'],['address','{$lang_theme_address}'],['pre','{$lang_theme_pre}'],['h1','{$lang_theme_h1}'],['h2','{$lang_theme_h2}'],['h3','{$lang_theme_h3}'],['h4','{$lang_theme_h4}'],['h5','{$lang_theme_h5}'],['h6','{$lang_theme_h6}']];for(var i=0;i'+lookup[x][1]+'';}}html+=' ';return html;case "styleselect":return '{$style_select_options} ';case "fontselect":return '\
{$lang_theme_fontdefault} \
Arial \
Times New Roman \
@@ -16,6 +16,8 @@
5 (18 pt) \
6 (24 pt) \
7 (36 pt) \
- ';case "|":case "separator":return ' ';case "spacer":return ' ';case "rowseparator":return ' ';}return "";}function TinyMCE_advanced_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceForeColor":var template=new Array();var inputColor=TinyMCE_advanced_foreColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=210;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,command:"forecolor",input_color:inputColor});return true;case "mceBackColor":var template=new Array();var inputColor=TinyMCE_advanced_foreColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=210;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,command:"HiliteColor",input_color:inputColor});return true;case "mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=tinyMCE.getParam("theme_advanced_source_editor_width",500);template['height']=tinyMCE.getParam("theme_advanced_source_editor_height",400);tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no"});return true;case "mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550;template['height']=280;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case "mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=130;tinyMCE.openWindow(template,{editor_id:editor_id,name:TinyMCE_advanced_anchorName,action:(TinyMCE_advanced_anchorName==""?"insert":"update")});return true;}return false;}function TinyMCE_advanced_getEditorTemplate(settings){function removeFromArray(in_array,remove_array){var outArray=new Array();for(var i=0;i ';var buttonNamesRow1=tinyMCE.getParam("theme_advanced_buttons1","bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect",true,',');buttonNamesRow1=removeFromArray(buttonNamesRow1,tinyMCE.getParam("theme_advanced_disable","",true,','));buttonNamesRow1=addToArray(buttonNamesRow1,tinyMCE.getParam("theme_advanced_buttons1_add","",true,','));buttonNamesRow1=addToArray(tinyMCE.getParam("theme_advanced_buttons1_add_before","",true,','),buttonNamesRow1);for(var i=0;i0)toolbarHTML+=" ";var buttonNamesRow2=tinyMCE.getParam("theme_advanced_buttons2","bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",true,',');buttonNamesRow2=removeFromArray(buttonNamesRow2,tinyMCE.getParam("theme_advanced_disable","",true,','));buttonNamesRow2=addToArray(buttonNamesRow2,tinyMCE.getParam("theme_advanced_buttons2_add","",true,','));buttonNamesRow2=addToArray(tinyMCE.getParam("theme_advanced_buttons2_add_before","",true,','),buttonNamesRow2);for(var i=0;i0)toolbarHTML+=" ";var buttonNamesRow3=tinyMCE.getParam("theme_advanced_buttons3","table,separator,row_before,row_after,delete_row,separator,col_before,col_after,delete_col,separator,hr,removeformat,visualaid,separator,sub,sup,separator,charmap",true,',');buttonNamesRow3=removeFromArray(buttonNamesRow3,tinyMCE.getParam("theme_advanced_disable","",true,','));buttonNamesRow3=addToArray(buttonNamesRow3,tinyMCE.getParam("theme_advanced_buttons3_add","",true,','));buttonNamesRow3=addToArray(tinyMCE.getParam("theme_advanced_buttons3_add_before","",true,','),buttonNamesRow3);for(var i=0;i';if(toolbarLocation=="top")template['html']+=''+toolbarHTML+' ';if(pathLocation=="top")template['html']+=''+pathHTML+' ';template['html']+='\
- \
- ';if(toolbarLocation=="bottom")template['html']+=''+toolbarHTML+' ';if(pathLocation=="bottom")template['html']+=''+pathHTML+' ';template['html']+='
';var styleSelectHTML='-- {$lang_theme_style_select} -- ';if(settings['theme_advanced_styles']){var stylesAr=settings['theme_advanced_styles'].split(';');for(var i=0;i'+key+'';}TinyMCE_advanced_autoImportCSSClasses=false;}template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);template['delta_width']=0;template['delta_height']=-40;return template;}function TinyMCE_advanced_getInsertLinkTemplate(){var template=new Array();template['file']='link.htm';template['width']=320;template['height']=170;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);return template;}function TinyMCE_advanced_getInsertImageTemplate(){var template=new Array();template['file']='image.htm?src={$src}';template['width']=340;template['height']=280;template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);return template;}function TinyMCE_advanced_getInsertTableTemplate(settings){var template=new Array();template['file']='table.htm';template['width']=340;template['height']=220;template['width']+=tinyMCE.getLang('lang_insert_table_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_table_delta_height',0);return template;}function TinyMCE_advanced_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function selectByValue(select_elm,value){if(select_elm){for(var i=0;i=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName=="b")nodeName="strong";if(nodeName=="i")nodeName="em";if(getAttrib(path[i],'id')!="")nodeData+="id: "+path[i].getAttribute('id')+" ";if(getAttrib(path[i],'class')!="")nodeData+="class: "+path[i].getAttribute('class')+" ";if(getAttrib(path[i],'className')!="")nodeData+="class: "+path[i].getAttribute('className')+" ";if(getAttrib(path[i],'src')!="")nodeData+="src: "+path[i].getAttribute('src')+" ";if(getAttrib(path[i],'href')!="")nodeData+="href: "+path[i].getAttribute('href')+" ";if(nodeName=="img"&&getAttrib(path[i],'name')=="mce_plugin_flash"){nodeName="flash";nodeData="";}if(tinyMCE.isMSIE)html+=''+nodeName+' ';else html+=''+nodeName+' ';if(i>0)html+=" » ";}pathElm.innerHTML=html+" ";}var colorElm=tinyMCE.getParentElement(node,"font","color");if(colorElm)TinyMCE_advanced_foreColor=""+colorElm.color.toUpperCase();tinyMCE.switchClassSticky(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_table','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_link','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_unlink','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_row_before','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_row_after','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_delete_row','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_col_before','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_col_after','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_delete_col','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_image','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_hr','mceButtonNormal');var anchorName=tinyMCE.getParentElement(node,"a","name");TinyMCE_advanced_anchorName="";if(anchorName){TinyMCE_advanced_anchorName=anchorName.getAttribute("name");tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonSelected');}var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClassSticky(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal',false);}tinyMCE.switchClassSticky(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal',false);if(undo_levels!=-1){tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonDisabled',true);}if(tinyMCE.getParentElement(node,"td")){tinyMCE.switchClassSticky(editor_id+'_row_before','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_row_after','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_delete_row','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_col_before','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_col_after','mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_delete_col','mceButtonNormal',false);}if(tinyMCE.getParentElement(node,"table"))tinyMCE.switchClassSticky(editor_id+'_table','mceButtonSelected');if(tinyMCE.getParentElement(node,"li,blockquote"))tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonNormal',false);if(undo_index!=-1&&(undo_index0))tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonNormal',false);if(undo_index!=-1&&(undo_index>0&&undo_levels>0))tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonNormal',false);var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_advanced_setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i");}else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"font","face");if(elm)selectByValue(selectElm,elm.getAttribute("face"));else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"font","size");if(elm&&getAttrib(elm,"size")!="")selectByValue(selectElm,elm.getAttribute("size"));else selectByValue(selectElm,"0");}alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align'))continue;switch(alignNode.getAttribute('align').toLowerCase()){case "left":tinyMCE.switchClassSticky(editor_id+'_justifyleft','mceButtonSelected');breakOut=true;break;case "right":tinyMCE.switchClassSticky(editor_id+'_justifyright','mceButtonSelected');breakOut=true;break;case "middle":case "center":tinyMCE.switchClassSticky(editor_id+'_justifycenter','mceButtonSelected');breakOut=true;break;case "justify":tinyMCE.switchClassSticky(editor_id+'_justifyfull','mceButtonSelected');breakOut=true;break;}}while(!breakOut&&(alignNode=alignNode.parentNode));do{switch(node.nodeName.toLowerCase()){case "b":case "strong":tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonSelected');break;case "i":case "em":tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonSelected');break;case "u":tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonSelected');break;case "strike":tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonSelected');break;case "ul":tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonSelected');break;case "ol":tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonSelected');break;case "sub":tinyMCE.switchClassSticky(editor_id+'_sub','mceButtonSelected');break;case "sup":tinyMCE.switchClassSticky(editor_id+'_sup','mceButtonSelected');break;case "hr":tinyMCE.switchClassSticky(editor_id+'_hr','mceButtonSelected');break;case "img":if(getAttrib(node,'name').indexOf('mce_')!=0)tinyMCE.switchClassSticky(editor_id+'_image','mceButtonSelected');break;}}while((node=node.parentNode));}function TinyMCE_advanced_setupCSSClasses(editor_id){if(!TinyMCE_advanced_autoImportCSSClasses)return;var selectElm=document.getElementById(editor_id+'_styleSelect');if(selectElm&&selectElm.getAttribute('cssImported')!='true'){var csses=tinyMCE.getCSSClasses(editor_id);if(csses&&selectElm){for(var i=0;i0)selectElm.setAttribute('cssImported','true');}}
\ No newline at end of file
+ ';case "|":case "separator":return ' ';case "spacer":return ' ';case "rowseparator":return ' ';}return "";}function TinyMCE_advanced_execCommand(editor_id,element,command,user_interface,value){switch(command){case "mceForeColor":var template=new Array();var inputColor=TinyMCE_advanced_foreColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=210;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,command:"forecolor",input_color:inputColor});return true;case "mceBackColor":var template=new Array();var inputColor=TinyMCE_advanced_foreColor;if(!inputColor)inputColor="#000000";template['file']='color_picker.htm';template['width']=210;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,command:"HiliteColor",input_color:inputColor});return true;case "mceCodeEditor":var template=new Array();template['file']='source_editor.htm';template['width']=tinyMCE.getParam("theme_advanced_source_editor_width",500);template['height']=tinyMCE.getParam("theme_advanced_source_editor_height",400);tinyMCE.openWindow(template,{editor_id:editor_id,resizable:"yes",scrollbars:"no"});return true;case "mceCharMap":var template=new Array();template['file']='charmap.htm';template['width']=550;template['height']=280;tinyMCE.openWindow(template,{editor_id:editor_id});return true;case "mceInsertAnchor":var template=new Array();template['file']='anchor.htm';template['width']=320;template['height']=130;tinyMCE.openWindow(template,{editor_id:editor_id,name:TinyMCE_advanced_anchorName,action:(TinyMCE_advanced_anchorName==""?"insert":"update")});return true;}return false;}function TinyMCE_advanced_getEditorTemplate(settings){function removeFromArray(in_array,remove_array){var outArray=new Array();for(var i=0;i0){toolbarHTML+=" ";deltaHeight-=23;}var buttonNamesRow2=tinyMCE.getParam("theme_advanced_buttons2","bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code",true,',');buttonNamesRow2=removeFromArray(buttonNamesRow2,tinyMCE.getParam("theme_advanced_disable","",true,','));buttonNamesRow2=addToArray(buttonNamesRow2,tinyMCE.getParam("theme_advanced_buttons2_add","",true,','));buttonNamesRow2=addToArray(tinyMCE.getParam("theme_advanced_buttons2_add_before","",true,','),buttonNamesRow2);for(var i=0;i0){toolbarHTML+=" ";deltaHeight-=23;}var buttonNamesRow3=tinyMCE.getParam("theme_advanced_buttons3","hr,removeformat,visualaid,separator,sub,sup,separator,charmap",true,',');buttonNamesRow3=removeFromArray(buttonNamesRow3,tinyMCE.getParam("theme_advanced_disable","",true,','));buttonNamesRow3=addToArray(buttonNamesRow3,tinyMCE.getParam("theme_advanced_buttons3_add","",true,','));buttonNamesRow3=addToArray(tinyMCE.getParam("theme_advanced_buttons3_add_before","",true,','),buttonNamesRow3);for(var i=0;i0)deltaHeight-=20;template['html']='';if(toolbarLocation=="top")template['html']+=''+toolbarHTML+' ';if(pathLocation=="top"){template['html']+=''+pathHTML+' ';deltaHeight-=23;}template['html']+='\
+ \
+ ';if(toolbarLocation=="bottom")template['html']+=''+toolbarHTML+' ';if(pathLocation=="bottom"){template['html']+=''+pathHTML+' ';deltaHeight-=23;}template['html']+='
';break;case "RowLayout":template['html']='';var containers=tinyMCE.getParam("theme_advanced_containers","",true,",");var defaultContainerCSS=tinyMCE.getParam("theme_advanced_containers_default_class","container");var defaultContainerAlign=tinyMCE.getParam("theme_advanced_containers_default_align","center");for(var i=0;i\
+ \
+ ';}else if(containers[i]=="mceElementpath"){var pathClass="mcePath";if(i==containers.length-1)pathClass="mcePathBottom";else if(i==0)pathClass="mcePathTop";else deltaHeight-=2;template['html']+=''+pathHTML+' ';deltaHeight-=22;}else{var curContainer=tinyMCE.getParam("theme_advanced_container_"+containers[i],"",true,',');var curContainerHTML="";var curAlign=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align",defaultContainerAlign);var curCSS=tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class",defaultContainerCSS);for(var j=0;j0){curContainerHTML+=" ";deltaHeight-=23;}template['html']+=''+curContainerHTML+' ';}}template['html']+='
';break;case "BorderLayout":break;case "CustomLayout":var customLayout=tinyMCE.getParam("theme_advanced_custom_layout","");if(customLayout!=""&&eval("typeof("+customLayout+")")!="undefined")template=eval(customLayout+"(template);");break;default:alert('UNDEFINED LAYOUT MANAGER! PLEASE CHECK YOUR TINYMCE CONFIG!');break;}var styleSelectHTML='-- {$lang_theme_style_select} -- ';if(settings['theme_advanced_styles']){var stylesAr=settings['theme_advanced_styles'].split(';');for(var i=0;i'+key+'';}TinyMCE_advanced_autoImportCSSClasses=false;}template['html']=tinyMCE.replaceVar(template['html'],'style_select_options',styleSelectHTML);template['delta_width']=0;template['delta_height']=deltaHeight;return template;}function TinyMCE_advanced_getInsertLinkTemplate(){var template=new Array();template['file']='link.htm';template['width']=320;template['height']=170;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);return template;}function TinyMCE_advanced_getInsertImageTemplate(){var template=new Array();template['file']='image.htm?src={$src}';template['width']=340;template['height']=280;template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);return template;}function TinyMCE_advanced_handleNodeChange(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){function selectByValue(select_elm,value){if(select_elm){for(var i=0;i=0;i--){var nodeName=path[i].nodeName.toLowerCase();var nodeData="";if(nodeName=="b")nodeName="strong";if(nodeName=="i")nodeName="em";if(getAttrib(path[i],'id')!="")nodeData+="id: "+path[i].getAttribute('id')+" ";if(getAttrib(path[i],'class')!="")nodeData+="class: "+path[i].getAttribute('class')+" ";if(getAttrib(path[i],'className')!="")nodeData+="class: "+path[i].getAttribute('className')+" ";if(getAttrib(path[i],'src')!="")nodeData+="src: "+path[i].getAttribute('src')+" ";if(getAttrib(path[i],'href')!="")nodeData+="href: "+path[i].getAttribute('href')+" ";if(nodeName=="img"&&getAttrib(path[i],'name')=="mce_plugin_flash"){nodeName="flash";nodeData="";}if(tinyMCE.isMSIE)html+=''+nodeName+' ';else html+=''+nodeName+' ';if(i>0)html+=" » ";}pathElm.innerHTML=html+" ";}var colorElm=tinyMCE.getParentElement(node,"font","color");if(colorElm)TinyMCE_advanced_foreColor=""+colorElm.color.toUpperCase();tinyMCE.switchClassSticky(editor_id+'_justifyleft','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyright','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifycenter','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_justifyfull','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sub','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_sup','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_link','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_unlink','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_image','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_hr','mceButtonNormal');var anchorName=tinyMCE.getParentElement(node,"a","name");TinyMCE_advanced_anchorName="";if(anchorName){TinyMCE_advanced_anchorName=anchorName.getAttribute("name");tinyMCE.switchClassSticky(editor_id+'_anchor','mceButtonSelected');}var anchorLink=tinyMCE.getParentElement(node,"a","href");if(anchorLink||any_selection){tinyMCE.switchClassSticky(editor_id+'_link',anchorLink?'mceButtonSelected':'mceButtonNormal',false);tinyMCE.switchClassSticky(editor_id+'_unlink',anchorLink?'mceButtonSelected':'mceButtonNormal',false);}tinyMCE.switchClassSticky(editor_id+'_visualaid',visual_aid?'mceButtonSelected':'mceButtonNormal',false);if(undo_levels!=-1){tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonDisabled',true);tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonDisabled',true);}if(tinyMCE.getParentElement(node,"li,blockquote"))tinyMCE.switchClassSticky(editor_id+'_outdent','mceButtonNormal',false);if(undo_index!=-1&&(undo_index0))tinyMCE.switchClassSticky(editor_id+'_redo','mceButtonNormal',false);if(undo_index!=-1&&(undo_index>0&&undo_levels>0))tinyMCE.switchClassSticky(editor_id+'_undo','mceButtonNormal',false);var selectElm=document.getElementById(editor_id+"_styleSelect");if(selectElm){TinyMCE_advanced_setupCSSClasses(editor_id);classNode=node;breakOut=false;var index=0;do{if(classNode&&classNode.className){for(var i=0;i");}else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontNameSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"font","face");if(elm)selectByValue(selectElm,elm.getAttribute("face"));else selectByValue(selectElm,"");}var selectElm=document.getElementById(editor_id+"_fontSizeSelect");if(selectElm){var elm=tinyMCE.getParentElement(node,"font","size");if(elm&&getAttrib(elm,"size")!="")selectByValue(selectElm,elm.getAttribute("size"));else selectByValue(selectElm,"0");}alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align'))continue;switch(alignNode.getAttribute('align').toLowerCase()){case "left":tinyMCE.switchClassSticky(editor_id+'_justifyleft','mceButtonSelected');breakOut=true;break;case "right":tinyMCE.switchClassSticky(editor_id+'_justifyright','mceButtonSelected');breakOut=true;break;case "middle":case "center":tinyMCE.switchClassSticky(editor_id+'_justifycenter','mceButtonSelected');breakOut=true;break;case "justify":tinyMCE.switchClassSticky(editor_id+'_justifyfull','mceButtonSelected');breakOut=true;break;}}while(!breakOut&&(alignNode=alignNode.parentNode));do{switch(node.nodeName.toLowerCase()){case "b":case "strong":tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonSelected');break;case "i":case "em":tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonSelected');break;case "u":tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonSelected');break;case "strike":tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonSelected');break;case "ul":tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonSelected');break;case "ol":tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonSelected');break;case "sub":tinyMCE.switchClassSticky(editor_id+'_sub','mceButtonSelected');break;case "sup":tinyMCE.switchClassSticky(editor_id+'_sup','mceButtonSelected');break;case "hr":tinyMCE.switchClassSticky(editor_id+'_hr','mceButtonSelected');break;case "img":if(getAttrib(node,'name').indexOf('mce_')!=0)tinyMCE.switchClassSticky(editor_id+'_image','mceButtonSelected');break;}}while((node=node.parentNode));}function TinyMCE_advanced_setupCSSClasses(editor_id){if(!TinyMCE_advanced_autoImportCSSClasses)return;var selectElm=document.getElementById(editor_id+'_styleSelect');if(selectElm&&selectElm.getAttribute('cssImported')!='true'){var csses=tinyMCE.getCSSClasses(editor_id);if(csses&&selectElm){for(var i=0;i0)selectElm.setAttribute('cssImported','true');}}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js
index 8f0a7bcc3..a41adced6 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_template_src.js
@@ -30,13 +30,6 @@ var TinyMCE_advanced_buttons = [
['cleanup', 'cleanup.gif', '{$lang_cleanup_desc}', 'mceCleanup'],
['help', 'help.gif', '{$lang_help_desc}', 'mceHelp'],
['code', 'code.gif', '{$lang_theme_code_desc}', 'mceCodeEditor'],
- ['table', 'table.gif', '{$lang_theme_table_desc}', 'mceInsertTable', true],
- ['row_before', 'table_insert_row_before.gif', '{$lang_theme_table_insert_row_before_desc}', 'mceTableInsertRowBefore'],
- ['row_after', 'table_insert_row_after.gif', '{$lang_theme_table_insert_row_after_desc}', 'mceTableInsertRowAfter'],
- ['delete_row', 'table_delete_row.gif', '{$lang_theme_table_delete_row_desc}', 'mceTableDeleteRow'],
- ['col_before', 'table_insert_col_before.gif', '{$lang_theme_table_insert_col_before_desc}', 'mceTableInsertColBefore'],
- ['col_after', 'table_insert_col_after.gif', '{$lang_theme_table_insert_col_after_desc}', 'mceTableInsertColAfter'],
- ['delete_col', 'table_delete_col.gif', '{$lang_theme_table_delete_col_desc}', 'mceTableDeleteCol'],
['hr', 'hr.gif', '{$lang_theme_hr_desc}', 'inserthorizontalrule'],
['removeformat', 'removeformat.gif', '{$lang_theme_removeformat_desc}', 'removeformat'],
['sub', 'sub.gif', '{$lang_theme_sub_desc}', 'subscript'],
@@ -53,7 +46,7 @@ var TinyMCE_advanced_buttons = [
* Returns HTML code for the specificed control.
*/
function TinyMCE_advanced_getControlHTML(button_name) {
- var buttonTileMap = new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif','charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif','cut.gif','forecolor.gif','full.gif','help.gif','hr.gif','image.gif','indent.gif','left.gif','link.gif','numlist.gif','outdent.gif','paste.gif','redo.gif','removeformat.gif','right.gif','strikethrough.gif','sub.gif','sup.gif','table.gif','table_delete_col.gif','table_delete_row.gif','table_insert_col_after.gif','table_insert_col_before.gif','table_insert_row_after.gif','table_insert_row_before.gif','undo.gif','unlink.gif','visualaid.gif');
+ var buttonTileMap = new Array('anchor.gif','backcolor.gif','bullist.gif','center.gif','charmap.gif','cleanup.gif','code.gif','copy.gif','custom_1.gif','cut.gif','forecolor.gif','full.gif','help.gif','hr.gif','image.gif','indent.gif','left.gif','link.gif','numlist.gif','outdent.gif','paste.gif','redo.gif','removeformat.gif','right.gif','strikethrough.gif','sub.gif','sup.gif','undo.gif','unlink.gif','visualaid.gif');
// Lookup button in button list
for (var i=0; i
+ //###########################################################################################################
- // Render row 1
- var buttonNamesRow1 = tinyMCE.getParam("theme_advanced_buttons1", "bold,italic,underline,strikethrough,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,styleselect,formatselect", true, ',');
- buttonNamesRow1 = removeFromArray(buttonNamesRow1, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
- buttonNamesRow1 = addToArray(buttonNamesRow1, tinyMCE.getParam("theme_advanced_buttons1_add", "", true, ','));
- buttonNamesRow1 = addToArray(tinyMCE.getParam("theme_advanced_buttons1_add_before", "", true, ','), buttonNamesRow1);
- for (var i=0; i 0)
- toolbarHTML += " ";
+ switch(layoutManager)
+ {
+ case "SimpleLayout" : //the default TinyMCE Layout (for backwards compatibility)...
+ var toolbarHTML = "";
+ var toolbarLocation = tinyMCE.getParam("theme_advanced_toolbar_location", "bottom");
+ var toolbarAlign = tinyMCE.getParam("theme_advanced_toolbar_align", "center");
+ var pathLocation = tinyMCE.getParam("theme_advanced_path_location", "none");
- // Render row 2
- var buttonNamesRow2 = tinyMCE.getParam("theme_advanced_buttons2", "bullist,numlist,separator,outdent,indent,separator,undo,redo,separator,link,unlink,anchor,image,cleanup,help,code", true, ',');
- buttonNamesRow2 = removeFromArray(buttonNamesRow2, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
- buttonNamesRow2 = addToArray(buttonNamesRow2, tinyMCE.getParam("theme_advanced_buttons2_add", "", true, ','));
- buttonNamesRow2 = addToArray(tinyMCE.getParam("theme_advanced_buttons2_add_before", "", true, ','), buttonNamesRow2);
- for (var i=0; i 0)
- toolbarHTML += " ";
+ if (buttonNamesRow1.length > 0) {
+ toolbarHTML += " ";
+ deltaHeight -= 23;
+ }
- // Render row 3
- var buttonNamesRow3 = tinyMCE.getParam("theme_advanced_buttons3", "table,separator,row_before,row_after,delete_row,separator,col_before,col_after,delete_col,separator,hr,removeformat,visualaid,separator,sub,sup,separator,charmap", true, ',');
- buttonNamesRow3 = removeFromArray(buttonNamesRow3, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
- buttonNamesRow3 = addToArray(buttonNamesRow3, tinyMCE.getParam("theme_advanced_buttons3_add", "", true, ','));
- buttonNamesRow3 = addToArray(tinyMCE.getParam("theme_advanced_buttons3_add_before", "", true, ','), buttonNamesRow3);
- for (var i=0; i';
+ if (buttonNamesRow2.length > 0) {
+ toolbarHTML += " ";
+ deltaHeight -= 23;
+ }
- if (toolbarLocation == "top")
- template['html'] += '' + toolbarHTML + ' ';
+ // Render row 3
+ var buttonNamesRow3 = tinyMCE.getParam("theme_advanced_buttons3", "hr,removeformat,visualaid,separator,sub,sup,separator,charmap", true, ',');
+ buttonNamesRow3 = removeFromArray(buttonNamesRow3, tinyMCE.getParam("theme_advanced_disable", "", true, ','));
+ buttonNamesRow3 = addToArray(buttonNamesRow3, tinyMCE.getParam("theme_advanced_buttons3_add", "", true, ','));
+ buttonNamesRow3 = addToArray(tinyMCE.getParam("theme_advanced_buttons3_add_before", "", true, ','), buttonNamesRow3);
+ for (var i=0; i' + pathHTML + '
';
+ if (buttonNamesRow3.length > 0)
+ deltaHeight -= 20;
-/* template['html'] += '\
- \
- ';*/
- template['html'] += '\
- \
- ';
+ // Setup template html
+ template['html'] = '';
- if (toolbarLocation == "bottom")
- template['html'] += '' + toolbarHTML + ' ';
+ if (toolbarLocation == "top")
+ template['html'] += '' + toolbarHTML + ' ';
- if (pathLocation == "bottom")
- template['html'] += '' + pathHTML + ' ';
+ if (pathLocation == "top") {
+ template['html'] += '' + pathHTML + ' ';
+ deltaHeight -= 23;
+ }
- template['html'] += '
';
+ /* template['html'] += '\
+ \
+ ';*/
+ template['html'] += '\
+ \
+ ';
+
+ if (toolbarLocation == "bottom")
+ template['html'] += '' + toolbarHTML + ' ';
+
+ if (pathLocation == "bottom") {
+ template['html'] += '' + pathHTML + ' ';
+ deltaHeight -= 23;
+ }
+
+ template['html'] += '';
+ break;
+
+ case "RowLayout" : //Container Layout - containers defined in "theme_advanced_containers" are rendered from top to bottom.
+ template['html'] = '';
+
+ var containers = tinyMCE.getParam("theme_advanced_containers", "", true, ",");
+ var defaultContainerCSS = tinyMCE.getParam("theme_advanced_containers_default_class", "container");
+ var defaultContainerAlign = tinyMCE.getParam("theme_advanced_containers_default_align", "center");
+
+ //Render Containers:
+ for(var i = 0; i < containers.length; i++)
+ {
+ if(containers[i] == "mceEditor") //Exceptions for mceEditor and ...
+ {
+ template['html'] += '\
+ \
+ ';
+ }
+ else if(containers[i] == "mceElementpath") // ... mceElementpath:
+ {
+ var pathClass = "mcePath";
+
+ if (i == containers.length-1)
+ pathClass = "mcePathBottom";
+ else if (i == 0)
+ pathClass = "mcePathTop";
+ else
+ deltaHeight-=2;
+
+ template['html'] += '' + pathHTML + ' ';
+ deltaHeight -= 22;
+ }
+ else //Render normal Container:
+ {
+ var curContainer = tinyMCE.getParam("theme_advanced_container_"+containers[i], "", true, ',');
+ var curContainerHTML = "";
+ var curAlign = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_align", defaultContainerAlign);
+ var curCSS = tinyMCE.getParam("theme_advanced_container_"+containers[i]+"_class", defaultContainerCSS);
+
+ for (var j=0; j 0) {
+ curContainerHTML += " ";
+ deltaHeight -= 23;
+ }
+
+ template['html'] += '' + curContainerHTML + ' ';
+ }
+ }
+
+ template['html'] += '
';
+ break;
+ case "BorderLayout" : //will be like java.awt.BorderLayout of SUN Java...
+ // Not implemented yet...
+ break;
+ case "CustomLayout" : //User defined layout callback...
+ var customLayout = tinyMCE.getParam("theme_advanced_custom_layout","");
+ if (customLayout != "" && eval("typeof(" + customLayout + ")") != "undefined")
+ template = eval(customLayout + "(template);");
+ break;
+ default:
+ alert('UNDEFINED LAYOUT MANAGER! PLEASE CHECK YOUR TINYMCE CONFIG!');
+ break;
+ }
+
+ //###########################################################################################################
+ //
+ //###########################################################################################################
// Setup style select options
var styleSelectHTML = '-- {$lang_theme_style_select} -- ';
@@ -317,7 +399,7 @@ function TinyMCE_advanced_getEditorTemplate(settings) {
template['html'] = tinyMCE.replaceVar(template['html'], 'style_select_options', styleSelectHTML);
template['delta_width'] = 0;
- template['delta_height'] = -40;
+ template['delta_height'] = deltaHeight;
return template;
}
@@ -356,23 +438,6 @@ function TinyMCE_advanced_getInsertImageTemplate() {
return template;
}
-/**
- * Insert table template function.
- */
-function TinyMCE_advanced_getInsertTableTemplate(settings) {
- var template = new Array();
-
- template['file'] = 'table.htm';
- template['width'] = 340;
- template['height'] = 220;
-
- // Language specific width and height addons
- template['width'] += tinyMCE.getLang('lang_insert_table_delta_width', 0);
- template['height'] += tinyMCE.getLang('lang_insert_table_delta_height', 0);
-
- return template;
-}
-
/**
* Node change handler.
*/
@@ -428,7 +493,7 @@ function TinyMCE_advanced_handleNodeChange(editor_id, node, undo_index, undo_lev
if (getAttrib(path[i], 'class') != "")
nodeData += "class: " + path[i].getAttribute('class') + " ";
-
+
if (getAttrib(path[i], 'className') != "")
nodeData += "class: " + path[i].getAttribute('className') + " ";
@@ -473,16 +538,9 @@ function TinyMCE_advanced_handleNodeChange(editor_id, node, undo_index, undo_lev
tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonNormal');
tinyMCE.switchClassSticky(editor_id + '_sub', 'mceButtonNormal');
tinyMCE.switchClassSticky(editor_id + '_sup', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_table', 'mceButtonNormal');
tinyMCE.switchClassSticky(editor_id + '_anchor', 'mceButtonNormal');
tinyMCE.switchClassSticky(editor_id + '_link', 'mceButtonDisabled', true);
tinyMCE.switchClassSticky(editor_id + '_unlink', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_row_before', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_row_after', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_delete_row', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_col_before', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_col_after', 'mceButtonDisabled', true);
- tinyMCE.switchClassSticky(editor_id + '_delete_col', 'mceButtonDisabled', true);
tinyMCE.switchClassSticky(editor_id + '_outdent', 'mceButtonDisabled', true);
tinyMCE.switchClassSticky(editor_id + '_image', 'mceButtonNormal');
tinyMCE.switchClassSticky(editor_id + '_hr', 'mceButtonNormal');
@@ -510,20 +568,6 @@ function TinyMCE_advanced_handleNodeChange(editor_id, node, undo_index, undo_lev
tinyMCE.switchClassSticky(editor_id + '_redo', 'mceButtonDisabled', true);
}
- // Within a td element
- if (tinyMCE.getParentElement(node, "td")) {
- tinyMCE.switchClassSticky(editor_id + '_row_before', 'mceButtonNormal', false);
- tinyMCE.switchClassSticky(editor_id + '_row_after', 'mceButtonNormal', false);
- tinyMCE.switchClassSticky(editor_id + '_delete_row', 'mceButtonNormal', false);
- tinyMCE.switchClassSticky(editor_id + '_col_before', 'mceButtonNormal', false);
- tinyMCE.switchClassSticky(editor_id + '_col_after', 'mceButtonNormal', false);
- tinyMCE.switchClassSticky(editor_id + '_delete_col', 'mceButtonNormal', false);
- }
-
- // Within table
- if (tinyMCE.getParentElement(node, "table"))
- tinyMCE.switchClassSticky(editor_id + '_table', 'mceButtonSelected');
-
// Within li, blockquote
if (tinyMCE.getParentElement(node, "li,blockquote"))
tinyMCE.switchClassSticky(editor_id + '_outdent', 'mceButtonNormal', false);
@@ -555,7 +599,7 @@ function TinyMCE_advanced_handleNodeChange(editor_id, node, undo_index, undo_lev
}
}
}
- } while (!breakOut && (classNode = classNode.parentNode));
+ } while (!breakOut && classNode != null && (classNode = classNode.parentNode));
selectElm.selectedIndex = index;
}
@@ -641,7 +685,7 @@ function TinyMCE_advanced_handleNodeChange(editor_id, node, undo_index, undo_lev
case "strike":
tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonSelected');
break;
-
+
case "ul":
tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonSelected');
break;
@@ -688,4 +732,4 @@ function TinyMCE_advanced_setupCSSClasses(editor_id) {
if (csses != null && csses.length > 0)
selectElm.setAttribute('cssImported', 'true');
}
-}
+}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_ui.css b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_ui.css
index 09ff101f0..ae419feb6 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_ui.css
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/editor_ui.css
@@ -118,17 +118,18 @@
border-top: 1px solid #cccccc;
}
-.mcePathTop {
- border-bottom: 1px solid #cccccc;
+.mcePathTop, .mcePathBottom, .mcePath {
font-family: "MS Sans Serif";
font-size: 9pt;
+ padding: 2px;
+}
+
+.mcePathTop {
+ border-bottom: 1px solid #cccccc;
}
.mcePathBottom {
border-top: 1px solid #cccccc;
- padding: 2px;
- font-family: "MS Sans Serif";
- font-size: 9pt;
}
.mcePathItem, .mcePathItem:link, .mcePathItem:visited, .mcePathItem:hover {
@@ -140,3 +141,7 @@
.mcePathItem:hover {
text-decoration: underline;
}
+
+.mcePath {
+ border-bottom: 1px solid #cccccc;
+}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/image.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/image.htm
index 62ea717bf..d25255970 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/image.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/image.htm
@@ -2,6 +2,11 @@
{$lang_insert_image_title}
+
+
{$lang_insert_image_alt}:
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/images/buttons.gif b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/images/buttons.gif
index 4844b14d3..7577bcffc 100644
Binary files a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/images/buttons.gif and b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/images/buttons.gif differ
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js
index 242da2e07..2b2972bb2 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ar.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'منخفض';
tinyMCELang['lang_theme_sup_desc'] = 'مرتفع';
tinyMCELang['lang_theme_hr_desc'] = 'إدراج خط فاصل';
tinyMCELang['lang_theme_removeformat_desc'] = 'إزالة التنسيقات';
-tinyMCELang['lang_theme_table_desc'] = 'إدراج/تحرير جدول';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Insert row before';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Insert row after';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'حذف صفوف';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Insert column before';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Insert column after';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'حذف أعمدة';
tinyMCELang['lang_theme_custom1_desc'] = 'Your custom description here';
tinyMCELang['lang_insert_image_border'] = 'سمك الحدود';
tinyMCELang['lang_insert_image_dimensions'] = 'المواصفات';
@@ -31,20 +24,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'وسط ا
tinyMCELang['lang_insert_image_align_absbottom'] = 'أسفل النص';
tinyMCELang['lang_insert_image_align_left'] = 'يسار';
tinyMCELang['lang_insert_image_align_right'] = 'يمين';
-tinyMCELang['lang_insert_table_title'] = 'إدراج/تحرير جدول';
-tinyMCELang['lang_insert_table_width'] = 'العرض';
-tinyMCELang['lang_insert_table_height'] = 'الارتفاع';
-tinyMCELang['lang_insert_table_cols'] = 'أعمدة';
-tinyMCELang['lang_insert_table_rows'] = 'صفوف';
-tinyMCELang['lang_insert_table_cellspacing'] = 'تباعد الخلايا';
-tinyMCELang['lang_insert_table_cellpadding'] = 'المسافة البادئة';
-tinyMCELang['lang_insert_table_border'] = 'سمك الحدود';
-tinyMCELang['lang_insert_table_align'] = 'المحاذاة';
-tinyMCELang['lang_insert_table_align_default'] = 'Default';
-tinyMCELang['lang_insert_table_align_left'] = 'يسار';
-tinyMCELang['lang_insert_table_align_right'] = 'يمين';
-tinyMCELang['lang_insert_table_align_middle'] = 'وسط';
-tinyMCELang['lang_insert_table_class'] = 'Class';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Default';
tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
@@ -73,3 +52,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/de.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/de.js
index 18dfcbfeb..511ad8e30 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/de.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/de.js
@@ -10,13 +10,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Tiefergestellt';
tinyMCELang['lang_theme_sup_desc'] = 'Höhergestellt';
tinyMCELang['lang_theme_hr_desc'] = 'Horizontale Linie einfügen';
tinyMCELang['lang_theme_removeformat_desc'] = 'Formatierung löschen';
-tinyMCELang['lang_theme_table_desc'] = 'Neue Tabelle einfügen / Tabelle bearbeiten';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Davor Zeile einfügen';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Danach Zeile einfügen';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Zeile löschen';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Davor Spalte einfügen';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Danach Spalte einfügen';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Spalte löschen';
tinyMCELang['lang_theme_custom1_desc'] = 'Beschreibung eingeben';
tinyMCELang['lang_insert_image_border'] = 'Rahmen';
tinyMCELang['lang_insert_image_dimensions'] = 'Größe';
@@ -33,21 +26,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Mitte';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolut unten';
tinyMCELang['lang_insert_image_align_left'] = 'Links';
tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_title'] = 'Tabelle Einfügen/Bearbeiten';
-tinyMCELang['lang_insert_table_width'] = 'Breite';
-tinyMCELang['lang_insert_table_height'] = 'Höhe';
-tinyMCELang['lang_insert_table_cols'] = 'Spalten';
-tinyMCELang['lang_insert_table_rows'] = 'Zeilen';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Außenabstand';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Innenabstand';
-tinyMCELang['lang_insert_table_border'] = 'Rahmen';
-tinyMCELang['lang_insert_table_align'] = 'Ausrichten';
-tinyMCELang['lang_insert_table_align_default'] = 'Normal';
-tinyMCELang['lang_insert_table_align_left'] = 'Links';
-tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_align_middle'] = 'Zentriert';
-tinyMCELang['lang_insert_table_class'] = 'Klasse';
-tinyMCELang['lang_insert_table_delta_width'] = 30;
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Normal';
tinyMCELang['lang_theme_paragraph'] = 'Standard-Text';
@@ -76,3 +54,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js
index 3467160a9..a02e85700 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/el.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = '
tinyMCELang['lang_theme_sup_desc'] = 'ÅêèÝôçò';
tinyMCELang['lang_theme_hr_desc'] = 'ÅéóáãùãÞ ïñéæüíôéáò ãñáììÞò';
tinyMCELang['lang_theme_removeformat_desc'] = 'ÁðáëïéöÞ ìïñöïðïßçóçò';
-tinyMCELang['lang_theme_table_desc'] = 'ÅéóáãùãÞ ðßíáêá';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'ÅéóáãùãÞ ãñáììÞò åðÜíù';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'ÅéóáãùãÞ ãñáììÞò êÜôù';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'ÄéáãñáöÞ ãñáììÞò';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'ÅéóáãùãÞ óôÞëçò áñéóôåñÜ';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'ÅéóáãùãÞ óôÞëçò äåîéÜ';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'ÄéáãñáöÞ óôÞëçò';
tinyMCELang['lang_theme_custom1_desc'] = 'ÐåñéãñáöÞ';
tinyMCELang['lang_insert_image_border'] = 'Ðåñßãñáììá';
tinyMCELang['lang_insert_image_dimensions'] = 'ÄéáóôÜóåéò';
@@ -31,20 +24,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = '
tinyMCELang['lang_insert_image_align_absbottom'] = 'Áðüëõôá êÜôù';
tinyMCELang['lang_insert_image_align_left'] = 'ÁñéóôåñÜ';
tinyMCELang['lang_insert_image_align_right'] = 'ÄåîéÜ';
-tinyMCELang['lang_insert_table_title'] = 'ÅéóáãùãÞ/Äéüñèùóç ðßíáêá';
-tinyMCELang['lang_insert_table_width'] = 'ÐëÜôïò';
-tinyMCELang['lang_insert_table_height'] = '¾øïò';
-tinyMCELang['lang_insert_table_cols'] = 'ÓôÞëåò';
-tinyMCELang['lang_insert_table_rows'] = 'ÃñáììÝò';
-tinyMCELang['lang_insert_table_cellspacing'] = 'ÄéÜóôé÷ï';
-tinyMCELang['lang_insert_table_cellpadding'] = 'ÃÝìéóìá';
-tinyMCELang['lang_insert_table_border'] = 'Ðåñßãñáììá';
-tinyMCELang['lang_insert_table_align'] = 'Óôïß÷éóç';
-tinyMCELang['lang_insert_table_align_default'] = 'Ðñïêáè.';
-tinyMCELang['lang_insert_table_align_left'] = 'ÁñéóôåñÜ';
-tinyMCELang['lang_insert_table_align_right'] = 'ÄåîéÜ';
-tinyMCELang['lang_insert_table_align_middle'] = 'Óôï êÝíôñï';
-tinyMCELang['lang_insert_table_class'] = 'ÊëÜóç';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'ÐñïêáèïñéóìÝíç';
tinyMCELang['lang_theme_paragraph'] = 'ÐáñÜãñáöïò';
@@ -73,3 +52,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js
index 3818d2a8d..c7eba3808 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/es.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Subindice';
tinyMCELang['lang_theme_sup_desc'] = 'Superindice';
tinyMCELang['lang_theme_hr_desc'] = 'Insertar un separador horizontal';
tinyMCELang['lang_theme_removeformat_desc'] = 'Quitar formato';
-tinyMCELang['lang_theme_table_desc'] = 'Insertar una tabla nueva';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Insertar una fila antes';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Insertar una fila despues';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Eliminar una fila';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Insertar una columna before';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Insertar columna after';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Eliminar una columna';
tinyMCELang['lang_theme_custom1_desc'] = 'Tu descricion';
tinyMCELang['lang_insert_image_border'] = 'Borde';
tinyMCELang['lang_insert_image_dimensions'] = 'Dimensiones';
@@ -31,23 +24,7 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Centrado horizontal';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Centrado abajo';
tinyMCELang['lang_insert_image_align_left'] = 'Izquierda';
tinyMCELang['lang_insert_image_align_right'] = 'Derecha';
-tinyMCELang['lang_insert_table_title'] = 'Insertar/Modificar tabla';
-tinyMCELang['lang_insert_table_width'] = 'Anchura';
-tinyMCELang['lang_insert_table_height'] = 'Altura';
-tinyMCELang['lang_insert_table_cols'] = 'Columnas';
-tinyMCELang['lang_insert_table_rows'] = 'Filas';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Espacio entre celdas';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Desplazamiento entre celdas';
-tinyMCELang['lang_insert_table_border'] = 'Borde';
-tinyMCELang['lang_insert_table_align'] = 'Alineamiento';
-tinyMCELang['lang_insert_table_align_default'] = 'Por defecto';
-tinyMCELang['lang_insert_table_align_left'] = 'Izquierda';
-tinyMCELang['lang_insert_table_align_right'] = 'Derecha';
-tinyMCELang['lang_insert_table_align_middle'] = 'Centro';
-tinyMCELang['lang_insert_table_delta_width'] = 10;
-tinyMCELang['lang_insert_table_delta_height'] = 20;
tinyMCELang['lang_insert_image_delta_height'] = 10;
-tinyMCELang['lang_insert_table_class'] = 'Class';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Default';
tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
@@ -76,3 +53,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/fi.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/fi.js
index c700b7099..a9d7deee5 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/fi.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/fi.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Alam
tinyMCELang['lang_theme_sup_desc'] = 'Ylämääre';
tinyMCELang['lang_theme_hr_desc'] = 'Lisää vaakaviiva';
tinyMCELang['lang_theme_removeformat_desc'] = 'Poista muotoilu';
-tinyMCELang['lang_theme_table_desc'] = 'Lisää uusi taulu';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Lisää rivi edelle';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Lisää rivi jälkeen';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Posita rivi';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Lisää sarake edelle';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Lisää sarake jälkeen';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Poista sarake';
tinyMCELang['lang_theme_custom1_desc'] = 'Kirjoita oma selityksesi tähän';
tinyMCELang['lang_insert_image_border'] = 'Reuna';
tinyMCELang['lang_insert_image_dimensions'] = 'Mitat';
@@ -31,20 +24,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absoluuttisen keskelle';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Absoluuttisen alas';
tinyMCELang['lang_insert_image_align_left'] = 'Vasemmalle';
tinyMCELang['lang_insert_image_align_right'] = 'Oikealle';
-tinyMCELang['lang_insert_table_title'] = 'Lisää/muokkaa taulua';
-tinyMCELang['lang_insert_table_width'] = 'Leveys';
-tinyMCELang['lang_insert_table_height'] = 'Korkeus';
-tinyMCELang['lang_insert_table_cols'] = 'Sarakkeet';
-tinyMCELang['lang_insert_table_rows'] = 'Rivit';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Solujen väli';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Solun reunan ja sisällön väli';
-tinyMCELang['lang_insert_table_border'] = 'Reuna';
-tinyMCELang['lang_insert_table_align'] = 'Asettelu';
-tinyMCELang['lang_insert_table_align_default'] = 'Oletus';
-tinyMCELang['lang_insert_table_align_left'] = 'Vasen';
-tinyMCELang['lang_insert_table_align_right'] = 'Oikea';
-tinyMCELang['lang_insert_table_align_middle'] = 'Keskelle';
-tinyMCELang['lang_insert_table_delta_height'] = 20;
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Oletus';
tinyMCELang['lang_theme_paragraph'] = 'Kappale';
@@ -61,7 +40,6 @@ tinyMCELang['lang_theme_colorpicker_title'] = 'Valitse v
tinyMCELang['lang_theme_colorpicker_apply'] = 'Aseta väri';
tinyMCELang['lang_theme_forecolor_desc'] = 'Valitse etuväri';
tinyMCELang['lang_theme_backcolor_desc'] = 'Select background color';
-tinyMCELang['lang_insert_table_class'] = 'Luokka';
tinyMCELang['lang_theme_charmap_title'] = 'Select custom character';
tinyMCELang['lang_theme_charmap_desc'] = 'Insert custom character';
tinyMCELang['lang_theme_visualaid_desc'] = 'Toggle guidelines/invisible elements';
@@ -74,3 +52,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/hu.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/hu.js
index 00fd89ead..b673c8cc0 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/hu.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/hu.js
@@ -9,13 +9,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Alsó index';
tinyMCELang['lang_theme_sup_desc'] = 'Felsõ index';
tinyMCELang['lang_theme_hr_desc'] = 'Vízszintes vonal beillesztése';
tinyMCELang['lang_theme_removeformat_desc'] = 'Formázás eltávolítása';
-tinyMCELang['lang_theme_table_desc'] = 'Új táblázat beillesztése';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Sor beillesztése elé';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Sor beillesztése utána';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Sor törlése';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Oszlop beillsztése elé';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Oszlop beillesztése utána';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Oszlop eltávolítása';
tinyMCELang['lang_theme_custom1_desc'] = 'Az Ön által kiválasztott leírás';
tinyMCELang['lang_insert_image_border'] = 'Keret';
tinyMCELang['lang_insert_image_dimensions'] = 'Méretek';
@@ -32,21 +25,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Abszolút közé
tinyMCELang['lang_insert_image_align_absbottom'] = 'Abszolút alulra';
tinyMCELang['lang_insert_image_align_left'] = 'Balra';
tinyMCELang['lang_insert_image_align_right'] = 'Jobbra';
-tinyMCELang['lang_insert_table_title'] = 'Tábla beillesztése/módosítása';
-tinyMCELang['lang_insert_table_width'] = 'Szélesség';
-tinyMCELang['lang_insert_table_height'] = 'Magasság';
-tinyMCELang['lang_insert_table_cols'] = 'Oszlopok';
-tinyMCELang['lang_insert_table_rows'] = 'Sorok';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
-tinyMCELang['lang_insert_table_border'] = 'Keret';
-tinyMCELang['lang_insert_table_align'] = 'Igazítás';
-tinyMCELang['lang_insert_table_align_default'] = 'Alapértelmezett';
-tinyMCELang['lang_insert_table_align_left'] = 'Balra';
-tinyMCELang['lang_insert_table_align_right'] = 'Jobbra';
-tinyMCELang['lang_insert_table_align_middle'] = 'Középre';
-tinyMCELang['lang_insert_table_class'] = 'Class';
-tinyMCELang['lang_insert_table_delta_width'] = 55;
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Default';
tinyMCELang['lang_theme_paragraph'] = 'Paragraph';
@@ -75,3 +53,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
index 4a53d1150..70c5c80a5 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/it.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Pedice';
tinyMCELang['lang_theme_sup_desc'] = 'Apice';
tinyMCELang['lang_theme_hr_desc'] = 'Inserisce linea orizzontale';
tinyMCELang['lang_theme_removeformat_desc'] = 'Rimuovi formattazione';
-tinyMCELang['lang_theme_table_desc'] = 'Inserisci una nuova tabella';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Inserisci una riga prima';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Inserisci una riga dopo';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Cancella riga';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Inserisci colonna prima';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Inserisci colonna dopo';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Rimuovi colonna';
tinyMCELang['lang_theme_custom1_desc'] = 'Scrivi qui la tua descrizione personalizzata';
tinyMCELang['lang_insert_image_border'] = 'Bordo';
tinyMCELang['lang_insert_image_dimensions'] = 'Dimensioni';
@@ -31,21 +24,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Centro assoluto';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Inferiore assoluto';
tinyMCELang['lang_insert_image_align_left'] = 'Sinistra';
tinyMCELang['lang_insert_image_align_right'] = 'Destra';
-tinyMCELang['lang_insert_table_title'] = 'Inserisci/modifica tabella';
-tinyMCELang['lang_insert_table_width'] = 'Larghezza';
-tinyMCELang['lang_insert_table_height'] = 'Altezza';
-tinyMCELang['lang_insert_table_cols'] = 'Colonne';
-tinyMCELang['lang_insert_table_rows'] = 'Righe';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
-tinyMCELang['lang_insert_table_border'] = 'Bordo';
-tinyMCELang['lang_insert_table_align'] = 'Allineamento';
-tinyMCELang['lang_insert_table_align_default'] = 'Default';
-tinyMCELang['lang_insert_table_align_left'] = 'Sinistra';
-tinyMCELang['lang_insert_table_align_right'] = 'Destra';
-tinyMCELang['lang_insert_table_align_middle'] = 'Centro';
-tinyMCELang['lang_insert_table_class'] = 'Classe';
-tinyMCELang['lang_insert_table_delta_width'] = 10;
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Default';
tinyMCELang['lang_theme_paragraph'] = 'Paragrafo';
@@ -74,3 +52,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ko.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ko.js
index bdb6a241e..6fdac213d 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ko.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/ko.js
@@ -9,13 +9,6 @@ tinyMCELang['lang_theme_sub_desc'] = '
tinyMCELang['lang_theme_sup_desc'] = 'À§Ã·ÀÚ';
tinyMCELang['lang_theme_hr_desc'] = '°¡·ÎÁÙ ³Ö±â';
tinyMCELang['lang_theme_removeformat_desc'] = '¼Ó¼º Áö¿ì±â';
-tinyMCELang['lang_theme_table_desc'] = 'Ç¥ ³Ö±â';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = '¾Õ¿¡ Çà ³Ö±â';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'µÚ¿¡ Çà ³Ö±â';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Çà Áö¿ì±â';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = '¾Õ¿¡ ¿ ³Ö±â';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'µÚ¿¡ ¿ ³Ö±â';
-tinyMCELang['lang_theme_table_delete_col_desc'] = '¿ Áö¿ì±â';
tinyMCELang['lang_theme_custom1_desc'] = 'Your custom description here';
tinyMCELang['lang_insert_image_border'] = 'Å׵θ®';
tinyMCELang['lang_insert_image_dimensions'] = 'Å©±â';
@@ -32,20 +25,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absolute Middle';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolute Bottom';
tinyMCELang['lang_insert_image_align_left'] = 'Left';
tinyMCELang['lang_insert_image_align_right'] = 'Right';
-tinyMCELang['lang_insert_table_title'] = 'Ç¥ ³Ö±â/°íÄ¡±â';
-tinyMCELang['lang_insert_table_width'] = '³Êºñ';
-tinyMCELang['lang_insert_table_height'] = '³ôÀÌ';
-tinyMCELang['lang_insert_table_cols'] = 'Çà';
-tinyMCELang['lang_insert_table_rows'] = '¿';
-tinyMCELang['lang_insert_table_cellspacing'] = '¼¿ °£°Ý';
-tinyMCELang['lang_insert_table_cellpadding'] = '¼¿ ¿©¹é';
-tinyMCELang['lang_insert_table_border'] = 'Å׵θ®';
-tinyMCELang['lang_insert_table_align'] = 'Á¤·Ä';
-tinyMCELang['lang_insert_table_align_default'] = '±âº»°ª';
-tinyMCELang['lang_insert_table_align_left'] = '¿ÞÂÊ';
-tinyMCELang['lang_insert_table_align_right'] = '¿À¸¥ÂÊ';
-tinyMCELang['lang_insert_table_align_middle'] = '°¡¿îµ¥';
-tinyMCELang['lang_insert_table_class'] = 'Ŭ·¡½º';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = '±âº»°ª';
tinyMCELang['lang_theme_paragraph'] = '´Ü¶ô';
@@ -74,3 +53,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/nl.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/nl.js
index e5de1fc3c..5e70d5d73 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/nl.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/nl.js
@@ -8,13 +8,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
tinyMCELang['lang_theme_hr_desc'] = 'Invoegen horizontale lijn';
tinyMCELang['lang_theme_removeformat_desc'] = 'Verwijder opmaak';
-tinyMCELang['lang_theme_table_desc'] = 'Voeg een nieuwe tabel in';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Voeg rij in voor ...';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Voeg rij in na ...';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Verwijder rij';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Voeg kolom in voor ...';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Voeg kolom in na ...';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Verwijder kolom';
tinyMCELang['lang_theme_custom1_desc'] = 'Uw eigen omschrijving hier';
tinyMCELang['lang_insert_image_border'] = 'Omranding (pixels)';
tinyMCELang['lang_insert_image_dimensions'] = 'Afmetingen (Leeg: Originele afm.)';
@@ -31,22 +24,7 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Absoluut Midden';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Absoluut Onder';
tinyMCELang['lang_insert_image_align_left'] = 'Links';
tinyMCELang['lang_insert_image_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_title'] = 'Invoegen/Bewerken tabel';
-tinyMCELang['lang_insert_table_width'] = 'Breedte';
-tinyMCELang['lang_insert_table_height'] = 'Hoogte';
-tinyMCELang['lang_insert_table_cols'] = 'Kolommen';
-tinyMCELang['lang_insert_table_rows'] = 'Rijen';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Celafstand';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Celvulling';
-tinyMCELang['lang_insert_table_border'] = 'Omranding';
-tinyMCELang['lang_insert_table_align'] = 'Positionering';
-tinyMCELang['lang_insert_table_align_default'] = 'Standaard';
-tinyMCELang['lang_insert_table_align_left'] = 'Links';
-tinyMCELang['lang_insert_table_align_right'] = 'Rechts';
-tinyMCELang['lang_insert_table_align_middle'] = 'Midden';
-tinyMCELang['lang_insert_table_delta_width'] = 20;
tinyMCELang['lang_insert_image_delta_height'] = 0;
-tinyMCELang['lang_insert_table_class'] = 'CSS-Stijl';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Standaard';
tinyMCELang['lang_theme_paragraph'] = 'Paragraaf';
@@ -76,3 +54,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/no.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/no.js
index 4f6f43532..0c4499550 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/no.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/no.js
@@ -9,13 +9,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Subscript';
tinyMCELang['lang_theme_sup_desc'] = 'Superscript';
tinyMCELang['lang_theme_hr_desc'] = 'Sett in horisontal linie';
tinyMCELang['lang_theme_removeformat_desc'] = 'Fjern formatering';
-tinyMCELang['lang_theme_table_desc'] = 'Opprett/endre tabell';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Opprett rad før';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Opprett rad etter';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Fjern rad';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Opprett kolonne før';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Opprett kolonne etter';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Fjern kolonne';
tinyMCELang['lang_theme_custom1_desc'] = 'Din spesialfunksjons beskriving her';
tinyMCELang['lang_insert_image_border'] = 'Ramme';
tinyMCELang['lang_insert_image_dimensions'] = 'Dimensjoner';
@@ -33,20 +26,6 @@ tinyMCELang['lang_insert_image_align_absbottom'] = 'Absolutt lengst ned';
tinyMCELang['lang_insert_image_align_left'] = 'Venstre';
tinyMCELang['lang_insert_image_align_right'] = 'Høyre';
tinyMCELang['lang_insert_image_delta_width'] = '';
-tinyMCELang['lang_insert_table_title'] = 'Opprett/endre tabell';
-tinyMCELang['lang_insert_table_width'] = 'Bredde';
-tinyMCELang['lang_insert_table_height'] = 'Høyde';
-tinyMCELang['lang_insert_table_cols'] = 'Kolonner';
-tinyMCELang['lang_insert_table_rows'] = 'Rader';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Celle-mellomrom';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Celle-padding';
-tinyMCELang['lang_insert_table_border'] = 'Rammebredde';
-tinyMCELang['lang_insert_table_align'] = 'Justering';
-tinyMCELang['lang_insert_table_align_default'] = 'Ingen';
-tinyMCELang['lang_insert_table_align_left'] = 'Venstre';
-tinyMCELang['lang_insert_table_align_right'] = 'Høyre';
-tinyMCELang['lang_insert_table_align_middle'] = 'Midten';
-tinyMCELang['lang_insert_table_class'] = 'Stil';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Normal';
tinyMCELang['lang_theme_paragraph'] = 'Paragraf';
@@ -75,3 +54,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js
index 69f3fda27..f65d96aef 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pl.js
@@ -7,13 +7,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Indeks dolny';
tinyMCELang['lang_theme_sup_desc'] = 'Indeks górny';
tinyMCELang['lang_theme_hr_desc'] = 'Wstaw liniê poziom±';
tinyMCELang['lang_theme_removeformat_desc'] = 'Usuñ formatowanie';
-tinyMCELang['lang_theme_table_desc'] = 'Wstaw now± tabelê';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Wstaw wiersz przed';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Wstaw wiersz za';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Usuñ wiersz';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Wstaw kolumnê przed';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Wstaw kolumnê za';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Usuñ kolumnê';
tinyMCELang['lang_theme_custom1_desc'] = 'Opis';
tinyMCELang['lang_insert_image_border'] = 'Krawêdzie';
tinyMCELang['lang_insert_image_dimensions'] = 'Wymiary';
@@ -30,20 +23,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Do
tinyMCELang['lang_insert_image_align_absbottom'] = 'Do do³u bezwzglêdnego';
tinyMCELang['lang_insert_image_align_left'] = 'Do lewej';
tinyMCELang['lang_insert_image_align_right'] = 'Do prawej';
-tinyMCELang['lang_insert_table_title'] = 'Wstaw/Modyfikuj tabelê';
-tinyMCELang['lang_insert_table_width'] = 'Szeroko¶æ';
-tinyMCELang['lang_insert_table_height'] = 'Wysoko¶æ';
-tinyMCELang['lang_insert_table_cols'] = 'Kolumny';
-tinyMCELang['lang_insert_table_rows'] = 'Wiersze';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Cellspacing';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Cellpadding';
-tinyMCELang['lang_insert_table_border'] = 'Krawêdzie';
-tinyMCELang['lang_insert_table_align'] = 'Wyrównanie';
-tinyMCELang['lang_insert_table_align_default'] = 'Domy¶lne';
-tinyMCELang['lang_insert_table_align_left'] = 'Do lewej';
-tinyMCELang['lang_insert_table_align_right'] = 'Do prawej';
-tinyMCELang['lang_insert_table_align_middle'] = 'Do ¶rodka';
-tinyMCELang['lang_insert_table_class'] = 'Klasa';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Domy¶lnie';
tinyMCELang['lang_theme_paragraph'] = 'Domy¶lna czcionka akapitu';
@@ -72,3 +51,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt.js
index 7be9ec26d..afe75a8f3 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/pt.js
@@ -9,13 +9,6 @@ tinyMCELang['lang_theme_sub_desc'] = 'Subscrito';
tinyMCELang['lang_theme_sup_desc'] = 'Superscrito';
tinyMCELang['lang_theme_hr_desc'] = 'Inserir linha horizontal';
tinyMCELang['lang_theme_removeformat_desc'] = 'Remover formatação';
-tinyMCELang['lang_theme_table_desc'] = 'Insere uma nova tabela';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = 'Inserir linha antes';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = 'Inserir linha depois';
-tinyMCELang['lang_theme_table_delete_row_desc'] = 'Eliminar linha';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = 'Inserir coluna antes';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = 'Inserir coluna depois';
-tinyMCELang['lang_theme_table_delete_col_desc'] = 'Remover coluna';
tinyMCELang['lang_theme_custom1_desc'] = 'Descrição customizada aqui';
tinyMCELang['lang_insert_image_border'] = 'Borda';
tinyMCELang['lang_insert_image_dimensions'] = 'Dimensões';
@@ -32,20 +25,6 @@ tinyMCELang['lang_insert_image_align_absmiddle'] = 'Centrado absoluto';
tinyMCELang['lang_insert_image_align_absbottom'] = 'Fundo absoluto';
tinyMCELang['lang_insert_image_align_left'] = 'Esquerda';
tinyMCELang['lang_insert_image_align_right'] = 'Direita';
-tinyMCELang['lang_insert_table_title'] = 'Inserir/Modificar tabela';
-tinyMCELang['lang_insert_table_width'] = 'Largura';
-tinyMCELang['lang_insert_table_height'] = 'Altura';
-tinyMCELang['lang_insert_table_cols'] = 'Colunas';
-tinyMCELang['lang_insert_table_rows'] = 'Linhas';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Espaça mento';
-tinyMCELang['lang_insert_table_cellpadding'] = 'Margem interior';
-tinyMCELang['lang_insert_table_border'] = 'Borda';
-tinyMCELang['lang_insert_table_align'] = 'Alinhamento';
-tinyMCELang['lang_insert_table_align_default'] = 'Por omissão';
-tinyMCELang['lang_insert_table_align_left'] = 'Esquerda';
-tinyMCELang['lang_insert_table_align_right'] = 'Direita';
-tinyMCELang['lang_insert_table_align_middle'] = 'Centrado';
-tinyMCELang['lang_insert_table_class'] = 'Classe de CSS';
tinyMCELang['lang_theme_font_size'] = 'Font size';
tinyMCELang['lang_theme_fontdefault'] = 'Por omissão';
tinyMCELang['lang_theme_paragraph'] = 'Parágrafo';
@@ -74,3 +53,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cortar';
tinyMCELang['lang_copy_desc'] = 'Copiar';
tinyMCELang['lang_paste_desc'] = 'Colar';
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/readme.txt b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/readme.txt
index f76f840e8..ef48d2ba4 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/readme.txt
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/readme.txt
@@ -1 +1,4 @@
-Theme specific language packs.
\ No newline at end of file
+Theme specific language packs.
+
+The language pack codes are based on ISO-639-2
+http://www.loc.gov/standards/iso639-2/englangn.html
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js
index 43789147d..a9f28e940 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/langs/tw.js
@@ -34,20 +34,6 @@ tinyMCELang['lang_insert_link_target_blank'] = '
tinyMCELang['lang_insert_link_target_same'] = 'Åã¥Ü©ó¦P¤@µøµ¡¤¤';
tinyMCELang['lang_insert_link_title'] = '·s¼W¶W³sµ²';
tinyMCELang['lang_insert_link_url'] = '¶W³sµ²';
-tinyMCELang['lang_insert_table_align'] = '¹ï»ô';
-tinyMCELang['lang_insert_table_align_default'] = '¼Ð·Ç';
-tinyMCELang['lang_insert_table_align_left'] = '»ô¥ª';
-tinyMCELang['lang_insert_table_align_middle'] = '¸m¤¤';
-tinyMCELang['lang_insert_table_align_right'] = '»ô¥k';
-tinyMCELang['lang_insert_table_border'] = '®Ø½u';
-tinyMCELang['lang_insert_table_cellpadding'] = '¦rÅé»PÀx¦s®æ¶¡»Ø';
-tinyMCELang['lang_insert_table_cellspacing'] = 'Àx¦s®æ¶¡»Ø';
-tinyMCELang['lang_insert_table_class'] = '¼Ë¦¡';
-tinyMCELang['lang_insert_table_cols'] = '¦æ';
-tinyMCELang['lang_insert_table_height'] = '°ª«×';
-tinyMCELang['lang_insert_table_rows'] = '¦C';
-tinyMCELang['lang_insert_table_title'] = 'ªí®æ¼ÐÃD';
-tinyMCELang['lang_insert_table_width'] = '¼e«×';
tinyMCELang['lang_italic_desc'] = '±×Åé';
tinyMCELang['lang_italic_img'] = "italic.gif";
tinyMCELang['lang_justifycenter_desc'] = '»ô¤¤';
@@ -85,13 +71,6 @@ tinyMCELang['lang_theme_removeformat_desc'] = '
tinyMCELang['lang_theme_style_select'] = '¼Ë¦¡';
tinyMCELang['lang_theme_sub_desc'] = '¤U¼Ð';
tinyMCELang['lang_theme_sup_desc'] = '¤W¼Ð';
-tinyMCELang['lang_theme_table_delete_col_desc'] = '§R°£¤@¦æÀx¦s®æ';
-tinyMCELang['lang_theme_table_delete_row_desc'] = '§R°£¤@¦CÀx¦s®æ';
-tinyMCELang['lang_theme_table_desc'] = 'ªí®æ';
-tinyMCELang['lang_theme_table_insert_col_after_desc'] = '·s¼W¤@¦æÀx¦s®æ(«á)';
-tinyMCELang['lang_theme_table_insert_col_before_desc'] = '·s¼W¤@¦æÀx¦s®æ(«e)';
-tinyMCELang['lang_theme_table_insert_row_after_desc'] = '·s¼W¤@¦CÀx¦s®æ(«á)';
-tinyMCELang['lang_theme_table_insert_row_before_desc'] = '·s¼W¤@¦CÀx¦s®æ(«e)';
tinyMCELang['lang_theme_visualaid_desc'] = 'Åã¥Ü/ÁôÂëD¥i¨£ªº¤¸¯À';
tinyMCELang['lang_underline_desc'] = '©³½u';
tinyMCELang['lang_undo_desc'] = '´_ì';
@@ -101,4 +80,6 @@ tinyMCELang['lang_theme_path'] = 'Path';
tinyMCELang['lang_cut_desc'] = 'Cut';
tinyMCELang['lang_copy_desc'] = 'Copy';
tinyMCELang['lang_paste_desc'] = 'Paste';
-
+tinyMCELang['lang_link_list'] = 'Link list';
+tinyMCELang['lang_image_list'] = 'Image list';
+tinyMCELang['lang_browse'] = 'Browse';
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/link.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/link.htm
index 6f0c27023..0aba3dc32 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/link.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/link.htm
@@ -2,6 +2,11 @@
{$lang_insert_link_title}
+
+
{$lang_insert_link_target}:
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm
index e279033f3..beb617a54 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/advanced/source_editor.htm
@@ -1,88 +1,90 @@
-
-
-
-
-{$lang_theme_code_title}
-
-
-
-
-
-
-
-
+
+
+
+
+{$lang_theme_code_title}
+
+
+
+
+
+
+
+
+
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/default/editor_template.js b/www/extras/tinymce/jscripts/tiny_mce/themes/default/editor_template.js
index d83efb2af..e7eb5bb06 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/default/editor_template.js
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/default/editor_template.js
@@ -1,7 +1,4 @@
-function TinyMCE_default_getEditorTemplate() {
- var template = new Array();
-
- template['html'] = '\
+function TinyMCE_default_getEditorTemplate(){var template=new Array();template['html']='\
\
\
IFRAME \
@@ -32,120 +29,4 @@ function TinyMCE_default_getEditorTemplate() {
\
\
\
-
';
-
- template['delta_width'] = 0;
- template['delta_height'] = -40;
-
- return template;
-}
-
-/**
- * Insert link template function.
- */
-function TinyMCE_default_getInsertLinkTemplate() {
- var template = new Array();
-
- template['file'] = 'link.htm';
- template['width'] = 320;
- template['height'] = 145;
-
- // Language specific width and height addons
- template['width'] += tinyMCE.getLang('lang_insert_link_delta_width', 0);
- template['height'] += tinyMCE.getLang('lang_insert_link_delta_height', 0);
-
- return template;
-}
-
-/**
- * Insert image template function.
- */
-function TinyMCE_default_getInsertImageTemplate() {
- var template = new Array();
-
- template['file'] = 'image.htm';
- template['width'] = 360;
- template['height'] = 145;
-
- // Language specific width and height addons
- template['width'] += tinyMCE.getLang('lang_insert_image_delta_width', 0);
- template['height'] += tinyMCE.getLang('lang_insert_image_delta_height', 0);
-
- return template;
-}
-
-function TinyMCE_default_handleNodeChange(editor_id, node) {
- // Reset old states
- tinyMCE.switchClassSticky(editor_id + '_left', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_right', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_center', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_full', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonNormal');
- tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonNormal');
-
- // Handle align attributes
- alignNode = node;
- breakOut = false;
- do {
- if (!alignNode.getAttribute || !alignNode.getAttribute('align'))
- continue;
-
- switch (alignNode.getAttribute('align').toLowerCase()) {
- case "left":
- tinyMCE.switchClassSticky(editor_id + '_left', 'mceButtonSelected');
- breakOut = true;
- break;
-
- case "right":
- tinyMCE.switchClassSticky(editor_id + '_right', 'mceButtonSelected');
- breakOut = true;
- break;
-
- case "middle":
- case "center":
- tinyMCE.switchClassSticky(editor_id + '_center', 'mceButtonSelected');
- breakOut = true;
- break;
-
- case "justify":
- tinyMCE.switchClassSticky(editor_id + '_full', 'mceButtonSelected');
- breakOut = true;
- break;
- }
- } while (!breakOut && (alignNode = alignNode.parentNode));
-
- // Handle elements
- do {
- switch (node.nodeName.toLowerCase()) {
- case "b":
- case "strong":
- tinyMCE.switchClassSticky(editor_id + '_bold', 'mceButtonSelected');
- break;
-
- case "i":
- case "em":
- tinyMCE.switchClassSticky(editor_id + '_italic', 'mceButtonSelected');
- break;
-
- case "u":
- tinyMCE.switchClassSticky(editor_id + '_underline', 'mceButtonSelected');
- break;
-
- case "strike":
- tinyMCE.switchClassSticky(editor_id + '_strikethrough', 'mceButtonSelected');
- break;
-
- case "ul":
- tinyMCE.switchClassSticky(editor_id + '_bullist', 'mceButtonSelected');
- break;
-
- case "ol":
- tinyMCE.switchClassSticky(editor_id + '_numlist', 'mceButtonSelected');
- break;
- }
- } while ((node = node.parentNode));
-}
+';template['delta_width']=0;template['delta_height']=-40;return template;}function TinyMCE_default_getInsertLinkTemplate(){var template=new Array();template['file']='link.htm';template['width']=320;template['height']=200;template['width']+=tinyMCE.getLang('lang_insert_link_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_link_delta_height',0);return template;}function TinyMCE_default_getInsertImageTemplate(){var template=new Array();template['file']='image.htm';template['width']=360;template['height']=200;template['width']+=tinyMCE.getLang('lang_insert_image_delta_width',0);template['height']+=tinyMCE.getLang('lang_insert_image_delta_height',0);return template;}function TinyMCE_default_handleNodeChange(editor_id,node){tinyMCE.switchClassSticky(editor_id+'_left','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_right','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_center','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_full','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonNormal');tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonNormal');alignNode=node;breakOut=false;do{if(!alignNode.getAttribute||!alignNode.getAttribute('align'))continue;switch(alignNode.getAttribute('align').toLowerCase()){case "left":tinyMCE.switchClassSticky(editor_id+'_left','mceButtonSelected');breakOut=true;break;case "right":tinyMCE.switchClassSticky(editor_id+'_right','mceButtonSelected');breakOut=true;break;case "middle":case "center":tinyMCE.switchClassSticky(editor_id+'_center','mceButtonSelected');breakOut=true;break;case "justify":tinyMCE.switchClassSticky(editor_id+'_full','mceButtonSelected');breakOut=true;break;}}while(!breakOut&&(alignNode=alignNode.parentNode));do{switch(node.nodeName.toLowerCase()){case "b":case "strong":tinyMCE.switchClassSticky(editor_id+'_bold','mceButtonSelected');break;case "i":case "em":tinyMCE.switchClassSticky(editor_id+'_italic','mceButtonSelected');break;case "u":tinyMCE.switchClassSticky(editor_id+'_underline','mceButtonSelected');break;case "strike":tinyMCE.switchClassSticky(editor_id+'_strikethrough','mceButtonSelected');break;case "ul":tinyMCE.switchClassSticky(editor_id+'_bullist','mceButtonSelected');break;case "ol":tinyMCE.switchClassSticky(editor_id+'_numlist','mceButtonSelected');break;}}while((node=node.parentNode));}
\ No newline at end of file
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/default/image.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/default/image.htm
index 53dbe58b1..4689cf8b8 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/default/image.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/default/image.htm
@@ -8,7 +8,7 @@
var src = document.forms[0].src.value;
var alt = document.forms[0].alt.value;
- window.opener.tinyMCE.insertImage(src, alt, 0, 0, 0);
+ window.opener.tinyMCE.insertImage(src, alt);
top.close();
}
}
@@ -18,6 +18,7 @@
formObj.src.value = tinyMCE.getWindowArg('src');
formObj.alt.value = tinyMCE.getWindowArg('alt');
+ formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'));
window.focus();
}
@@ -44,9 +45,9 @@
-
+
-
+
diff --git a/www/extras/tinymce/jscripts/tiny_mce/themes/default/link.htm b/www/extras/tinymce/jscripts/tiny_mce/themes/default/link.htm
index 2cecbd262..57b38f495 100644
--- a/www/extras/tinymce/jscripts/tiny_mce/themes/default/link.htm
+++ b/www/extras/tinymce/jscripts/tiny_mce/themes/default/link.htm
@@ -12,6 +12,7 @@
}
document.forms[0].href.value = tinyMCE.getWindowArg('href');
+ document.forms[0].insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('action'));
window.focus();
}
@@ -48,12 +49,12 @@