diff options
Diffstat (limited to 'release/plugins/smiley')
45 files changed, 11 insertions, 0 deletions
diff --git a/release/plugins/smiley/dialogs/smiley.js b/release/plugins/smiley/dialogs/smiley.js new file mode 100644 index 00000000..83abda94 --- /dev/null +++ b/release/plugins/smiley/dialogs/smiley.js | |||
@@ -0,0 +1,11 @@ | |||
1 | /* | ||
2 | Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. | ||
3 | For licensing, see LICENSE.md or http://ckeditor.com/license | ||
4 | */ | ||
5 | CKEDITOR.dialog.add("smiley",function(f){for(var e=f.config,a=f.lang.smiley,h=e.smiley_images,g=e.smiley_columns||8,k,m=function(l){var c=l.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);k.hide();l.data.preventDefault()},q=CKEDITOR.tools.addFunction(function(a,c){a= | ||
6 | new CKEDITOR.dom.event(a);c=new CKEDITOR.dom.element(c);var 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:(b=c.getParent().getParent().getNext())&&(b=b.getChild([c.getParent().getIndex(),0]))&&b.focus();a.preventDefault();break;case 32:m({data:a});a.preventDefault();break;case d?37:39:if(b=c.getParent().getNext())b=b.getChild(0),b.focus(),a.preventDefault(!0); | ||
7 | 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=['\x3cdiv\x3e\x3cspan id\x3d"'+d+'" class\x3d"cke_voice_label"\x3e'+a.options+"\x3c/span\x3e",'\x3ctable role\x3d"listbox" aria-labelledby\x3d"'+ | ||
8 | d+'" style\x3d"width:100%;height:100%;border-collapse:separate;" cellspacing\x3d"2" cellpadding\x3d"2"',CKEDITOR.env.ie&&CKEDITOR.env.quirks?' style\x3d"position:absolute;"':"","\x3e\x3ctbody\x3e"],n=h.length,a=0;a<n;a++){0===a%g&&d.push('\x3ctr role\x3d"presentation"\x3e');var p="cke_smile_label_"+a+"_"+CKEDITOR.tools.getNextNumber();d.push('\x3ctd class\x3d"cke_dark_background cke_centered" style\x3d"vertical-align: middle;" role\x3d"presentation"\x3e\x3ca href\x3d"javascript:void(0)" role\x3d"option"', | ||
9 | ' aria-posinset\x3d"'+(a+1)+'"',' aria-setsize\x3d"'+n+'"',' aria-labelledby\x3d"'+p+'"',' class\x3d"cke_smile cke_hand" tabindex\x3d"-1" onkeydown\x3d"CKEDITOR.tools.callFunction( ',q,', event, this );"\x3e','\x3cimg class\x3d"cke_hand" title\x3d"',e.smiley_descriptions[a],'" cke_src\x3d"',CKEDITOR.tools.htmlEncode(e.smiley_path+h[a]),'" alt\x3d"',e.smiley_descriptions[a],'"',' src\x3d"',CKEDITOR.tools.htmlEncode(e.smiley_path+h[a]),'"',CKEDITOR.env.ie?" onload\x3d\"this.setAttribute('width', 2); this.removeAttribute('width');\" ": | ||
10 | "",'\x3e\x3cspan id\x3d"'+p+'" class\x3d"cke_voice_label"\x3e'+e.smiley_descriptions[a]+"\x3c/span\x3e\x3c/a\x3e","\x3c/td\x3e");a%g==g-1&&d.push("\x3c/tr\x3e")}if(a<g-1){for(;a<g-1;a++)d.push("\x3ctd\x3e\x3c/td\x3e");d.push("\x3c/tr\x3e")}d.push("\x3c/tbody\x3e\x3c/table\x3e\x3c/div\x3e");e={type:"html",id:"smileySelector",html:d.join(""),onLoad:function(a){k=a.sender},focus:function(){var a=this;setTimeout(function(){a.getElement().getElementsByTag("a").getItem(0).focus()},0)},onClick:m,style:"width: 100%; border-collapse: separate;"}; | ||
11 | 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/release/plugins/smiley/images/angel_smile.gif b/release/plugins/smiley/images/angel_smile.gif new file mode 100644 index 00000000..21f81a2f --- /dev/null +++ b/release/plugins/smiley/images/angel_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/angel_smile.png b/release/plugins/smiley/images/angel_smile.png new file mode 100644 index 00000000..559e5e71 --- /dev/null +++ b/release/plugins/smiley/images/angel_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/angry_smile.gif b/release/plugins/smiley/images/angry_smile.gif new file mode 100644 index 00000000..c912d99b --- /dev/null +++ b/release/plugins/smiley/images/angry_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/angry_smile.png b/release/plugins/smiley/images/angry_smile.png new file mode 100644 index 00000000..c05d2be3 --- /dev/null +++ b/release/plugins/smiley/images/angry_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/broken_heart.gif b/release/plugins/smiley/images/broken_heart.gif new file mode 100644 index 00000000..4162a7b2 --- /dev/null +++ b/release/plugins/smiley/images/broken_heart.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/broken_heart.png b/release/plugins/smiley/images/broken_heart.png new file mode 100644 index 00000000..a711c0d8 --- /dev/null +++ b/release/plugins/smiley/images/broken_heart.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/confused_smile.gif b/release/plugins/smiley/images/confused_smile.gif new file mode 100644 index 00000000..0e420cba --- /dev/null +++ b/release/plugins/smiley/images/confused_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/confused_smile.png b/release/plugins/smiley/images/confused_smile.png new file mode 100644 index 00000000..e0b8e5c6 --- /dev/null +++ b/release/plugins/smiley/images/confused_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/cry_smile.gif b/release/plugins/smiley/images/cry_smile.gif new file mode 100644 index 00000000..b5133427 --- /dev/null +++ b/release/plugins/smiley/images/cry_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/cry_smile.png b/release/plugins/smiley/images/cry_smile.png new file mode 100644 index 00000000..a1891a34 --- /dev/null +++ b/release/plugins/smiley/images/cry_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/devil_smile.gif b/release/plugins/smiley/images/devil_smile.gif new file mode 100644 index 00000000..9b2a1005 --- /dev/null +++ b/release/plugins/smiley/images/devil_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/devil_smile.png b/release/plugins/smiley/images/devil_smile.png new file mode 100644 index 00000000..53247a88 --- /dev/null +++ b/release/plugins/smiley/images/devil_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/embaressed_smile.gif b/release/plugins/smiley/images/embaressed_smile.gif new file mode 100644 index 00000000..8d39f252 --- /dev/null +++ b/release/plugins/smiley/images/embaressed_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/embarrassed_smile.gif b/release/plugins/smiley/images/embarrassed_smile.gif new file mode 100644 index 00000000..8d39f252 --- /dev/null +++ b/release/plugins/smiley/images/embarrassed_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/embarrassed_smile.png b/release/plugins/smiley/images/embarrassed_smile.png new file mode 100644 index 00000000..34904b66 --- /dev/null +++ b/release/plugins/smiley/images/embarrassed_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/envelope.gif b/release/plugins/smiley/images/envelope.gif new file mode 100644 index 00000000..5294ec48 --- /dev/null +++ b/release/plugins/smiley/images/envelope.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/envelope.png b/release/plugins/smiley/images/envelope.png new file mode 100644 index 00000000..44398ad1 --- /dev/null +++ b/release/plugins/smiley/images/envelope.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/heart.gif b/release/plugins/smiley/images/heart.gif new file mode 100644 index 00000000..160be8ef --- /dev/null +++ b/release/plugins/smiley/images/heart.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/heart.png b/release/plugins/smiley/images/heart.png new file mode 100644 index 00000000..df409e62 --- /dev/null +++ b/release/plugins/smiley/images/heart.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/kiss.gif b/release/plugins/smiley/images/kiss.gif new file mode 100644 index 00000000..ffb23db0 --- /dev/null +++ b/release/plugins/smiley/images/kiss.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/kiss.png b/release/plugins/smiley/images/kiss.png new file mode 100644 index 00000000..a4f2f363 --- /dev/null +++ b/release/plugins/smiley/images/kiss.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/lightbulb.gif b/release/plugins/smiley/images/lightbulb.gif new file mode 100644 index 00000000..ceb6e2d9 --- /dev/null +++ b/release/plugins/smiley/images/lightbulb.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/lightbulb.png b/release/plugins/smiley/images/lightbulb.png new file mode 100644 index 00000000..0c4a9240 --- /dev/null +++ b/release/plugins/smiley/images/lightbulb.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/omg_smile.gif b/release/plugins/smiley/images/omg_smile.gif new file mode 100644 index 00000000..3177355f --- /dev/null +++ b/release/plugins/smiley/images/omg_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/omg_smile.png b/release/plugins/smiley/images/omg_smile.png new file mode 100644 index 00000000..abc4e2d0 --- /dev/null +++ b/release/plugins/smiley/images/omg_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/regular_smile.gif b/release/plugins/smiley/images/regular_smile.gif new file mode 100644 index 00000000..fdcf5c33 --- /dev/null +++ b/release/plugins/smiley/images/regular_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/regular_smile.png b/release/plugins/smiley/images/regular_smile.png new file mode 100644 index 00000000..0f2649b7 --- /dev/null +++ b/release/plugins/smiley/images/regular_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/sad_smile.gif b/release/plugins/smiley/images/sad_smile.gif new file mode 100644 index 00000000..cca0729d --- /dev/null +++ b/release/plugins/smiley/images/sad_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/sad_smile.png b/release/plugins/smiley/images/sad_smile.png new file mode 100644 index 00000000..f20f3bf3 --- /dev/null +++ b/release/plugins/smiley/images/sad_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/shades_smile.gif b/release/plugins/smiley/images/shades_smile.gif new file mode 100644 index 00000000..7d93474c --- /dev/null +++ b/release/plugins/smiley/images/shades_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/shades_smile.png b/release/plugins/smiley/images/shades_smile.png new file mode 100644 index 00000000..fdaa28b7 --- /dev/null +++ b/release/plugins/smiley/images/shades_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/teeth_smile.gif b/release/plugins/smiley/images/teeth_smile.gif new file mode 100644 index 00000000..44c37996 --- /dev/null +++ b/release/plugins/smiley/images/teeth_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/teeth_smile.png b/release/plugins/smiley/images/teeth_smile.png new file mode 100644 index 00000000..5e63785e --- /dev/null +++ b/release/plugins/smiley/images/teeth_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/thumbs_down.gif b/release/plugins/smiley/images/thumbs_down.gif new file mode 100644 index 00000000..5c8bee30 --- /dev/null +++ b/release/plugins/smiley/images/thumbs_down.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/thumbs_down.png b/release/plugins/smiley/images/thumbs_down.png new file mode 100644 index 00000000..1823481f --- /dev/null +++ b/release/plugins/smiley/images/thumbs_down.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/thumbs_up.gif b/release/plugins/smiley/images/thumbs_up.gif new file mode 100644 index 00000000..9cc37029 --- /dev/null +++ b/release/plugins/smiley/images/thumbs_up.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/thumbs_up.png b/release/plugins/smiley/images/thumbs_up.png new file mode 100644 index 00000000..d4e8b22a --- /dev/null +++ b/release/plugins/smiley/images/thumbs_up.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/tongue_smile.gif b/release/plugins/smiley/images/tongue_smile.gif new file mode 100644 index 00000000..81e05b0f --- /dev/null +++ b/release/plugins/smiley/images/tongue_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/tongue_smile.png b/release/plugins/smiley/images/tongue_smile.png new file mode 100644 index 00000000..56553fbe --- /dev/null +++ b/release/plugins/smiley/images/tongue_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/tounge_smile.gif b/release/plugins/smiley/images/tounge_smile.gif new file mode 100644 index 00000000..81e05b0f --- /dev/null +++ b/release/plugins/smiley/images/tounge_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/whatchutalkingabout_smile.gif b/release/plugins/smiley/images/whatchutalkingabout_smile.gif new file mode 100644 index 00000000..eef4fc00 --- /dev/null +++ b/release/plugins/smiley/images/whatchutalkingabout_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/whatchutalkingabout_smile.png b/release/plugins/smiley/images/whatchutalkingabout_smile.png new file mode 100644 index 00000000..f9714d1b --- /dev/null +++ b/release/plugins/smiley/images/whatchutalkingabout_smile.png | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/wink_smile.gif b/release/plugins/smiley/images/wink_smile.gif new file mode 100644 index 00000000..6d3d64bd --- /dev/null +++ b/release/plugins/smiley/images/wink_smile.gif | |||
Binary files differ | |||
diff --git a/release/plugins/smiley/images/wink_smile.png b/release/plugins/smiley/images/wink_smile.png new file mode 100644 index 00000000..7c99c3fc --- /dev/null +++ b/release/plugins/smiley/images/wink_smile.png | |||
Binary files differ | |||