Index: lams_central/web/fckeditor/editor/plugins/paint/FCK Paint.swf
===================================================================
diff -u
Binary files differ
Index: lams_central/web/fckeditor/editor/plugins/paint/content.html
===================================================================
diff -u
--- lams_central/web/fckeditor/editor/plugins/paint/content.html (revision 0)
+++ lams_central/web/fckeditor/editor/plugins/paint/content.html (revision bcd8fa50f3eba54b354ef803f82a71a68fa36f27)
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
Index: lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js
===================================================================
diff -u
--- lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js (revision 0)
+++ lams_central/web/fckeditor/editor/plugins/paint/fckplugin.js (revision bcd8fa50f3eba54b354ef803f82a71a68fa36f27)
@@ -0,0 +1,19 @@
+FCKCommands.RegisterCommand( 'Paint canvas' , new FCKDialogCommand( FCKLang.Paint.DialogName , FCKLang.Paint.DialogTitle , FCKConfig.PluginsPath + 'paint/content.html' , 852, 610 ) ) ;
+
+var oPaintItem = new FCKToolbarButton( 'Paint canvas', FCKLang.Paint.Button ) ;
+oPaintItem.IconPath = FCKConfig.PluginsPath + 'paint/icon.png';
+
+FCKToolbarItems.RegisterItem( 'Paint_Button', oPaintItem ) ;
+
+var PaintCommand = new Object();
+PaintCommand.Add=function(source) {
+ FCK.InsertHtml('
');
+ FCK.Focus();
+}
+PaintCommand.startingImage = "";
+PaintCommand.OnDoubleClick = function( image )
+{
+ PaintCommand.startingImage = image.src;
+ FCKCommands.GetCommand('Paint canvas').Execute();
+}
+FCK.RegisterDoubleClickHandler( PaintCommand.OnDoubleClick, 'IMG' ) ;
\ No newline at end of file
Index: lams_central/web/fckeditor/editor/plugins/paint/icon.png
===================================================================
diff -u
Binary files differ
Index: lams_central/web/fckeditor/editor/plugins/paint/lang/en.js
===================================================================
diff -u
--- lams_central/web/fckeditor/editor/plugins/paint/lang/en.js (revision 0)
+++ lams_central/web/fckeditor/editor/plugins/paint/lang/en.js (revision bcd8fa50f3eba54b354ef803f82a71a68fa36f27)
@@ -0,0 +1,23 @@
+FCKLang.Paint = new Object();
+FCKLang.Paint.DialogTitle = 'Create your own painting';
+FCKLang.Paint.DialogName = 'Paint dialog window';
+FCKLang.Paint.Button = 'Paint images';
+
+FCKLang.Paint.Flash = new Object();
+FCKLang.Paint.Flash.reset = "Reset";
+FCKLang.Paint.Flash.reset_question = "Really clear the whole screen?";
+FCKLang.Paint.Flash.yes = "Yes";
+FCKLang.Paint.Flash.no = "No";
+FCKLang.Paint.Flash.done = "Done";
+FCKLang.Paint.Flash.lines = "Lines";
+FCKLang.Paint.Flash.shapes = "Shapes";
+FCKLang.Paint.Flash.paint = "Paint";
+FCKLang.Paint.Flash.text = "Text";
+FCKLang.Paint.Flash.line_options = "Line thickness and color";
+FCKLang.Paint.Flash.fill_options = "Fill color";
+FCKLang.Paint.Flash.perfect_shape_options = "Number of sides";
+FCKLang.Paint.Flash.brush_options_shape = "Brush shape";
+FCKLang.Paint.Flash.brush_options_size = "Brush size";
+FCKLang.Paint.Flash.words_options = "Text size and color";
+FCKLang.Paint.Flash.fill = "Use fill";
+FCKLang.Paint.Flash.border = "Draw border";
\ No newline at end of file
Index: lams_central/web/fckeditor/editor/plugins/paint/swfobject.js
===================================================================
diff -u
--- lams_central/web/fckeditor/editor/plugins/paint/swfobject.js (revision 0)
+++ lams_central/web/fckeditor/editor/plugins/paint/swfobject.js (revision bcd8fa50f3eba54b354ef803f82a71a68fa36f27)
@@ -0,0 +1,5 @@
+/* SWFObject v2.1
+ Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van der Sluis
+ This software is released under the MIT License
+*/
+var swfobject=function(){var b="undefined",Q="object",n="Shockwave Flash",p="ShockwaveFlash.ShockwaveFlash",P="application/x-shockwave-flash",m="SWFObjectExprInst",j=window,K=document,T=navigator,o=[],N=[],i=[],d=[],J,Z=null,M=null,l=null,e=false,A=false;var h=function(){var v=typeof K.getElementById!=b&&typeof K.getElementsByTagName!=b&&typeof K.createElement!=b,AC=[0,0,0],x=null;if(typeof T.plugins!=b&&typeof T.plugins[n]==Q){x=T.plugins[n].description;if(x&&!(typeof T.mimeTypes!=b&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=x.replace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=parseInt(x.replace(/^(.*)\..*$/,"$1"),10);AC[1]=parseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=/r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof j.ActiveXObject!=b){var y=null,AB=false;try{y=new ActiveXObject(p+".7")}catch(t){try{y=new ActiveXObject(p+".6");AC=[6,0,21];y.AllowScriptAccess="always"}catch(t){if(AC[0]==6){AB=true}}if(!AB){try{y=new ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=y.GetVariable("$version");if(x){x=x.split(" ")[1].split(",");AC=[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],10)]}}catch(t){}}}}var AD=T.userAgent.toLowerCase(),r=T.platform.toLowerCase(),AA=/webkit/.test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,q=false,z=r?/win/.test(r):/win/.test(AD),w=r?/mac/.test(r):/mac/.test(AD);/*@cc_on q=true;@if(@_win32)z=true;@elif(@_mac)w=true;@end@*/return{w3cdom:v,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var L=function(){if(!h.w3cdom){return }f(H);if(h.ie&&h.win){try{K.write("