From 2b9bbaf893a46eda004d43ab93500deb7874072a Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 3 Jun 2013 21:12:55 -0700 Subject: upgrade fckeditor to ckeditor, for IE10 compatibility, RT#22014 --- .../elements/ckeditor/plugins/smiley/dialogs/smiley.js | 10 ++++++++++ .../ckeditor/plugins/smiley/images/angel_smile.gif | Bin 0 -> 465 bytes .../ckeditor/plugins/smiley/images/angry_smile.gif | Bin 0 -> 443 bytes .../ckeditor/plugins/smiley/images/broken_heart.gif | Bin 0 -> 192 bytes .../ckeditor/plugins/smiley/images/confused_smile.gif | Bin 0 -> 464 bytes .../elements/ckeditor/plugins/smiley/images/cry_smile.gif | Bin 0 -> 468 bytes .../ckeditor/plugins/smiley/images/devil_smile.gif | Bin 0 -> 436 bytes .../ckeditor/plugins/smiley/images/embaressed_smile.gif | Bin 0 -> 442 bytes .../ckeditor/plugins/smiley/images/embarrassed_smile.gif | Bin 0 -> 442 bytes .../elements/ckeditor/plugins/smiley/images/envelope.gif | Bin 0 -> 426 bytes .../elements/ckeditor/plugins/smiley/images/heart.gif | Bin 0 -> 183 bytes .../elements/ckeditor/plugins/smiley/images/kiss.gif | Bin 0 -> 241 bytes .../elements/ckeditor/plugins/smiley/images/lightbulb.gif | Bin 0 -> 368 bytes .../elements/ckeditor/plugins/smiley/images/omg_smile.gif | Bin 0 -> 451 bytes .../ckeditor/plugins/smiley/images/regular_smile.gif | Bin 0 -> 450 bytes .../elements/ckeditor/plugins/smiley/images/sad_smile.gif | Bin 0 -> 460 bytes .../ckeditor/plugins/smiley/images/shades_smile.gif | Bin 0 -> 449 bytes .../ckeditor/plugins/smiley/images/teeth_smile.gif | Bin 0 -> 442 bytes .../ckeditor/plugins/smiley/images/thumbs_down.gif | Bin 0 -> 408 bytes .../elements/ckeditor/plugins/smiley/images/thumbs_up.gif | Bin 0 -> 396 bytes .../ckeditor/plugins/smiley/images/tongue_smile.gif | Bin 0 -> 446 bytes .../ckeditor/plugins/smiley/images/tounge_smile.gif | Bin 0 -> 446 bytes .../plugins/smiley/images/whatchutalkingabout_smile.gif | Bin 0 -> 452 bytes .../ckeditor/plugins/smiley/images/wink_smile.gif | Bin 0 -> 458 bytes 24 files changed, 10 insertions(+) create mode 100644 httemplate/elements/ckeditor/plugins/smiley/dialogs/smiley.js create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/angel_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/angry_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/broken_heart.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/confused_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/cry_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/devil_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/embaressed_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/embarrassed_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/envelope.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/heart.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/kiss.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/lightbulb.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/omg_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/regular_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/sad_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/shades_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/teeth_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/thumbs_down.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/thumbs_up.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/tongue_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/tounge_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif create mode 100644 httemplate/elements/ckeditor/plugins/smiley/images/wink_smile.gif (limited to 'httemplate/elements/ckeditor/plugins/smiley') diff --git a/httemplate/elements/ckeditor/plugins/smiley/dialogs/smiley.js b/httemplate/elements/ckeditor/plugins/smiley/dialogs/smiley.js new file mode 100644 index 000000000..21ab252d3 --- /dev/null +++ b/httemplate/elements/ckeditor/plugins/smiley/dialogs/smiley.js @@ -0,0 +1,10 @@ +/* + Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. + For licensing, see LICENSE.html or http://ckeditor.com/license +*/ +CKEDITOR.dialog.add("smiley",function(f){for(var e=f.config,a=f.lang.smiley,h=e.smiley_images,g=e.smiley_columns||8,i,k=function(j){var c=j.data.getTarget(),b=c.getName();if("a"==b)c=c.getChild(0);else if("img"!=b)return;var b=c.getAttribute("cke_src"),a=c.getAttribute("title"),c=f.document.createElement("img",{attributes:{src:b,"data-cke-saved-src":b,title:a,alt:a,width:c.$.width,height:c.$.height}});f.insertElement(c);i.hide();j.data.preventDefault()},n=CKEDITOR.tools.addFunction(function(a,c){var a= +new CKEDITOR.dom.event(a),c=new CKEDITOR.dom.element(c),b;b=a.getKeystroke();var d="rtl"==f.lang.dir;switch(b){case 38:if(b=c.getParent().getParent().getPrevious())b=b.getChild([c.getParent().getIndex(),0]),b.focus();a.preventDefault();break;case 40:if(b=c.getParent().getParent().getNext())(b=b.getChild([c.getParent().getIndex(),0]))&&b.focus();a.preventDefault();break;case 32:k({data:a});a.preventDefault();break;case d?37:39:if(b=c.getParent().getNext())b=b.getChild(0),b.focus(),a.preventDefault(!0); +else if(b=c.getParent().getParent().getNext())(b=b.getChild([0,0]))&&b.focus(),a.preventDefault(!0);break;case d?39:37:if(b=c.getParent().getPrevious())b=b.getChild(0),b.focus(),a.preventDefault(!0);else if(b=c.getParent().getParent().getPrevious())b=b.getLast().getChild(0),b.focus(),a.preventDefault(!0)}}),d=CKEDITOR.tools.getNextId()+"_smiley_emtions_label",d=['
'+a.options+"",'"],l=h.length,a=0;a');var m="cke_smile_label_"+a+"_"+CKEDITOR.tools.getNextNumber();d.push('");a%g==g-1&&d.push("")}if(a");d.push("")}d.push("
"); +e={type:"html",id:"smileySelector",html:d.join(""),onLoad:function(a){i=a.sender},focus:function(){var a=this;setTimeout(function(){a.getElement().getElementsByTag("a").getItem(0).focus()},0)},onClick:k,style:"width: 100%; border-collapse: separate;"};return{title:f.lang.smiley.title,minWidth:270,minHeight:120,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[e]}],buttons:[CKEDITOR.dialog.cancelButton]}}); \ No newline at end of file diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/angel_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/angel_smile.gif new file mode 100644 index 000000000..2cf489475 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/angel_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/angry_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/angry_smile.gif new file mode 100644 index 000000000..40b52d3a7 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/angry_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/broken_heart.gif b/httemplate/elements/ckeditor/plugins/smiley/images/broken_heart.gif new file mode 100644 index 000000000..b6d0166a4 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/broken_heart.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/confused_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/confused_smile.gif new file mode 100644 index 000000000..a52db7a4e Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/confused_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/cry_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/cry_smile.gif new file mode 100644 index 000000000..1ef6ba4fb Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/cry_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/devil_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/devil_smile.gif new file mode 100644 index 000000000..bfb25077d Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/devil_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/embaressed_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/embaressed_smile.gif new file mode 100644 index 000000000..d9cedc56b Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/embaressed_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/embarrassed_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/embarrassed_smile.gif new file mode 100644 index 000000000..d9cedc56b Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/embarrassed_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/envelope.gif b/httemplate/elements/ckeditor/plugins/smiley/images/envelope.gif new file mode 100644 index 000000000..94e0b1fa5 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/envelope.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/heart.gif b/httemplate/elements/ckeditor/plugins/smiley/images/heart.gif new file mode 100644 index 000000000..680ae2fc1 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/heart.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/kiss.gif b/httemplate/elements/ckeditor/plugins/smiley/images/kiss.gif new file mode 100644 index 000000000..70e525514 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/kiss.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/lightbulb.gif b/httemplate/elements/ckeditor/plugins/smiley/images/lightbulb.gif new file mode 100644 index 000000000..d44c2ffe6 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/lightbulb.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/omg_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/omg_smile.gif new file mode 100644 index 000000000..ab7ea6996 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/omg_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/regular_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/regular_smile.gif new file mode 100644 index 000000000..e5bc34be3 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/regular_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/sad_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/sad_smile.gif new file mode 100644 index 000000000..ae4cf1e35 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/sad_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/shades_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/shades_smile.gif new file mode 100644 index 000000000..b45401750 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/shades_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/teeth_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/teeth_smile.gif new file mode 100644 index 000000000..7d734d154 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/teeth_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_down.gif b/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_down.gif new file mode 100644 index 000000000..90b9978c0 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_down.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_up.gif b/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_up.gif new file mode 100644 index 000000000..b6332848d Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/thumbs_up.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/tongue_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/tongue_smile.gif new file mode 100644 index 000000000..b2e657fa3 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/tongue_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/tounge_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/tounge_smile.gif new file mode 100644 index 000000000..b2e657fa3 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/tounge_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif new file mode 100644 index 000000000..77098821c Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif differ diff --git a/httemplate/elements/ckeditor/plugins/smiley/images/wink_smile.gif b/httemplate/elements/ckeditor/plugins/smiley/images/wink_smile.gif new file mode 100644 index 000000000..b21029548 Binary files /dev/null and b/httemplate/elements/ckeditor/plugins/smiley/images/wink_smile.gif differ -- cgit v1.2.1