From d67b8fdae83d948bf997a7f7cdbb71b52d9481e9 Mon Sep 17 00:00:00 2001
From: Evan Prodromou
Date: Mon, 20 Jun 2011 11:34:24 -0400
Subject: [PATCH] upgrade TinyMCE to 3.4.x
---
plugins/TinyMCE/js/langs/en.js | 59 +-
.../TinyMCE/js/plugins/advhr/langs/en_dlg.js | 2 +
plugins/TinyMCE/js/plugins/advhr/rule.htm | 59 +-
plugins/TinyMCE/js/plugins/advimage/image.htm | 65 +-
.../TinyMCE/js/plugins/advimage/js/image.js | 35 +-
.../js/plugins/advimage/langs/en_dlg.js | 2 +
.../TinyMCE/js/plugins/advlink/js/advlink.js | 38 +-
.../js/plugins/advlink/langs/en_dlg.js | 6 +-
plugins/TinyMCE/js/plugins/advlink/link.htm | 65 +-
.../js/plugins/advlist/editor_plugin.js | 2 +-
.../js/plugins/advlist/editor_plugin_src.js | 13 +-
.../js/plugins/autolink/editor_plugin.js | 1 +
.../js/plugins/autolink/editor_plugin_src.js | 172 +
.../js/plugins/autoresize/editor_plugin.js | 2 +-
.../plugins/autoresize/editor_plugin_src.js | 28 +-
.../js/plugins/autosave/editor_plugin.js | 2 +-
.../js/plugins/autosave/editor_plugin_src.js | 17 +-
.../js/plugins/bbcode/editor_plugin.js | 2 +-
.../js/plugins/bbcode/editor_plugin_src.js | 2 +-
.../js/plugins/contextmenu/editor_plugin.js | 2 +-
.../plugins/contextmenu/editor_plugin_src.js | 55 +-
.../TinyMCE/js/plugins/emotions/emotions.htm | 29 +-
.../emotions/img/smiley-foot-in-mouth.gif | Bin 344 -> 342 bytes
.../plugins/emotions/img/smiley-laughing.gif | Bin 344 -> 343 bytes
.../js/plugins/emotions/img/smiley-sealed.gif | Bin 325 -> 323 bytes
.../js/plugins/emotions/img/smiley-smile.gif | Bin 345 -> 344 bytes
.../plugins/emotions/img/smiley-surprised.gif | Bin 342 -> 338 bytes
.../js/plugins/emotions/img/smiley-wink.gif | Bin 351 -> 350 bytes
.../example_dependency/editor_plugin.js | 1 +
.../example_dependency/editor_plugin_src.js | 50 +
.../js/plugins/fullpage/css/fullpage.css | 45 +-
.../js/plugins/fullpage/editor_plugin.js | 2 +-
.../js/plugins/fullpage/editor_plugin_src.js | 388 +-
.../TinyMCE/js/plugins/fullpage/fullpage.htm | 348 +-
.../js/plugins/fullpage/js/fullpage.js | 613 +-
.../js/plugins/fullscreen/editor_plugin.js | 2 +-
.../plugins/fullscreen/editor_plugin_src.js | 12 +-
.../js/plugins/inlinepopups/editor_plugin.js | 2 +-
.../plugins/inlinepopups/editor_plugin_src.js | 91 +-
.../skins/clearlooks2/img/alert.gif | Bin 818 -> 810 bytes
.../skins/clearlooks2/img/button.gif | Bin 280 -> 272 bytes
.../skins/clearlooks2/img/confirm.gif | Bin 915 -> 907 bytes
.../skins/clearlooks2/img/corners.gif | Bin 911 -> 909 bytes
.../skins/clearlooks2/img/vertical.gif | Bin 92 -> 84 bytes
.../inlinepopups/skins/clearlooks2/window.css | 2 +-
.../TinyMCE/js/plugins/layer/editor_plugin.js | 2 +-
.../js/plugins/layer/editor_plugin_src.js | 2 +
.../js/plugins/legacyoutput/editor_plugin.js | 2 +-
.../plugins/legacyoutput/editor_plugin_src.js | 57 +-
.../js/plugins/linkautodetect/changelog.txt | 9 -
.../plugins/linkautodetect/editor_plugin.js | 7 -
.../linkautodetect/editor_plugin_src.js | 141 -
.../TinyMCE/js/plugins/lists/editor_plugin.js | 1 +
.../js/plugins/lists/editor_plugin_src.js | 688 ++
.../TinyMCE/js/plugins/media/css/content.css | 6 -
.../TinyMCE/js/plugins/media/css/media.css | 9 +-
.../TinyMCE/js/plugins/media/editor_plugin.js | 2 +-
.../js/plugins/media/editor_plugin_src.js | 989 +-
.../TinyMCE/js/plugins/media/img/flash.gif | Bin 241 -> 0 bytes
.../js/plugins/media/img/flv_player.swf | Bin 11668 -> 0 bytes
.../js/plugins/media/img/quicktime.gif | Bin 303 -> 0 bytes
.../js/plugins/media/img/shockwave.gif | Bin 387 -> 0 bytes
plugins/TinyMCE/js/plugins/media/js/media.js | 957 +-
.../TinyMCE/js/plugins/media/langs/en_dlg.js | 10 +-
plugins/TinyMCE/js/plugins/media/media.htm | 571 +-
.../TinyMCE/js/plugins/media/moxieplayer.swf | Bin 0 -> 33931 bytes
.../js/plugins/nonbreaking/editor_plugin.js | 2 +-
.../plugins/nonbreaking/editor_plugin_src.js | 2 +-
.../js/plugins/noneditable/editor_plugin.js | 2 +-
.../plugins/noneditable/editor_plugin_src.js | 2 +
.../js/plugins/pagebreak/css/content.css | 1 -
.../js/plugins/pagebreak/editor_plugin.js | 2 +-
.../js/plugins/pagebreak/editor_plugin_src.js | 5 +-
.../js/plugins/pagebreak/img/trans.gif | Bin 43 -> 0 bytes
.../TinyMCE/js/plugins/paste/editor_plugin.js | 2 +-
.../js/plugins/paste/editor_plugin_src.js | 273 +-
.../js/plugins/searchreplace/editor_plugin.js | 2 +-
.../searchreplace/editor_plugin_src.js | 4 +
.../plugins/searchreplace/js/searchreplace.js | 24 +-
.../plugins/searchreplace/searchreplace.htm | 33 +-
.../js/plugins/spellchecker/editor_plugin.js | 2 +-
.../plugins/spellchecker/editor_plugin_src.js | 89 +-
plugins/TinyMCE/js/plugins/style/js/props.js | 12 +-
.../TinyMCE/js/plugins/style/langs/en_dlg.js | 9 +-
plugins/TinyMCE/js/plugins/style/props.htm | 901 +-
.../js/plugins/tabfocus/editor_plugin.js | 2 +-
.../js/plugins/tabfocus/editor_plugin_src.js | 54 +-
plugins/TinyMCE/js/plugins/table/cell.htm | 30 +-
.../TinyMCE/js/plugins/table/editor_plugin.js | 2 +-
.../js/plugins/table/editor_plugin_src.js | 160 +-
plugins/TinyMCE/js/plugins/table/js/cell.js | 53 +-
plugins/TinyMCE/js/plugins/table/js/row.js | 36 +-
plugins/TinyMCE/js/plugins/table/js/table.js | 31 +-
.../TinyMCE/js/plugins/table/langs/en_dlg.js | 3 +-
.../TinyMCE/js/plugins/table/merge_cells.htm | 22 +-
plugins/TinyMCE/js/plugins/table/row.htm | 21 +-
plugins/TinyMCE/js/plugins/table/table.htm | 107 +-
.../js/plugins/template/js/template.js | 2 +-
.../js/plugins/visualchars/editor_plugin.js | 2 +-
.../plugins/visualchars/editor_plugin_src.js | 2 +-
.../js/plugins/wordcount/editor_plugin.js | 2 +-
.../js/plugins/wordcount/editor_plugin_src.js | 54 +-
.../TinyMCE/js/plugins/xhtmlxtras/abbr.htm | 11 +-
.../TinyMCE/js/plugins/xhtmlxtras/acronym.htm | 11 +-
.../js/plugins/xhtmlxtras/attributes.htm | 11 +-
.../TinyMCE/js/plugins/xhtmlxtras/cite.htm | 9 +-
plugins/TinyMCE/js/plugins/xhtmlxtras/del.htm | 17 +-
.../js/plugins/xhtmlxtras/editor_plugin.js | 2 +-
.../plugins/xhtmlxtras/editor_plugin_src.js | 12 +-
plugins/TinyMCE/js/plugins/xhtmlxtras/ins.htm | 21 +-
.../js/plugins/xhtmlxtras/js/attributes.js | 17 +-
.../TinyMCE/js/plugins/xhtmlxtras/js/del.js | 14 +-
.../plugins/xhtmlxtras/js/element_common.js | 8 +-
.../TinyMCE/js/plugins/xhtmlxtras/js/ins.js | 17 +-
plugins/TinyMCE/js/themes/advanced/about.htm | 8 +-
plugins/TinyMCE/js/themes/advanced/anchor.htm | 10 +-
.../TinyMCE/js/themes/advanced/charmap.htm | 79 +-
.../js/themes/advanced/color_picker.htm | 19 +-
.../js/themes/advanced/editor_template.js | 2 +-
.../js/themes/advanced/editor_template_src.js | 261 +-
plugins/TinyMCE/js/themes/advanced/image.htm | 102 +-
.../js/themes/advanced/img/colorpicker.jpg | Bin 3189 -> 2584 bytes
.../TinyMCE/js/themes/advanced/img/flash.gif | Bin 0 -> 239 bytes
.../TinyMCE/js/themes/advanced/img/icons.gif | Bin 11794 -> 11790 bytes
.../TinyMCE/js/themes/advanced/img/iframe.gif | Bin 0 -> 600 bytes
.../advanced}/img/pagebreak.gif | Bin
.../js/themes/advanced/img/quicktime.gif | Bin 0 -> 301 bytes
.../advanced}/img/realmedia.gif | Bin
.../js/themes/advanced/img/shockwave.gif | Bin 0 -> 384 bytes
.../media => themes/advanced}/img/trans.gif | Bin
.../TinyMCE/js/themes/advanced/img/video.gif | Bin 0 -> 597 bytes
.../advanced}/img/windowsmedia.gif | Bin
.../TinyMCE/js/themes/advanced/js/about.js | 1 +
.../TinyMCE/js/themes/advanced/js/anchor.js | 5 +
.../TinyMCE/js/themes/advanced/js/charmap.js | 32 +-
.../js/themes/advanced/js/color_picker.js | 140 +-
.../TinyMCE/js/themes/advanced/js/image.js | 8 +-
plugins/TinyMCE/js/themes/advanced/js/link.js | 11 +-
.../js/themes/advanced/js/source_editor.js | 18 +-
.../TinyMCE/js/themes/advanced/langs/en.js | 10 +-
.../js/themes/advanced/langs/en_dlg.js | 9 +-
plugins/TinyMCE/js/themes/advanced/link.htm | 55 +-
.../TinyMCE/js/themes/advanced/shortcuts.htm | 47 +
.../themes/advanced/skins/default/content.css | 13 +-
.../advanced/skins/default/img/buttons.png | Bin 3274 -> 3133 bytes
.../advanced/skins/default/img/items.gif | Bin 70 -> 64 bytes
.../advanced/skins/default/img/tabs.gif | Bin 1326 -> 1322 bytes
.../js/themes/advanced/skins/default/ui.css | 9 +-
.../advanced/skins/highcontrast/content.css | 23 +
.../advanced/skins/highcontrast/dialog.css | 105 +
.../themes/advanced/skins/highcontrast/ui.css | 102 +
.../js/themes/advanced/skins/o2k7/content.css | 10 +
.../js/themes/advanced/skins/o2k7/dialog.css | 1 +
.../advanced/skins/o2k7/img/button_bg.png | Bin 5859 -> 2766 bytes
.../skins/o2k7/img/button_bg_black.png | Bin 3736 -> 651 bytes
.../skins/o2k7/img/button_bg_silver.png | Bin 5358 -> 2084 bytes
.../js/themes/advanced/skins/o2k7/ui.css | 12 +-
.../themes/advanced/skins/o2k7/ui_black.css | 2 +-
.../themes/advanced/skins/o2k7/ui_silver.css | 2 +-
.../js/themes/advanced/source_editor.htm | 6 +-
.../js/themes/simple/editor_template.js | 2 +-
.../js/themes/simple/editor_template_src.js | 3 +-
.../TinyMCE/js/themes/simple/img/icons.gif | Bin 1440 -> 806 bytes
plugins/TinyMCE/js/tiny_mce.js | 2 +-
plugins/TinyMCE/js/tiny_mce_popup.js | 2 +-
plugins/TinyMCE/js/tiny_mce_src.js | 9095 +++++++++++------
plugins/TinyMCE/js/utils/form_utils.js | 18 +-
plugins/TinyMCE/js/utils/mctabs.js | 105 +-
plugins/TinyMCE/js/utils/validate.js | 38 +-
169 files changed, 11238 insertions(+), 6896 deletions(-)
create mode 100644 plugins/TinyMCE/js/plugins/autolink/editor_plugin.js
create mode 100644 plugins/TinyMCE/js/plugins/autolink/editor_plugin_src.js
create mode 100644 plugins/TinyMCE/js/plugins/example_dependency/editor_plugin.js
create mode 100644 plugins/TinyMCE/js/plugins/example_dependency/editor_plugin_src.js
delete mode 100644 plugins/TinyMCE/js/plugins/linkautodetect/changelog.txt
delete mode 100644 plugins/TinyMCE/js/plugins/linkautodetect/editor_plugin.js
delete mode 100644 plugins/TinyMCE/js/plugins/linkautodetect/editor_plugin_src.js
create mode 100644 plugins/TinyMCE/js/plugins/lists/editor_plugin.js
create mode 100644 plugins/TinyMCE/js/plugins/lists/editor_plugin_src.js
delete mode 100644 plugins/TinyMCE/js/plugins/media/css/content.css
delete mode 100644 plugins/TinyMCE/js/plugins/media/img/flash.gif
delete mode 100644 plugins/TinyMCE/js/plugins/media/img/flv_player.swf
delete mode 100644 plugins/TinyMCE/js/plugins/media/img/quicktime.gif
delete mode 100644 plugins/TinyMCE/js/plugins/media/img/shockwave.gif
create mode 100644 plugins/TinyMCE/js/plugins/media/moxieplayer.swf
delete mode 100644 plugins/TinyMCE/js/plugins/pagebreak/css/content.css
delete mode 100644 plugins/TinyMCE/js/plugins/pagebreak/img/trans.gif
create mode 100644 plugins/TinyMCE/js/themes/advanced/img/flash.gif
create mode 100644 plugins/TinyMCE/js/themes/advanced/img/iframe.gif
rename plugins/TinyMCE/js/{plugins/pagebreak => themes/advanced}/img/pagebreak.gif (100%)
create mode 100644 plugins/TinyMCE/js/themes/advanced/img/quicktime.gif
rename plugins/TinyMCE/js/{plugins/media => themes/advanced}/img/realmedia.gif (100%)
create mode 100644 plugins/TinyMCE/js/themes/advanced/img/shockwave.gif
rename plugins/TinyMCE/js/{plugins/media => themes/advanced}/img/trans.gif (100%)
create mode 100644 plugins/TinyMCE/js/themes/advanced/img/video.gif
rename plugins/TinyMCE/js/{plugins/media => themes/advanced}/img/windowsmedia.gif (100%)
create mode 100644 plugins/TinyMCE/js/themes/advanced/shortcuts.htm
create mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/content.css
create mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/dialog.css
create mode 100644 plugins/TinyMCE/js/themes/advanced/skins/highcontrast/ui.css
diff --git a/plugins/TinyMCE/js/langs/en.js b/plugins/TinyMCE/js/langs/en.js
index ea4a1b0e14..8a80d46b1a 100644
--- a/plugins/TinyMCE/js/langs/en.js
+++ b/plugins/TinyMCE/js/langs/en.js
@@ -12,9 +12,54 @@ not_set:"-- Not set --",
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
popup_blocked:"Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.",
-invalid_data:"Error: Invalid values entered, these are marked in red.",
+invalid_data:"{#field} is invalid",
+invalid_data_number:"{#field} must be a number",
+invalid_data_min:"{#field} must be a number greater than {#min}",
+invalid_data_size:"{#field} must be a number or percentage",
more_colors:"More colors"
},
+colors:{
+'000000':'Black',
+'993300':'Burnt orange',
+'333300':'Dark olive',
+'003300':'Dark green',
+'003366':'Dark azure',
+'000080':'Navy Blue',
+'333399':'Indigo',
+'333333':'Very dark gray',
+'800000':'Maroon',
+'FF6600':'Orange',
+'808000':'Olive',
+'008000':'Green',
+'008080':'Teal',
+'0000FF':'Blue',
+'666699':'Grayish blue',
+'808080':'Gray',
+'FF0000':'Red',
+'FF9900':'Amber',
+'99CC00':'Yellow green',
+'339966':'Sea green',
+'33CCCC':'Turquoise',
+'3366FF':'Royal blue',
+'800080':'Purple',
+'999999':'Medium gray',
+'FF00FF':'Magenta',
+'FFCC00':'Gold',
+'FFFF00':'Yellow',
+'00FF00':'Lime',
+'00FFFF':'Aqua',
+'00CCFF':'Sky blue',
+'993366':'Brown',
+'C0C0C0':'Silver',
+'FF99CC':'Pink',
+'FFCC99':'Peach',
+'FFFF99':'Light yellow',
+'CCFFCC':'Pale green',
+'CCFFFF':'Pale cyan',
+'99CCFF':'Light sky blue',
+'CC99FF':'Plum',
+'FFFFFF':'White'
+},
contextmenu:{
align:"Alignment",
left:"Left",
@@ -151,7 +196,8 @@ langs:"Languages",
wait:"Please wait...",
sug:"Suggestions",
no_sug:"No suggestions",
-no_mpell:"No misspellings found."
+no_mpell:"No misspellings found.",
+learn_word:"Learn word"
},
pagebreak:{
desc:"Insert page break."
@@ -167,4 +213,11 @@ upper_roman:"Upper roman",
circle:"Circle",
disc:"Disc",
square:"Square"
-}}});
\ No newline at end of file
+},
+aria:{
+rich_text_area:"Rich Text Area"
+},
+wordcount:{
+words: 'Words: '
+}
+}});
\ No newline at end of file
diff --git a/plugins/TinyMCE/js/plugins/advhr/langs/en_dlg.js b/plugins/TinyMCE/js/plugins/advhr/langs/en_dlg.js
index 873bfd8d38..ad6a7b6988 100644
--- a/plugins/TinyMCE/js/plugins/advhr/langs/en_dlg.js
+++ b/plugins/TinyMCE/js/plugins/advhr/langs/en_dlg.js
@@ -1,5 +1,7 @@
tinyMCE.addI18n('en.advhr_dlg',{
+normal:"Normal",
width:"Width",
+widthunits:"Units",
size:"Height",
noshade:"No shadow"
});
\ No newline at end of file
diff --git a/plugins/TinyMCE/js/plugins/advhr/rule.htm b/plugins/TinyMCE/js/plugins/advhr/rule.htm
index fc37b2aecd..843e1f8f0b 100644
--- a/plugins/TinyMCE/js/plugins/advhr/rule.htm
+++ b/plugins/TinyMCE/js/plugins/advhr/rule.htm
@@ -8,43 +8,44 @@
-
+
\n";h.foot="\n