From cd420f3c01b659b8799d63920bc993195f1ae92e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 Apr 2011 23:05:30 +0000 Subject: [PATCH] New: A filemanager is now working inside ckeditor --- .../browser/default/browser.css | 87 +++++ .../browser/default/browser.html | 200 +++++++++++ .../browser/default/frmactualfolder.html | 95 ++++++ .../browser/default/frmcreatefolder.html | 114 +++++++ .../browser/default/frmfolders.html | 198 +++++++++++ .../browser/default/frmresourceslist.html | 183 ++++++++++ .../browser/default/frmresourcetype.html | 69 ++++ .../browser/default/frmupload.html | 115 +++++++ .../browser/default/images/ButtonArrow.gif | Bin 0 -> 138 bytes .../browser/default/images/Folder.gif | Bin 0 -> 128 bytes .../browser/default/images/Folder32.gif | Bin 0 -> 281 bytes .../browser/default/images/FolderOpened.gif | Bin 0 -> 132 bytes .../browser/default/images/FolderOpened32.gif | Bin 0 -> 264 bytes .../browser/default/images/FolderUp.gif | Bin 0 -> 132 bytes .../browser/default/images/icons/32/ai.gif | Bin 0 -> 1140 bytes .../browser/default/images/icons/32/avi.gif | Bin 0 -> 454 bytes .../browser/default/images/icons/32/bmp.gif | Bin 0 -> 709 bytes .../browser/default/images/icons/32/cs.gif | Bin 0 -> 224 bytes .../default/images/icons/32/default.icon.gif | Bin 0 -> 177 bytes .../browser/default/images/icons/32/dll.gif | Bin 0 -> 258 bytes .../browser/default/images/icons/32/doc.gif | Bin 0 -> 260 bytes .../browser/default/images/icons/32/exe.gif | Bin 0 -> 170 bytes .../browser/default/images/icons/32/fla.gif | Bin 0 -> 946 bytes .../browser/default/images/icons/32/gif.gif | Bin 0 -> 704 bytes .../browser/default/images/icons/32/htm.gif | Bin 0 -> 1527 bytes .../browser/default/images/icons/32/html.gif | Bin 0 -> 1527 bytes .../browser/default/images/icons/32/jpg.gif | Bin 0 -> 463 bytes .../browser/default/images/icons/32/js.gif | Bin 0 -> 274 bytes .../browser/default/images/icons/32/mdb.gif | Bin 0 -> 274 bytes .../browser/default/images/icons/32/mp3.gif | Bin 0 -> 454 bytes .../browser/default/images/icons/32/pdf.gif | Bin 0 -> 567 bytes .../browser/default/images/icons/32/png.gif | Bin 0 -> 464 bytes .../browser/default/images/icons/32/ppt.gif | Bin 0 -> 254 bytes .../browser/default/images/icons/32/rdp.gif | Bin 0 -> 1493 bytes .../browser/default/images/icons/32/swf.gif | Bin 0 -> 725 bytes .../browser/default/images/icons/32/swt.gif | Bin 0 -> 724 bytes .../browser/default/images/icons/32/txt.gif | Bin 0 -> 213 bytes .../browser/default/images/icons/32/vsd.gif | Bin 0 -> 277 bytes .../browser/default/images/icons/32/xls.gif | Bin 0 -> 271 bytes .../browser/default/images/icons/32/xml.gif | Bin 0 -> 408 bytes .../browser/default/images/icons/32/zip.gif | Bin 0 -> 368 bytes .../browser/default/images/icons/ai.gif | Bin 0 -> 403 bytes .../browser/default/images/icons/avi.gif | Bin 0 -> 249 bytes .../browser/default/images/icons/bmp.gif | Bin 0 -> 126 bytes .../browser/default/images/icons/cs.gif | Bin 0 -> 128 bytes .../default/images/icons/default.icon.gif | Bin 0 -> 113 bytes .../browser/default/images/icons/dll.gif | Bin 0 -> 132 bytes .../browser/default/images/icons/doc.gif | Bin 0 -> 140 bytes .../browser/default/images/icons/exe.gif | Bin 0 -> 109 bytes .../browser/default/images/icons/fla.gif | Bin 0 -> 382 bytes .../browser/default/images/icons/gif.gif | Bin 0 -> 125 bytes .../browser/default/images/icons/htm.gif | Bin 0 -> 621 bytes .../browser/default/images/icons/html.gif | Bin 0 -> 621 bytes .../browser/default/images/icons/jpg.gif | Bin 0 -> 125 bytes .../browser/default/images/icons/js.gif | Bin 0 -> 139 bytes .../browser/default/images/icons/mdb.gif | Bin 0 -> 146 bytes .../browser/default/images/icons/mp3.gif | Bin 0 -> 249 bytes .../browser/default/images/icons/pdf.gif | Bin 0 -> 230 bytes .../browser/default/images/icons/png.gif | Bin 0 -> 125 bytes .../browser/default/images/icons/ppt.gif | Bin 0 -> 139 bytes .../browser/default/images/icons/rdp.gif | Bin 0 -> 606 bytes .../browser/default/images/icons/swf.gif | Bin 0 -> 388 bytes .../browser/default/images/icons/swt.gif | Bin 0 -> 388 bytes .../browser/default/images/icons/txt.gif | Bin 0 -> 122 bytes .../browser/default/images/icons/vsd.gif | Bin 0 -> 136 bytes .../browser/default/images/icons/xls.gif | Bin 0 -> 138 bytes .../browser/default/images/icons/xml.gif | Bin 0 -> 231 bytes .../browser/default/images/icons/zip.gif | Bin 0 -> 235 bytes .../browser/default/images/spacer.gif | Bin 0 -> 43 bytes .../browser/default/js/common.js | 88 +++++ .../browser/default/js/fckxml.js | 147 ++++++++ .../filemanagerdol/connectors/php/basexml.php | 99 ++++++ .../connectors/php/commands.php | 299 ++++++++++++++++ .../filemanagerdol/connectors/php/config.php | 170 ++++++++++ .../connectors/php/connector.php | 87 +++++ .../filemanagerdol/connectors/php/io.php | 320 ++++++++++++++++++ .../connectors/php/phpcompat.php | 17 + .../filemanagerdol/connectors/php/upload.php | 67 ++++ .../filemanagerdol/connectors/php/util.php | 220 ++++++++++++ .../filemanagerdol/connectors/test.html | 210 ++++++++++++ .../filemanagerdol/connectors/uploadtest.html | 192 +++++++++++ htdocs/lib/doleditor.class.php | 9 +- 82 files changed, 2982 insertions(+), 4 deletions(-) create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.css create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmactualfolder.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmcreatefolder.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmfolders.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourceslist.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourcetype.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmupload.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/ButtonArrow.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/Folder.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/Folder32.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened32.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderUp.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/ai.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/avi.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/bmp.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/cs.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/default.icon.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/dll.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/doc.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/exe.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/fla.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/gif.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/htm.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/html.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/jpg.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/js.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/mdb.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/mp3.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/pdf.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/png.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/ppt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/rdp.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swf.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/txt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/vsd.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xls.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xml.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/zip.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/ai.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/avi.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/bmp.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/cs.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/default.icon.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/dll.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/doc.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/exe.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/fla.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/gif.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/htm.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/html.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/jpg.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/js.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/mdb.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/mp3.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/pdf.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/png.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/ppt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/rdp.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/swf.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/swt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/txt.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/vsd.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xls.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xml.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/zip.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/spacer.gif create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/js/common.js create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/js/fckxml.js create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/basexml.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/commands.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/config.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/io.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/phpcompat.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/upload.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/util.php create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/test.html create mode 100755 htdocs/includes/fckeditor/editor/filemanagerdol/connectors/uploadtest.html diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.css b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.css new file mode 100755 index 00000000000..4a0003cf3fd --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.css @@ -0,0 +1,87 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2010 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * CSS styles used by all pages that compose the File Browser. + */ + +body +{ + background-color: #f1f1e3; + margin-top:0; + margin-bottom:0; +} + +form +{ + margin: 0; + padding: 0; +} + +.Frame +{ + background-color: #f1f1e3; + border: thin inset #f1f1e3; +} + +body.FileArea +{ + background-color: #ffffff; + margin: 10px; +} + +body, td, input, select +{ + font-size: 11px; + font-family: 'Microsoft Sans Serif' , Arial, Helvetica, Verdana; +} + +.ActualFolder +{ + font-weight: bold; + font-size: 14px; +} + +.PopupButtons +{ + border-top: #d5d59d 1px solid; + background-color: #e3e3c7; + padding: 7px 10px 7px 10px; +} + +.Button, button +{ + color: #3b3b3b; + border: #939393 1px solid; + background-color: #dedede; +} + +.FolderListCurrentFolder img +{ + background-image: url(images/FolderOpened.gif); +} + +.FolderListFolder img +{ + background-image: url(images/Folder.gif); +} + +.fullHeight { + height: 100%; +} diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html new file mode 100755 index 00000000000..d5e773b05a0 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html @@ -0,0 +1,200 @@ + + + + + FCKeditor - Resources Browser + + + + + + + + + + + + + + + + + + + + + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmactualfolder.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmactualfolder.html new file mode 100755 index 00000000000..dc1f517a65a --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmactualfolder.html @@ -0,0 +1,95 @@ + + + + + Folder path + + + + + + + + + +
+ +
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmcreatefolder.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmcreatefolder.html new file mode 100755 index 00000000000..390eb49bca0 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmcreatefolder.html @@ -0,0 +1,114 @@ + + + + + Create Folder + + + + + + + + + + +
+ +
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmfolders.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmfolders.html new file mode 100755 index 00000000000..d4b3b3d3976 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmfolders.html @@ -0,0 +1,198 @@ + + + + + Folders + + + + + + + + + + + +
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourceslist.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourceslist.html new file mode 100755 index 00000000000..9feb9e03f34 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourceslist.html @@ -0,0 +1,183 @@ + + + + + Resources + + + + + + + + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourcetype.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourcetype.html new file mode 100755 index 00000000000..e918f9fb4e5 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmresourcetype.html @@ -0,0 +1,69 @@ + + + + + Available types + + + + + + + + + + +
+ Resource Type
+ +
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmupload.html b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmupload.html new file mode 100755 index 00000000000..e840c0a9e5a --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/frmupload.html @@ -0,0 +1,115 @@ + + + + + File Upload + + + + + + +
+ + + + +
+ Upload a new file in this folder
+ + + + + +
 
+
+
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/ButtonArrow.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/ButtonArrow.gif new file mode 100755 index 0000000000000000000000000000000000000000..a355e5a449014d40f6e686aec027356b9e72c626 GIT binary patch literal 138 zcmZ?wbhEHb?doRyP?sz1@R%qk?NW&|^ p|eTtnS=Y)v`XcZE0Wm%(S+{n>TgunLDTH*uh2T&!5`4%$c3C%y;hIyZ_+f R9g8PVpFMx^^0^>`H30UMeqjIr literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened.gif new file mode 100755 index 0000000000000000000000000000000000000000..0c5dd413efe52ef8df245c62d38abd3fb5531faf GIT binary patch literal 132 zcmZ?wbhEHb6krfwSj5I~?p*T!b93g*Vfg=l&j0`a85n>J5UKc+g^_`QjX?*<2C5Wb zU|{yl*mXxoV3&KA=w%M0D)qo6IdPeS4hsuYt(PRqFy=dMJ1DS(;Y^uj?AqnKDvKH$ h4uqvBmU_;}`s(90J$U9C1Ji>22?c3Bc`6JH)&Op|Ft`8! literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened32.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderOpened32.gif new file mode 100755 index 0000000000000000000000000000000000000000..3e3fcf56cc471cb8f44c5edb5f23407f120b75a9 GIT binary patch literal 264 zcmV+j0r&n#Nk%w1VITk?0HOx~fPet_`1s7sW&i*HnVA6p%$fiHng9R)A^8LW000L7 zEC2ui03ZM$000Bcc)HyFFv{78y_ZT7y6*y^J)B{lXE-t?>Kf|WzJ*zbST3@`>l>e7 zXTYP`jx|Fqxg-!3v!5%8G&mPg=26MzE|piEc$^ay3Qmr2&HfAsp|@13xD0Kw@Z;yk4lxJy}TbYwv1&v{IeS%6~q)(8cfvHH9 z1FWAXijuHrXtPjLUZ*y?s=NoSsJ^hlX9AX3p}@()!dFnYxLu3VoKMAM-ecScv*YCD O=I1Nv>g((j2>?5Tf_QiU literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderUp.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/FolderUp.gif new file mode 100755 index 0000000000000000000000000000000000000000..ad5bc202670bfa12195e767c28050b236089e940 GIT binary patch literal 132 zcmV-~0DJ#ONk%w1VGsZi0HOx~_xJbz|IYu;oSd8h&dy{1|C|5-0RR90A^8LW000L7 zEC2ui01yBW0009?c)Hv>5E}PD2&Iha2KgWnMapoU=v5GtnPtYC3GCs*Ml2M2edj

h0KmVcuWJD*FM9~M9v0;0gPtyf2D4lb<@_VjwB*Bz)~b>#zfjC@IsD5w|Oidff-V#g8}2kNqXb| z3*=vg3;-`U_%`_V2~bM`Zz#+RT^Sx39b;sQ1LKpSLm`J&E4zlMTrP)fis|!OD8)8jZh1;Bx0l-= z|5olUpD))!On*&71F@oVS4HgTQTv+9Iq!CAXG00xRC*#ce9p0;gBC#?#*V6(fm&gZ6(iJ-?<*$cbd*Pk~-cu8ti%)$w~m zF}hZExT5MvJfM2lQ43BrJ}jtiY)z1z1`ujO>Tf(rd_j!es+s?@v3Z@+H#wzy1)VN~ z@>^29db%?9H2l8(hXn%^4iv!}88EbHo(0)mmo&(%=?eP|btA=e;a;G2Q0DP z{-2wtWFHm{1TQkUDOA}p5{MVR_NXWH$j~Q!`r_`FL9mV*0)_R8X_@LhsNeFX+sNR+ zSfg*(_dLbjNJHJs(*8ZS&&0=-PQx#BQM^m*xk9gs-%qS znBFlNEK&BnY6)r2oZVd1)G6?=(lHPMAXN*g^vz7X7pY-0Z6&Aw2(%UNZ;9`9D~)47 zrrC(Kl^)sZ>YQrb0&SZ5`MJ2}gUe;0&|w@Y2TdTqQnY+2%QP)b0SNt_6c z?vCNb#g{jS zqzS1F7Yi`j+&oF3vk@0`c_AlBY-{D z_{yQ;#4A33CbnP$uv<4j5!vO4<#7+FSQ$k_Zp>IRAV4-*NE~_OF;=T}DqVd0X!Bwp wStD5{bcIq>&_CW_%>cTRhtqE{M<8rT)nil z!>wDl1_cGpIX9=cxY)_bDS6JhrAwC@0;zN7lIJ9Qd3jyCc5Tj_ImyXD;@rJ^_ma;g z8yY5`d;cG#;{UlRQ>F+A2pqe249Ed0F-%To`2XJ!Xvn$mii(QIjvZ@hX<_)!zyK8e z52b({B7x#h7DfgJLk1m?dXS$O*!~}wQ6SMQ*?%Hs(g~SEVHZ}EoNC$|w?XZ5<=d*g ztFz3tLuQ?K`?%vx*6#ZsEPVF1?cDu#wReB{`LnL&mDMf!E$w>6I^8|>%FP4+RFsZbl(HUW2zRj7*mpIc#(i7%CXAa&G$1 zb$HJi?&sBSc@@$XSXf!41ycM4mR3*HJEyr}!-dTZEo^K(lB@3>s9p2_-O+~A4J>>T HEDY8FY?%te literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/cs.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/cs.gif new file mode 100755 index 0000000000000000000000000000000000000000..b62bd026061c32a9c6e5e0b7bb0f63f29e2b3dff GIT binary patch literal 224 zcmZ?wbhEHbRA5kGSj5J_(8AEt(sJzBF^2yPK=2<7fDFZ-EQ|~cYz#UeQIJ{&=A{`~ z7yn&Y>lvzH@j8}i<%6w^G1qDysAQ$w*7Cw zb)JWJSY*qv{Jo}@*85%ep#_^mxz@^Ek!v|my$+pkc#iYHgR|<)Hv*145}Xzy*?#uy zW+72u^}VkibX`f?;iJ!XMxcLs>SwXJYbV{lxV?&3^z_y8;(O=jz293O)tFaX(OQ+m V(AC}3+t;1pIBD{fscM`I)&R&*NlyR( literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/dll.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/dll.gif new file mode 100755 index 0000000000000000000000000000000000000000..9b54964576b86bdff354807f15bf8d7b45c26a87 GIT binary patch literal 258 zcmZ?wbhEHbRA5kGSj5KA(!y};*s+$DmjC}5fZ#tE02zuuSr{1@*cfy`q9C;l%*Qjd z?)>vVsp-1YB3p;!?=`iwp6{W_Q5=rtdap9Js!4P!*0z~@{&9%b7hSQiZSf+3>%l=4 zbC?{xRHYJ^JbD!_YN>wVRmm#fINl3>={^y&r(Zh2+A*{0{Dp5OF3+;}xtHpSu`tBg zGna`sL=;C?F*CGG>|*W7kZQMY%L(e5o+#PMJTG{P!~)G$mL+Rfuc**k!@v;4&?&i6 zd2`3?whaZ+?fYX6_}i99@A5dc@yywS=ck>!bS&ZO&I-occkbT1e<$7H@sp>|OgR~> E0d_=epa1{> literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/doc.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/doc.gif new file mode 100755 index 0000000000000000000000000000000000000000..b557568b3d1ca19f9520b38a4c74de4e4abe0301 GIT binary patch literal 260 zcmZ?wbhEHbRA5kGSj5WE($aG5*f9o%{|rD320#W7DE?$&WME)r&;fBkY8jYMM(kq! zXJF^1sbKNi_rQt=M|)>{Hf)}-F6;CphX;mvXV)1h&Uf|7+UJv?arlkMs(3X`m9CP_ zv)3+@oW^!z&6Ep|?ycG7>(EguSdif;%5!b$-mI&xN9DLr?#s-QF^TF-@eHzvD|N|b zOf4v2R;u;NYnoIoQPMuWEU$95PkPn_w-&EyGa42)SIuA0xw3g_dy3)$ug*<%>t}2f z_1`SBb+_-1>AS@Cs_Z|y`tZVS$C7M#_MAI&;Bx2%Zo@;jPiRElfABCu;mOly&tE8T HGFSruuDNnD literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/exe.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/exe.gif new file mode 100755 index 0000000000000000000000000000000000000000..758499394afc5814b9da3e02d6b2996623ea3ece GIT binary patch literal 170 zcmZ?wbhEHbRA5kGSj5V3?AWoEmKKKp{}~v71PA~bK%n@Og^_`Ql|cu@0jXtR&X3r2 z=bynT&((V^Uh}fgcb2F-r!c4K#l%&et8O!#Y3N#3U@Bnaczx0Bu1&8c>vg>^p7?UH zZNaiF>{E4?pUHaCwNz`jZ!Y_szmxXvGM=^K87~uK*>B$dd{+jey?NVLeM+n`tOzMk R;r49r>h9_76XRsC1^{%DM?C-l literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/fla.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/fla.gif new file mode 100755 index 0000000000000000000000000000000000000000..923079fc6bbc36b0f3cef03c381d42fb9962c753 GIT binary patch literal 946 zcmdUs-ET{A9EZO<+S9YC?Wob8m!v&2wj#5`EE?U~b1XJhOV`LE=R#U_A%>LBTk4|S zDr>A5I=U%J+YM1$%pthhOzORHK?$-Hd%=a%c}WpTjsL=P_1t})AeVLSTYuigUXan3z0}9Eu?9h z4g>-bhr_|LX#{*U>a$wohya=sD6q38WU|M2-pz4VO66u*f^)O9+M!lQeLk<%>M)rS z@wg8m9uWb%T~Db3Za0TeOoiOEDnX+NMMe>+W=#Q_8XFq2BNU$qP77YIcVbf*696Fd zj|ur7p?-?809aV`H~#M@Ajvq{CbpuYvZaL}@K*dVj_I0@`ubTVq)>xVDrh4rms5^3Spr$J-t`?u;zkBE4#^Dz7jki4oSKP`v#fm9opMHCnZ;} zz1GBI{`)<+KP-zs;Tg$M-Djcl;f+t)SC6%Q2YyxP#?LXbXR8Ot7T)hy{Qg~6P_(9= zkQdf^l{=`riw%{(Tm{ue)-_qW)%G&WtZSVquZKD9wz*vvb@{U-2|A~ACfIDf%*e$P z?cUS3lIChBh={$LNy`98ZaqW`&r0BuD z4e~{vlsT1)@1B+?J7{TnC0!%;?@hifwn#f%#%SZ*H~5S4*^M6Md&ZgN-V?5w@~~=t z{vj(Nr0)EH;qJQ9o~mu@T=}_;Ri6HWl}~Q2nBysSj+e}{F=hLUxurkNGZZr8)2@BH zc*QJFQiqE)DV<5`2@a_I-->GXJTEl6a!_e0hA-#`rlP|j&e=bb4-A%VXakYh*qgmk zvHe)KIKK@GwKB_#Mav3D*S`~KYRv;jX8bUE+RCqgjUTO z!>wDl1_cGpIX9=cxY)_bDS6JhrAwC@0;zN7lIJ9Qd3jyCc5Tj_ImyXD;@rJ^_ma;g z8yY5`d;cG#;{UlRQ>F+A2pqe249Ed0F-%To`2XJ!Xvn$mii(QIjvZ@hX<=w#VE7Ld z{?7oU!6cAD3{d>Z!pOj2$e;sK4Du5L+y4VI3M85(`%k1yIw5l??81tYQ%!s0HmH5B zd|S15b(Xny$gJ~jA9viz+I|0nh0or$qwC-1oqj!Uc6Wh(V`Y&}TYG3|b5l!oMQw0E zU2}DBPkvau_T>@iN3<4dSxx*7gJJ}yHGHWubb-ZC< zSlGlWA{rr3aE6m1Db7hm;O9fu#z~Ku=EN*`;OKotHpw{YmFPBEF7n0SPh z-5{fcDcGTDk%p2-0>i<1jU3uMQ*0^|Rtd8?vkEi_C^|6;eq&3yu%Yol*KBr%M_EkF zYZ-VLm6m7(GRQOXifBkk9A$F2w>LUu!BPQ*!<<6eDjpXepmF>6I+p(?v&mbqn H!e9*mGolF; literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/htm.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/htm.gif new file mode 100755 index 0000000000000000000000000000000000000000..a9bdf0030869bb72b8115ce01f776f080576c7b9 GIT binary patch literal 1527 zcmeH`{ZA8j0LH)9QYgijQL3Xb9mPUCP}fsqdcG`2MWB@s=vZ*wTcIvP>jLr2GVQVz zsSK7QR(9EZxjA2Q#At5f;%#Q}wifXeUv8S=#l7Ts(Rs#Su5P-onwal!f5HBMJwHBq zl24u|d20PNUb3|WlmN&99U=pwfS}>5j&nK@pj8723W`QKf);~}MALjMAw)PO5@89> zfDlR=jIbgv>yZR6s4zGkQcx(w_#%l=h$UFV6_Z3+4X7x_Nt}U14Kac$Du@;|R?-E< zAbCjekWmes*9A!-SuGF~d@_uPT2MlafpEc4bSMZYz$$`@=!8fLkQ5DEG>Bjf=M9!u zI8hT-gI1AYKr$gSoETIg&gi~S3>TrSL!8wTyv$9bRTzk}E>>5kP0nB?m5`u|(}PjQ zCm=$EQAP;S3`z451-Tf-6`%!(SRLUZhLsTw5wD|!ti?D1XXJ#ABt;Jh22S%n5rqU@ z)*vAwLO_~ss5(+LgA}LfhO8TSLc;|_G71Y3!DzB-Xb{C@o#b?y;YbNZbi`|hD;RSz z8mk$>U_w?kQi34`iPHnh2u~ZYig>O`E6zO$w${GbK~PbwtSb3mHwSqnssSQ)8U-}b8HPg_%>_x zBa>>fIL03gpPN^)w#SV+8-Q)r+?LX&lOIh!p)e}g2`O;-;CQ9i`y!RwzimCp_U?@R zlK+k0JpW9xx(Ev`)qt4;Yv-<6Zk>qV#E1Iqx%Vj0TvCxq^}Y)BV9x9fUX$tOyoD*( z(hLKd)h=*;7*6e`zP{NubIIL9!;aS-hi(tlS3FLaeE~M5utm1heOY8( z`kbR-(VrGJ+_T+Zwk)wJRhHvT{o3{M2G=dn?FM&d=Z@jkGu=rKR@^o?xzDeuOf1vXFIQ&Z5CaSncE@`o)s?@Yvp&Gd|+sxQr}rC5+;yoa`Jb8YWvo}>;o{{qmZ0^wKHN~U0k<{~VI7%+gT2)wO zaTc7dJbCs(+l4fU-X67DTIw=gBc=6?>2%H~$ysb; za64Ysd4;-jJbz>Gud6HcvxI+!XDIbkUigo=xhPC+yI$Ddc-pcn+_I;jLr2GVQVz zsSK7QR(9EZxjA2Q#At5f;%#Q}wifXeUv8S=#l7Ts(Rs#Su5P-onwal!f5HBMJwHBq zl24u|d20PNUb3|WlmN&99U=pwfS}>5j&nK@pj8723W`QKf);~}MALjMAw)PO5@89> zfDlR=jIbgv>yZR6s4zGkQcx(w_#%l=h$UFV6_Z3+4X7x_Nt}U14Kac$Du@;|R?-E< zAbCjekWmes*9A!-SuGF~d@_uPT2MlafpEc4bSMZYz$$`@=!8fLkQ5DEG>Bjf=M9!u zI8hT-gI1AYKr$gSoETIg&gi~S3>TrSL!8wTyv$9bRTzk}E>>5kP0nB?m5`u|(}PjQ zCm=$EQAP;S3`z451-Tf-6`%!(SRLUZhLsTw5wD|!ti?D1XXJ#ABt;Jh22S%n5rqU@ z)*vAwLO_~ss5(+LgA}LfhO8TSLc;|_G71Y3!DzB-Xb{C@o#b?y;YbNZbi`|hD;RSz z8mk$>U_w?kQi34`iPHnh2u~ZYig>O`E6zO$w${GbK~PbwtSb3mHwSqnssSQ)8U-}b8HPg_%>_x zBa>>fIL03gpPN^)w#SV+8-Q)r+?LX&lOIh!p)e}g2`O;-;CQ9i`y!RwzimCp_U?@R zlK+k0JpW9xx(Ev`)qt4;Yv-<6Zk>qV#E1Iqx%Vj0TvCxq^}Y)BV9x9fUX$tOyoD*( z(hLKd)h=*;7*6e`zP{NubIIL9!;aS-hi(tlS3FLaeE~M5utm1heOY8( z`kbR-(VrGJ+_T+Zwk)wJRhHvT{o3{M2G=dn?FM&d=Z@jkGu=rKR@^o?xzDeuOf1vXFIQ&Z5CaSncE@`o)s?@Yvp&Gd|+sxQr}rC5+;yoa`Jb8YWvo}>;o{{qmZ0^wKHN~U0k<{~VI7%+gT2)wO zaTc7dJbCs(+l4fU-X67DTIw=gBc=6?>2%H~$ysb; za64Ysd4;-jJbz>Gud6HcvxI+!XDIbkUigo=xhPC+yI$Ddc-pcn+_I;Rw% zgoK0u0RI60|Nj600RR90A^8LW000jFEC2ui03ZM$000F4@X7g{y*Over%PZcj*8PX zPRD&`>$*wVrjlmgmOR%>@BhG{L$`DMT#J_P^c&hL!A4J-tOAFMtkxNwGON_yXO!SB ztzop!^eUH*;dC<1hM9wS;j7`s`7wKLDp*>DhI@QNg9!o+0tN&L0099CjEIQ}9w`}xc~qK1}B2eunLhO1qbA^(8kG)-OZLR3gZX7ufVg|lgu6kyp9dh2Lp`={0ea3 zRk2Bt6j2zmPk^)m0|*c>7hphwdAIZ_Tu9)AfCB}5AQpJ`>%gY~7hP4_$kEY6ivuWr zG7x}|0$2f9dO*-I!MFjSBu46|fSW;`HDGmoXF$NCPz@$-^C$~x1)sz&7Wm{;z|D>@ zT50Ow!0F9suh7Qo*i~JLu`3*bN(-%0)23ZRSgqsKfC6c-Vo@4Qc<-OXa5)%S%y@AG F06XGF$;AKw literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/js.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/js.gif new file mode 100755 index 0000000000000000000000000000000000000000..fe0c98e975c3e36eb30275c584f5cfdaf2bb0b52 GIT binary patch literal 274 zcmV+t0qy=rNk%w1VITk?0HOu}goFUb#>Rw%g#Z5l00030|NsC0{{R30A^8LW000I6 zEC2ui03ZM$000BmXe!+PP|3N9y*Oh*C>2_$F`ZY5XdwigX@IE+vgH@c7VW_sE=S8CAk;96zye@OEi4J7%yYsMBs14lfQi{kx>D-2z!ZXXBlpHGLXfU%%aXw0F>cMSa3P;YN@~85 zXs1wZZWz^I$sBYt#31HnOf{Juf_6(VW^93iSL5Ui2-3o>8d&O_<;{7#7K;Vu(OKI1 z;;nFSdR=&TNjQdbgFbA98Gu(;7;}G#8%mLqI%r`kjz?`jI+KK=hk>Yqn`^8sag(rR zlwho{Z*H_0P?(bV5^7Hid_8W(lfGF~=&@ij1P5SHA!N?yuXeKm(zYURrXvvm z02f3pqh`0;IW=%{9SIi~0s#OTdVEQ2Ol&zEl$9KW28V}scnlMdOpzUuf|p+%1)7?P z01XV0D}SVKrgN#Pn~IA~O|XEpgtw{zx&ywUzrd%Nxy1wo$jCSwwH=v>x)%i*2akTq zHq?X(tPK|nG~C`lOry0C7kB42j-ocmf3*q&0}5#WYDWEvmd}fogI6N`T1e}k!-tOq z(ohn}-H8`1Wc?9D>*5=M-@a9>NX;Y2kQ+xsakOZHqDGMu1u7}oQqW64yn5l}LW1JS wh3#O{lo3win^+%9nY4LhR#Tomen<@mRfIy6Sg}_1V5zIuua$U+O%VbBJG0Wu*8l(j literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/pdf.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/pdf.gif new file mode 100755 index 0000000000000000000000000000000000000000..4950ec87c13f9918009b13ae2db6732e07317cd0 GIT binary patch literal 567 zcmZ?wbhEHbRA5kGxT?c&?%cWOmX-nn0?EnA&*#k9yLa!kYuBE81--YlJa+8Z+O=z= zqN28L-TFKz$jQm+d3Ls!m)G;X$DT(;JvTIbuW9(arRBM$;q&V1=Rr|Zrc8OBocum0 z>iOQi_cS%Lv$N*_4RmsP@8tEoXUg-Qp6A)c?~98qEiH?Si~j=w0|?x^cMrw{^GPHW zf3h$#Fz5gw5P@~~Qom*ewqZhw7 zKBurJtN!*1^O!YOYu9|)YB8_t^WW6ca;6rh2(6sF+WgwC%rb5DN$RB?)j2&i$xXpi zXH<91Dwz;8FKv0soTXD@*19hVEcJDrymhOr!sL)mzWyOW976j8_W0~Otj(@`;%MZF z07c$2>YI-rW@Nm4^}HZEi}c~Me&>Z*v_(|+KXSSjEdDG&n311fNae_ty(exka&YjA z3b14-FdgnHb#0U7V94icWRT)}X6&|fc5Aw}g~uJWRtM%biI0UgiAk;v%sgIhj0-kh zc1hP(n4!^dprL6J+ky=&8(u%P2${xg#2}GysD*KoI+sXnLPBFRqx9EWgM|t!Ij4C= zs_n>1(muUHq|?e^qLB9WHL>g!0Swn9Z;EDi%b6A`9lXKl>+6tVt+!-b+&ZS;DoLw1 LBt|rC3S literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/png.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/png.gif new file mode 100755 index 0000000000000000000000000000000000000000..0a79ebfdf5f97176aa1605e4cc4d779d6c49487c GIT binary patch literal 464 zcmV;>0WbbXNk%w1VITk?0J9GO($&>MW1Lc_&Z()eL9#*Z@$WY`I#66uAt52g#>Rw% zgn$450RI60|Nj600RR90A^8LW000jFEC2ui03ZM$000F4@X7g{y*Over%PZcj*8PX zPRD&`>$*wVrjlmgmOR%>@BhG{L$`DMTD?Xxsq_tPmE*FhZ2pFdtoC_4F&9}#IfTeiWdb` z1O?!L8wIfrwDf?$V*+vlLQRz9PeHeXJ8Q)92oFF3NTM20D zmu}o7y+v%V%zmD2V?;>*==MW7XXv~x5)aMfBoK?F zW6zSoF1YE1%;Xl!+`|~*F%!825>LA^kD=kxDLIWMmuhA@4aseU*nlRFhyRAJe17_T zednEgTH2cH8+u%Xi^xwCx~}JPxqLn^%Q8ZU<2Y8uilPXDpsK1M$f77FRLmRXFfhr&_Mo^w%1SiCjqEi$FfC3CdWW#Vx#+XI9hG0Y#wXle3m_taUP(G1Bk%%bi zd5%*7FENslF#v987>gJtA&5B&>WZQ=Fb5Pp9HGJyIv5N>H3vAAW!Z2z40t7sbU{*C zNskB`r|3|WSp{pFM$*GP~H>s_TyfBt%-F5T8;J#~8H?0~s+ zXXB9PW>r(KZ`8W`gfA8$e1fNO%=5#NJh;x~k4ES33@n~zf1OYA*v&hGHzSS4?YPRQ&w4x)AxOBAXi6+*mu{KIuGh-r|Wzv*e+FR&JZ$xH1zUYu>cG z&uzI9Yq2%M2+ZunHb+$N1&swYAuDxyBGP!IrSI*qb3{MTMZ?x0V6mWcE z|9I}gv+Zq5){pLIssew!b1CU`96NN@Lmgc;S&v>{nR6wN1qU|2T6&+L3hhaM(Mw%* z=Cbw&*_@SYooKank`p0e+U}nkcSN&;J5R;>2P@wHG7vNmO}g(4+wR?39xu;~%vQg< zR5uH^PL`HTjZgH3$5R)tj|9pq+DGQe#QhXwJ1IW#TFzKpt=1433zr-oN$pzWPW3N) z3vDY`$G2a5h9EB2ESek@@obZ&?AYo9?}a@b{_0IaO93CVWK6}Ix*b7F+;uhM-Q5?z=G__V3lY5wu~{Q`c_Bd p$!sXy?YxvMau4r&IQrbrt}oV%E%z;d_m?(Y)4DIetHV#c_%B&pUbg@M literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swf.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swf.gif new file mode 100755 index 0000000000000000000000000000000000000000..5df7de574966c8f4738c337d97c97b362cfb9f91 GIT binary patch literal 725 zcmZ?wbhEHbRA5kGxN5}U<>i%K-E;5x^Y7o^pSyOC!7ym=-o5X?f6va&j*5y}yLRol zbJrLYoz9&**D__!lqqwfidzf~4XbDFV}EmQU$yT;&^-7{zD+O2zova1E6 zTHe3^Uft3o5mY>7=~@QOpgC*zdL>sU7gulHdoH_rN_NlEDRY)aRZoe^Zn<~w`L%1; zdU|@^e}7+HUH$&~dj&K6yl zojL~V+xsHH@c`o|9UhyC1r82J zxwvJ|?KtsmX#fwSz>CD02Ob=1WztX6Yq-Gqe2S+w&#yg)7Bt*sVo!_W*x)34c}@Y7 zfW?X=#ttTpbtl%GzNUM0S(}W`jNJ=z7`bH9q-4uKzYW*nGST5k*x}Susnz8aaN);% zk-6GdPqd>OoiEPR_xjSi@ycd_dkEKgTed$ sRj~fxwYl+MVLG=`U+uM14J=|F5Athe7Cva=(YhfkFW{!(D!^b300g%yMgRZ+ literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swt.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/swt.gif new file mode 100755 index 0000000000000000000000000000000000000000..7807c075c4082d561fd2f08c9a20ab4844d8cee4 GIT binary patch literal 724 zcmZ?wbhEHbRA5kGxN5}U<>i%K-E;5x^Y7o^pSyOC!7ym=-o5X?f6va&j*5y}yLRol zbJrLYoz9&**D__!lqqwfidzf~4XbDFV}EmQU$yT;&^-7{zD+O2zova1E6 zTHe3^Uft3o5mY>7=~@QOpgC*zdL>sU7gulHdoH_rN_NlEDRY)aRZoe^Zn<~w`L%1; zdU|@^e}7+HUH$&~dj6nnc&>9RAQ*ojz&Z49h@M%{gzUy7xRu}X=tXv8QUvk`Ss)JT|f=Hm=e z*-sPK9%x)~MqKsBv4C5Z9>La?bkD@4;205_cZ-x olY3FW;k4_-V{to`9yGAAE9cT`#-ccAhw4`jpjrZ$Po=+>rS<-e!jPxbB|+;eoCFoy*4?8no+b9O@c7 znu6TZTic2fJ10d?=r%vv9_HjDCz zuLzsz8*EthN5gskqy(RPrt4~5-RICX$;@Huv^eHaHuZ)ITCWCd#;pH0iBv~AT` zy{2TX>>jQNx6%cN_>V4GmXLeO{Gvrq>3P1>XKIxXvqqdd(YocrnJ3qzF1@(?>e;q6 V@7}Mula%u1>$flJKLt4%tN|w0c+CI+ literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xls.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xls.gif new file mode 100755 index 0000000000000000000000000000000000000000..afe724a3d06a51d2810f8d956f9a2042f4127e39 GIT binary patch literal 271 zcmV+q0r37uNk%w1VITk?0HOr|0E7U9goMV%#sB~S|NsC0|Nj6000000A^8LW000F5 zEC2ui03ZM$000BjSh^MdFg`|UAUNwy!l>ZIjhOQ>0g$e0%aVcMF>cMSLY`-rd^P}* zCI!Rz6e@y?mrRaCgd_3RX;pPt-(bsaDsRo0Mlj9@21Mm|c`cjG1E-q(&D!Bg(+7An)+;^79}G06U9=e5U{a literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xml.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/xml.gif new file mode 100755 index 0000000000000000000000000000000000000000..4fae35662f0ff048d4004fdc74cda6b63f16d119 GIT binary patch literal 408 zcmZ?wbhEHbRA5kGI3mViIETS7`9A~09EN0urRTmg%=vGa%wTx#zu`GU28RFV-v2*# z?AW>g=g$5AZ}|T|Lkq*XbLR|`=d`r6eEY<3j9Dk`OoZE`nWr*xa<<-Z+HtMSBJn{^u;`V&6mSzrNEt?LH`~3Ax?=4JrY*0GX#-Qk=qQTsLv|qx~^^Qg0 iVuwC~AkkGZCpV>f)n+A~n&Y{-{p@Uu;&~j54AuZc3Y?7q literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/zip.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/32/zip.gif new file mode 100755 index 0000000000000000000000000000000000000000..7157f72ad82ea877fcb6995070a6563f56ef67d8 GIT binary patch literal 368 zcmZ?wbhEHbRA5kGI3mt)ZwdoL@|2!y|Nno#_WxKm!<2grhC%{EB};slLq*~Wvao7t(4YcThC6;%`Yr24Zi4PaOV6eOA}Gnc(I#ahItQPFz&i!!1#jo#hY7? xFH}7HYVuU?=dbU7{-(T977Tb`-^99F#>8mh!o%$X%5o`g8JrTL0dyds<4RV^aVB z|57BDbA&H|IUoo#=W(zoP=va&U;d8QcCBXbFE`S zIUx{AF)?dGF|DPoy|um8l$26hT61GsrId``*3Q<>#_!(N_xJC;lzX*=bN97#y`_w; zoRr4a-o4J&oRpmJ@Ar&zW5%telzVgk@2%FQQj}6cwR2kk-jp#pIT#oib8~zD|Nj60 z00000A^8LW002DzEC2ui01yBW000KCz@CstEEa{x;b0IOxF9c{E~y-RE*p%ErCXs53AutGm1iI;a&9 x77a8B0W|>v8K@@^5iJcNH3tSG6{sd9*aZa#2L%MDNFqA#5;_tRJN5NJ06RZNq>TUo literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/avi.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/avi.gif new file mode 100755 index 0000000000000000000000000000000000000000..6f3bac9bf1593da0934d7ce02064ef74e484c1a9 GIT binary patch literal 249 zcmZ?wbhEHb6krfwI3mMvZjPa$VRCZvIm6^RbLO1;{{8!$ImuhMZvFrNTynDExpT=; zQBh7#PUq$Tr48R-J9cgk!?|-n9>bhupf;f9IseZw{GY?n($aG5*f9nMhW}syWI%x8 zPZmZ71{nq&5Eo=818bRrdQwVemqvT;n`v8Ts6~~;GQZY}p1#>*LidNJlNo(daVY@{ zWwUaL(+k*J$tlM*YK{1NYI`ZnW)mW{>#=ysy0hLX0`cg&BbkJ4}^gUQzaPeB<)#Q2S7Oc~`%`->q#0Q%_#rF={k17wA&Fi)#cna}i9!sV4Aub8Vl3$Z literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/cs.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/cs.gif new file mode 100755 index 0000000000000000000000000000000000000000..4d927230b980dbbdca5b06f12a98449647ca0fe7 GIT binary patch literal 128 zcmZ?wbhEHb6krfwSj5V}(8AEt(sJzBF$M;P|6l-Q0DA+ z&boq$o(!ph*Rni6Ts&TSB!TY&dxW+s#|ou&Pgs`UaTDBbb9LQ}wC%4m<4%bCYbdc5 Z?pbo_Mu}eVr8OUpyyY@Z@L*!F1^}CaF8}}l literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/default.icon.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/default.icon.gif new file mode 100755 index 0000000000000000000000000000000000000000..6ce26a4dc516f5962623445396862c753a875900 GIT binary patch literal 113 zcmZ?wbhEHb6krfwSj56`?AWoEmKFvEhW}syWI%x8PZmZ71{MY#5ErDDf!WMMz)wYHuMVva8^OvzO GSOWls#w7~? literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/dll.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/dll.gif new file mode 100755 index 0000000000000000000000000000000000000000..48d445acd2feab875c2d42c246e9010814314bb6 GIT binary patch literal 132 zcmZ?wbhEHb6krfwSj5KA(!%inKf|$O$6A0a1|S;*fDFZ-EQ|~cYz#U;Hc+Ji0|T>X z#^yWU3Z{52m-ukf%k`k3yP%3-*W8u93=RcNt9)D@gcWkI9QhQriC6L4&!=I+p7|fF f&bcuq9o#ATcbQ|zt0ha__CHv$#zk+n5Q8-UbUQQ< literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/doc.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/doc.gif new file mode 100755 index 0000000000000000000000000000000000000000..6535b4c0e72aa2cded728e28ee6440c1fe0a954c GIT binary patch literal 140 zcmZ?wbhEHb6krfwSj5WE($aG5*f9o%{|rD320#W7DE?$&WME)r&;fBkY8jXVBe?FY z+rZ$Y&Fb8_(OO=7Vq=(Ufb*})xCcUxyE@a|Sq$%KqPl7^Ro&=#&h4hzE(^L jR*hU`(7bxhmuZnxV$QBxlGW+R@Sr5BCvfLoP6lfLw_`LY literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/exe.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/exe.gif new file mode 100755 index 0000000000000000000000000000000000000000..315817f5d93a2a6fa5db3ca5e1c9d9e72297c1b0 GIT binary patch literal 109 zcmZ?wbhEHb6krfwSj5V3?AWoEmKKKpAi%%?qJbn3DE?$&WME)r&;fBkY8jY~B6i*R zXJF>^RLSWASNXZw&O8U&G9N8irFy(4+h@r~EB~#sJ|Y3ajSDg!Grv<&><*gAz+epk D58Wo= literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/fla.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/fla.gif new file mode 100755 index 0000000000000000000000000000000000000000..8f91a98ecb196dbcf5424e266ca58d216cd4a9eb GIT binary patch literal 382 zcmZ?wbhEHb6krfwxT?XhR8hdo%PTuO`&>{EgJIPFI}I;|Dp zc%Pgc6&3aV`}^-fUeCQOdwP0~X-ZUASHFM${{R2~3=9kq63CzsDE?$&WMI%>&;gkP z@)HBwYzL7p7om#2#si)wL?(F!2%98Cm<2ZVZ~3Ch>UA|+?3QVy&oYC{!ISECotivn zi=MmpqCcH_Dg71<%DDkb)jrCNqP!hVYOOUI?7WH`68uu^LH$n3d{a32xdr%?``R=Z z6crRi1i6?MXU<-+T7iX|hf_g(S&gzHs}Re21x4km3ChAO(z2|q%0r28usf7#SE?8FWBAkXi<2r--O4 z|FS1KXsZVL9;`07c&+ei^1O2k*6G|{AtTej{=zM0yDLAt%B`L9e?;#s+CMY!M%Jo; V3vL<)Qnkyb>9`50G6*qP0|1+DE=>Rc literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/htm.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/htm.gif new file mode 100755 index 0000000000000000000000000000000000000000..0b5d6ba1fc35ab7dccc0f27ef14f2bdbefe75859 GIT binary patch literal 621 zcmd6k&ui0A0Dxb+VB4{+?YgxUTV^K{qg5LnvM_(lIJz`RQF6>pa?C||-g?<)1gmc# znuA~%2n(Jb2oms;!(;>zd@zI@a}ZpP&%@y1>FN9{{7&ETgKuNdUy&bHKm{BPf$bAQ zctp74_-+tm!XZvY7?`FD-7q4V=#n7LI(|kO*D!S=`qxAh%U-Hr9ul5XK60@Xu`r=B zBBGZmgli+L*e=OYPhmpijCBxUoJ%MbLzXcv!BBQQ+xAQo#TmCOWTHs45W)$B zkpBbxmvnv$IRJ*Bds27u1Qfn*4!1S;sax6}KQYjbQ3B6j7}Xo@=~BM;N(1VyYBVSI z8e>(xbhXt4Mx}Z?-_VC5xY?bZoxa#MW@hqN!goSp%D6mNTdCj8Pw4U5t#bL!;#_;O zeyAHlYkKhW=-%Y@`E^~83TFlv`p5l+YYX!m-)p~?m8p91_~pKu6ZFTu!$)iDJFV5T zZ$4EQ5B8T%6}v|Mhfpk^(}do$596)Zxh8s0**y3H8nw1;?w$YkcG+37K7V|Fe|HOj F)j#Az*75)V literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/html.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/html.gif new file mode 100755 index 0000000000000000000000000000000000000000..0b5d6ba1fc35ab7dccc0f27ef14f2bdbefe75859 GIT binary patch literal 621 zcmd6k&ui0A0Dxb+VB4{+?YgxUTV^K{qg5LnvM_(lIJz`RQF6>pa?C||-g?<)1gmc# znuA~%2n(Jb2oms;!(;>zd@zI@a}ZpP&%@y1>FN9{{7&ETgKuNdUy&bHKm{BPf$bAQ zctp74_-+tm!XZvY7?`FD-7q4V=#n7LI(|kO*D!S=`qxAh%U-Hr9ul5XK60@Xu`r=B zBBGZmgli+L*e=OYPhmpijCBxUoJ%MbLzXcv!BBQQ+xAQo#TmCOWTHs45W)$B zkpBbxmvnv$IRJ*Bds27u1Qfn*4!1S;sax6}KQYjbQ3B6j7}Xo@=~BM;N(1VyYBVSI z8e>(xbhXt4Mx}Z?-_VC5xY?bZoxa#MW@hqN!goSp%D6mNTdCj8Pw4U5t#bL!;#_;O zeyAHlYkKhW=-%Y@`E^~83TFlv`p5l+YYX!m-)p~?m8p91_~pKu6ZFTu!$)iDJFV5T zZ$4EQ5B8T%6}v|Mhfpk^(}do$596)Zxh8s0**y3H8nw1;?w$YkcG+37K7V|Fe|HOj F)j#Az*75)V literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/jpg.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/jpg.gif new file mode 100755 index 0000000000000000000000000000000000000000..634b386139ac697806757c8d34bed36b5a2e5b45 GIT binary patch literal 125 zcmZ?wbhEHb6krfwSj5WE($aG5*s=fr|F^U-00EEzq8Jzyf3h$#Ft9S{fH)wv49rdu zQCI$DPjt{$4fH)&U2ySQ;nn1M=N7Efxy>W1vu4h(L$B8CcA0nH;sGzmk%w`nkI!Gr Xww$>lL&HF-cG)x?H=$exAqHyz+f*-Z literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/js.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/js.gif new file mode 100755 index 0000000000000000000000000000000000000000..4ea17d452edaf63a5f599042879cc05a3b05905d GIT binary patch literal 139 zcmZ?wbhEHb6krfwSj524(!y};*s=frfs7Ug28RDY78of0WC7DUAQGgOfjPip*Bukp zV`_&dr*>@0-Etv>LB&I4!HI?a)6OrXSt1KqtHVsZE6pPt-9GvFF^A}XUv*^C r;ak22hG!S;yY$xUOU2HaM|C{I+Ek;sd6_hJPfqX2@(WjGV6X-NZuBx8 literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/mp3.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/mp3.gif new file mode 100755 index 0000000000000000000000000000000000000000..6f3bac9bf1593da0934d7ce02064ef74e484c1a9 GIT binary patch literal 249 zcmZ?wbhEHb6krfwI3mMvZjPa$VRCZvIm6^RbLO1;{{8!$ImuhMZvFrNTynDExpT=; zQBh7#PUq$Tr48R-J9cgk!?|-n9>bhupf;f9IseZw{GY?n($aG5*f9nMhW}syWI%x8 zPZmZ71{nq&5Eo=818bRrdQwVemqvT;n`v8Ts6~~;GQZY}p1#>*LidNJlNo(daVY@{ zWwUaL(+k*J$tlM*YK{1NYI`ZnW)mW{>#=ysy0hLX0`cgv>ev^SyhYS64r8X?YK12So`82>fRNfqVDv z{r?YPGARCJVPs&CWzYdhfb3*oO-@kHONmUIxgsy-^|qPQW|^Ek`f1r)oAdK_#q~cu zbtPl{l^0V5_T;S=Z~hQc)}ed!aA|{HGz;^B2|Yz@;*5(PawLd_EmCDzp}@k>p>l2} b%e-`vLRL<;1{wB3!FE?Ijs6J}6d9}meKBOp literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/png.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/png.gif new file mode 100755 index 0000000000000000000000000000000000000000..b6d1b32011afe305d35026c66cf3a0564e6cfbe8 GIT binary patch literal 125 zcmZ?wbhEHb6krfwSj5WE($aG5*s=fr|2Hsz0FVKu85DoAFfuT(GU$M~Ahit4P7zU8 z{$)>e&{hrfJy>0E@mk^4!zWU*s{&Jd<`>yWH_^+2I#AA{J%s7G|&p0BKw|IsgCw literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/rdp.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/rdp.gif new file mode 100755 index 0000000000000000000000000000000000000000..916cd7e639de75276e3fac7d4a4466479285fbc0 GIT binary patch literal 606 zcmchU&ubGw6vrpo{HP7Ji>awd!Ny-jsS1MH`U@LtlcrQ_s3zIwU|DauxyQX|x?q%1 zq|BkhKtPz|fCvMEEP~*e(;VkGD5!f}3&P@Qocc%jk8i|G!%@<`A|b55u$#WP!&Un9G3XLps}Wj7D9Eqf$#fJ8H5p*G7e=-si0JO zNL85WQFn?71c9mX?Aw@`|sb+UAvcE-BaB&M=_}Q+_`f-OSf)4 zb}qYTDT7yb%al3Su3fu#?|E`@wO3T}oV9xy6rIkUyY~J2djY3pLqo%$?CQP8u1N$H zzyJQ;%gbx&)?@dcKL={->FM!Gt_Fhl&)@(5|DS<@0YU;9lmo?|EQ|~c>I^y{qdwUe4Gl+*;-lwkB+sYUz^1v;|)#6j^vpu37T# zmUD%0Y=v2e3tNhqVwDfO5R;r7Q-i8ZOSQU^94jjq2ZyAL>I5eRE_r!5X$}Qpc9pr4 zSQql}D#)`c&1sz^&mzyuz#u2Ed6fdUDiZ^b6pNe!-zs$lh21Qw^6W*$K1?FwqAc7B ROoA@15eoGR5k8I#)&SOyb=v>{ literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/swt.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/swt.gif new file mode 100755 index 0000000000000000000000000000000000000000..314469da14a51a3079a95b10deff5e4af2f14dd3 GIT binary patch literal 388 zcmZ?wbhEHb6krfwxT?;;U>Fn?71c9mX?Aw@`|sb+UAvcE-BaB&M=_}Q+_`f-OSf)4 zb}qYTDT7yb%al3Su3fu#?|E`@wO3T}oV9xy6rIkUyY~J2djY3pLqo%$?CQP8u1N$H zzyJQ;%gbx&)?@dcKL={->FM!Gt_Fhl&)@(5|DS<@0YU;9lmo?|EQ|~c>I^y{qdwUe4Gl+*;-lwkB+sYUz^1v;|)#6j^vpu37T# zmUD%0Y=v2e3tNhqVwDfO5R;r7Q-i8ZOSQU^94jjq2ZyAL>I5eRE_r!5X$}Qpc9pr4 zSQql}D#)`c&1sz^&mzyuz#u2Ed6fdUDiZ^b6pNe!-zs$lh21Qw^6W*$K1?FwqAc7B ROoA@15eoGR5k8I#)&SOyb=v>{ literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/txt.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/txt.gif new file mode 100755 index 0000000000000000000000000000000000000000..1511ba3e9fa53d21b23d74e5430199f52107b8c6 GIT binary patch literal 122 zcmZ?wbhEHb6krfwSj586($aG5*f9nMhW}syWI%x8PZmZ71{MY#5ErDDf!W?edQV`N^25{1 dUq#HdJfRXbF>~kLGf7@*-Ks0MSTQnK0|4?|F*N`H literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xls.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xls.gif new file mode 100755 index 0000000000000000000000000000000000000000..f57715d6a0cf03d3d392fb78d1477fcb1756edc1 GIT binary patch literal 138 zcmZ?wbhEHb6krfwSj5V}(86%+*f9nm-O}BIae?UME_83{kohvOm*4@L8Aw=661Zc_WCg}SOWmuf-oWg literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xml.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/xml.gif new file mode 100755 index 0000000000000000000000000000000000000000..455992877e103d01bd247e45d96e33412ae706d1 GIT binary patch literal 231 zcmZ?wbhEHb6krfwI3mEn(9&}3*fGQ8|AuoI4Cnke{QuwZ+HPD{sTJjBd9|(eHjSNmO^r^D{SzDo6d9}m>N8Dk literal 0 HcmV?d00001 diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/zip.gif b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/images/icons/zip.gif new file mode 100755 index 0000000000000000000000000000000000000000..b1e24921e56f8b71282f953c690d152dd986f6ff GIT binary patch literal 235 zcmZ?wbhEHb6krfwI3mLE|M^yid-wjYW%$3>>;GEC|Np;dAN!x(^Z)< mytest.example.com => example.com ... + d = d.replace( /.*?(?:\.|$)/, '' ) ; + + if ( d.length == 0 ) + break ; // It was not able to detect the domain. + + try + { + document.domain = d ; + } + catch (e) + { + break ; + } + } +})() ; + +function AddSelectOption( selectElement, optionText, optionValue ) +{ + var oOption = document.createElement("OPTION") ; + + oOption.text = optionText ; + oOption.value = optionValue ; + + selectElement.options.add(oOption) ; + + return oOption ; +} + +var oConnector = window.parent.oConnector ; +var oIcons = window.parent.oIcons ; + + +function StringBuilder( value ) +{ + this._Strings = new Array( value || '' ) ; +} + +StringBuilder.prototype.Append = function( value ) +{ + if ( value ) + this._Strings.push( value ) ; +} + +StringBuilder.prototype.ToString = function() +{ + return this._Strings.join( '' ) ; +} diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/js/fckxml.js b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/js/fckxml.js new file mode 100755 index 00000000000..b7eddc601e0 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/browser/default/js/fckxml.js @@ -0,0 +1,147 @@ +/* + * FCKeditor - The text editor for Internet - http://www.fckeditor.net + * Copyright (C) 2003-2010 Frederico Caldeira Knabben + * + * == BEGIN LICENSE == + * + * Licensed under the terms of any of the following licenses at your + * choice: + * + * - GNU General Public License Version 2 or later (the "GPL") + * http://www.gnu.org/licenses/gpl.html + * + * - GNU Lesser General Public License Version 2.1 or later (the "LGPL") + * http://www.gnu.org/licenses/lgpl.html + * + * - Mozilla Public License Version 1.1 or later (the "MPL") + * http://www.mozilla.org/MPL/MPL-1.1.html + * + * == END LICENSE == + * + * Defines the FCKXml object that is used for XML data calls + * and XML processing. + * + * This script is shared by almost all pages that compose the + * File Browser frameset. + */ + +var FCKXml = function() +{} + +FCKXml.prototype.GetHttpRequest = function() +{ + // Gecko / IE7 + try { return new XMLHttpRequest(); } + catch(e) {} + + // IE6 + try { return new ActiveXObject( 'Msxml2.XMLHTTP' ) ; } + catch(e) {} + + // IE5 + try { return new ActiveXObject( 'Microsoft.XMLHTTP' ) ; } + catch(e) {} + + return null ; +} + +FCKXml.prototype.LoadUrl = function( urlToCall, asyncFunctionPointer ) +{ + var oFCKXml = this ; + + var bAsync = ( typeof(asyncFunctionPointer) == 'function' ) ; + + var oXmlHttp = this.GetHttpRequest() ; + + oXmlHttp.open( "GET", urlToCall, bAsync ) ; + + if ( bAsync ) + { + oXmlHttp.onreadystatechange = function() + { + if ( oXmlHttp.readyState == 4 ) + { + var oXml ; + try + { + // this is the same test for an FF2 bug as in fckxml_gecko.js + // but we've moved the responseXML assignment into the try{} + // so we don't even have to check the return status codes. + var test = oXmlHttp.responseXML.firstChild ; + oXml = oXmlHttp.responseXML ; + } + catch ( e ) + { + try + { + oXml = (new DOMParser()).parseFromString( oXmlHttp.responseText, 'text/xml' ) ; + } + catch ( e ) {} + } + + if ( !oXml || !oXml.firstChild || oXml.firstChild.nodeName == 'parsererror' ) + { + alert( 'The server didn\'t send back a proper XML response. Please contact your system administrator.\n\n' + + 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')\n\n' + + 'Requested URL:\n' + urlToCall + '\n\n' + + 'Response text:\n' + oXmlHttp.responseText ) ; + return ; + } + + oFCKXml.DOMDocument = oXml ; + asyncFunctionPointer( oFCKXml ) ; + } + } + } + + oXmlHttp.send( null ) ; + + if ( ! bAsync ) + { + if ( oXmlHttp.status == 200 || oXmlHttp.status == 304 ) + this.DOMDocument = oXmlHttp.responseXML ; + else + { + alert( 'XML request error: ' + oXmlHttp.statusText + ' (' + oXmlHttp.status + ')' ) ; + } + } +} + +FCKXml.prototype.SelectNodes = function( xpath ) +{ + if ( navigator.userAgent.indexOf('MSIE') >= 0 ) // IE + return this.DOMDocument.selectNodes( xpath ) ; + else // Gecko + { + var aNodeArray = new Array(); + + var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, + this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), XPathResult.ORDERED_NODE_ITERATOR_TYPE, null) ; + if ( xPathResult ) + { + var oNode = xPathResult.iterateNext() ; + while( oNode ) + { + aNodeArray[aNodeArray.length] = oNode ; + oNode = xPathResult.iterateNext(); + } + } + return aNodeArray ; + } +} + +FCKXml.prototype.SelectSingleNode = function( xpath ) +{ + if ( navigator.userAgent.indexOf('MSIE') >= 0 ) // IE + return this.DOMDocument.selectSingleNode( xpath ) ; + else // Gecko + { + var xPathResult = this.DOMDocument.evaluate( xpath, this.DOMDocument, + this.DOMDocument.createNSResolver(this.DOMDocument.documentElement), 9, null); + + if ( xPathResult && xPathResult.singleNodeValue ) + return xPathResult.singleNodeValue ; + else + return null ; + } +} diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/basexml.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/basexml.php new file mode 100755 index 00000000000..227877b0bd4 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/basexml.php @@ -0,0 +1,99 @@ +' ; + + // Create the main "Connector" node. + echo '' ; + + // Add the current folder node. + echo '' ; + + $GLOBALS['HeaderSent'] = true ; +} + +function CreateXmlFooter() +{ + echo '' ; +} + +function SendError( $number, $text ) +{ + if ( $_GET['Command'] == 'FileUpload' ) + SendUploadResults( $number, "", "", $text ) ; + + if ( isset( $GLOBALS['HeaderSent'] ) && $GLOBALS['HeaderSent'] ) + { + SendErrorNode( $number, $text ) ; + CreateXmlFooter() ; + } + else + { + SetXmlHeaders() ; + + // Create the XML document header + echo '' ; + + echo '' ; + + SendErrorNode( $number, $text ) ; + + echo '' ; + } + exit ; +} + +function SendErrorNode( $number, $text ) +{ + if ($text) + echo '' ; + else + echo '' ; +} +?> diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/commands.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/commands.php new file mode 100755 index 00000000000..53ea5a23cc7 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/commands.php @@ -0,0 +1,299 @@ +' ; + } + closedir( $oCurrentFolder ) ; + } + + // Open the "Folders" node. + echo "" ; + + natcasesort( $aFolders ) ; + foreach ( $aFolders as $sFolder ) + echo $sFolder ; + + // Close the "Folders" node. + echo "" ; +} + +function GetFoldersAndFiles( $resourceType, $currentFolder ) +{ + // Map the virtual path to the local server path. + $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'GetFoldersAndFiles' ) ; + + // Arrays that will hold the folders and files names. + $aFolders = array() ; + $aFiles = array() ; + + $oCurrentFolder = @opendir( $sServerDir ) ; + + if ($oCurrentFolder !== false) + { + while ( $sFile = readdir( $oCurrentFolder ) ) + { + if ( $sFile != '.' && $sFile != '..' ) + { + if ( is_dir( $sServerDir . $sFile ) ) + $aFolders[] = '' ; + else + { + $iFileSize = @filesize( $sServerDir . $sFile ) ; + if ( !$iFileSize ) { + $iFileSize = 0 ; + } + if ( $iFileSize > 0 ) + { + $iFileSize = round( $iFileSize / 1024 ) ; + if ( $iFileSize < 1 ) + $iFileSize = 1 ; + } + + $aFiles[] = '' ; + } + } + } + closedir( $oCurrentFolder ) ; + } + + // Send the folders + natcasesort( $aFolders ) ; + echo '' ; + + foreach ( $aFolders as $sFolder ) + echo $sFolder ; + + echo '' ; + + // Send the files + natcasesort( $aFiles ) ; + echo '' ; + + foreach ( $aFiles as $sFiles ) + echo $sFiles ; + + echo '' ; +} + +function CreateFolder( $resourceType, $currentFolder ) +{ + if (!isset($_GET)) { + global $_GET; + } + $sErrorNumber = '0' ; + $sErrorMsg = '' ; + + if ( isset( $_GET['NewFolderName'] ) ) + { + $sNewFolderName = $_GET['NewFolderName'] ; + $sNewFolderName = SanitizeFolderName( $sNewFolderName ) ; + + if ( strpos( $sNewFolderName, '..' ) !== FALSE ) + $sErrorNumber = '102' ; // Invalid folder name. + else + { + // Map the virtual path to the local server path of the current folder. + $sServerDir = ServerMapFolder( $resourceType, $currentFolder, 'CreateFolder' ) ; + + if ( is_writable( $sServerDir ) ) + { + $sServerDir .= $sNewFolderName ; + + $sErrorMsg = CreateServerFolder( $sServerDir ) ; + + switch ( $sErrorMsg ) + { + case '' : + $sErrorNumber = '0' ; + break ; + case 'Invalid argument' : + case 'No such file or directory' : + $sErrorNumber = '102' ; // Path too long. + break ; + default : + $sErrorNumber = '110' ; + break ; + } + } + else + $sErrorNumber = '103' ; + } + } + else + $sErrorNumber = '102' ; + + // Create the "Error" node. + echo '' ; +} + +// DOL_CHANGE +//function FileUpload( $resourceType, $currentFolder, $sCommand ) +function FileUpload($resourceType, $currentFolder, $sCommand, $CKEcallback = '') +{ + if (!isset($_FILES)) { + global $_FILES; + } + $sErrorNumber = '0' ; + $sFileName = '' ; + + if ( isset( $_FILES['NewFile'] ) && !is_null( $_FILES['NewFile']['tmp_name'] ) + # This is for the QuickUpload tab box + or (isset($_FILES['upload']) and !is_null($_FILES['upload']['tmp_name']))) + { + global $Config ; + + $oFile = isset($_FILES['NewFile']) ? $_FILES['NewFile'] : $_FILES['upload']; + + // Map the virtual path to the local server path. + $sServerDir = ServerMapFolder( $resourceType, $currentFolder, $sCommand ) ; + + // Get the uploaded file name. + $sFileName = $oFile['name'] ; + $sFileName = SanitizeFileName( $sFileName ) ; + + $sOriginalFileName = $sFileName ; + + // Get the extension. + $sExtension = substr( $sFileName, ( strrpos($sFileName, '.') + 1 ) ) ; + $sExtension = strtolower( $sExtension ) ; + + if ( isset( $Config['SecureImageUploads'] ) ) + { + if ( ( $isImageValid = IsImageValid( $oFile['tmp_name'], $sExtension ) ) === false ) + { + $sErrorNumber = '202' ; + } + } + + if ( isset( $Config['HtmlExtensions'] ) ) + { + if ( !IsHtmlExtension( $sExtension, $Config['HtmlExtensions'] ) && + ( $detectHtml = DetectHtml( $oFile['tmp_name'] ) ) === true ) + { + $sErrorNumber = '202' ; + } + } + + // Check if it is an allowed extension. + if ( !$sErrorNumber && IsAllowedExt( $sExtension, $resourceType ) ) + { + $iCounter = 0 ; + + while ( true ) + { + $sFilePath = $sServerDir . $sFileName ; + + if ( is_file( $sFilePath ) ) + { + $iCounter++ ; + $sFileName = RemoveExtension( $sOriginalFileName ) . '(' . $iCounter . ').' . $sExtension ; + $sErrorNumber = '201' ; + } + else + { + move_uploaded_file( $oFile['tmp_name'], $sFilePath ) ; + + if ( is_file( $sFilePath ) ) + { + if ( isset( $Config['ChmodOnUpload'] ) && !$Config['ChmodOnUpload'] ) + { + break ; + } + + $permissions = 0777; + + if ( isset( $Config['ChmodOnUpload'] ) && $Config['ChmodOnUpload'] ) + { + $permissions = $Config['ChmodOnUpload'] ; + } + + $oldumask = umask(0) ; + chmod( $sFilePath, $permissions ) ; + umask( $oldumask ) ; + } + + break ; + } + } + + if ( file_exists( $sFilePath ) ) + { + //previous checks failed, try once again + if ( isset( $isImageValid ) && $isImageValid === -1 && IsImageValid( $sFilePath, $sExtension ) === false ) + { + @unlink( $sFilePath ) ; + $sErrorNumber = '202' ; + } + else if ( isset( $detectHtml ) && $detectHtml === -1 && DetectHtml( $sFilePath ) === true ) + { + @unlink( $sFilePath ) ; + $sErrorNumber = '202' ; + } + } + } + else + $sErrorNumber = '202' ; + } + else + $sErrorNumber = '202' ; + + + $sFileUrl = CombinePaths( GetResourceTypePath( $resourceType, $sCommand ) , $currentFolder ) ; + $sFileUrl = CombinePaths( $sFileUrl, $sFileName ) ; + + + // DOL_CHANGE + //SendUploadResults( $sErrorNumber, $sFileUrl, $sFileName ) ; + if($CKEcallback == '') + { + // this line already exists so wrap the if block around it + SendUploadResults( $sErrorNumber, $sFileUrl, $sFileName ) ; + } + else + { + //issue the CKEditor Callback + SendCKEditorResults ($CKEcallback, $sFileUrl, + ($sErrorNumber != 0 + ? 'Error '. $sErrorNumber. ' upload failed. '. $sErrorMsg + : 'Upload Successful')); + } + + exit ; +} +?> diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/config.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/config.php new file mode 100755 index 00000000000..0e02f6feda2 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/config.php @@ -0,0 +1,170 @@ +syslog->enabled=1; +define('SYSLOG_FILE','c:/log/dolibarr/dolibarr.log'); +require_once("../../../../../../lib/functions.lib.php"); +dol_syslog("eee".$conf->fckeditor->dir_output); +*/ + +// SECURITY: You must explicitly enable this "connector". (Set it to "true"). +// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only +// authenticated users can access this file or use some kind of session checking. +$Config['Enabled'] = true ; + + +// Path to user files relative to the document root. +$Config['UserFilesPath'] = DOL_URL_ROOT.'/viewimage.php?modulepart=fckeditor&file=' ; + +// Fill the following value it you prefer to specify the absolute path for the +// user files directory. Useful if you are using a virtual directory, symbolic +// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. +// Attention: The above 'UserFilesPath' must point to the same directory. +$Config['UserFilesAbsolutePath'] = $dolibarr_main_data_root.'/fckeditor/'; + +// Due to security issues with Apache modules, it is recommended to leave the +// following setting enabled. +$Config['ForceSingleExtension'] = true ; + +// Perform additional checks for image files. +// If set to true, validate image size (using getimagesize). +$Config['SecureImageUploads'] = true; + +// What the user can do with this connector. +$Config['ConfigAllowedCommands'] = array('QuickUpload', 'FileUpload', 'GetFolders', 'GetFoldersAndFiles', 'CreateFolder') ; + +// Allowed Resource Types. +$Config['ConfigAllowedTypes'] = array('File', 'Image', 'Flash', 'Media') ; + +// For security, HTML is allowed in the first Kb of data for files having the +// following extensions only. +$Config['HtmlExtensions'] = array("html", "htm", "xml", "xsd", "txt", "js") ; + +// After file is uploaded, sometimes it is required to change its permissions +// so that it was possible to access it at the later time. +// If possible, it is recommended to set more restrictive permissions, like 0755. +// Set to 0 to disable this feature. +// Note: not needed on Windows-based servers. +$Config['ChmodOnUpload'] = 0775 ; + +// See comments above. +// Used when creating folders that does not exist. +$Config['ChmodOnFolderCreate'] = 0775 ; + +/* + Configuration settings for each Resource Type + + - AllowedExtensions: the possible extensions that can be allowed. + If it is empty then any file type can be uploaded. + - DeniedExtensions: The extensions that won't be allowed. + If it is empty then no restrictions are done here. + + For a file to be uploaded it has to fulfill both the AllowedExtensions + and DeniedExtensions (that's it: not being denied) conditions. + + - FileTypesPath: the virtual folder relative to the document root where + these resources will be located. + Attention: It must start and end with a slash: '/' + + - FileTypesAbsolutePath: the physical path to the above folder. It must be + an absolute path. + If it's an empty string then it will be autocalculated. + Useful if you are using a virtual directory, symbolic link or alias. + Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. + Attention: The above 'FileTypesPath' must point to the same directory. + Attention: It must end with a slash: '/' + + - QuickUploadPath: the virtual folder relative to the document root where + these resources will be uploaded using the Upload tab in the resources + dialogs. + Attention: It must start and end with a slash: '/' + + - QuickUploadAbsolutePath: the physical path to the above folder. It must be + an absolute path. + If it's an empty string then it will be autocalculated. + Useful if you are using a virtual directory, symbolic link or alias. + Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. + Attention: The above 'QuickUploadPath' must point to the same directory. + Attention: It must end with a slash: '/' + + NOTE: by default, QuickUploadPath and QuickUploadAbsolutePath point to + "userfiles" directory to maintain backwards compatibility with older versions of FCKeditor. + This is fine, but you in some cases you will be not able to browse uploaded files using file browser. + Example: if you click on "image button", select "Upload" tab and send image + to the server, image will appear in FCKeditor correctly, but because it is placed + directly in /userfiles/ directory, you'll be not able to see it in built-in file browser. + The more expected behaviour would be to send images directly to "image" subfolder. + To achieve that, simply change + $Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ; + $Config['QuickUploadAbsolutePath']['Image'] = $Config['UserFilesAbsolutePath'] ; + into: + $Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ; + $Config['QuickUploadAbsolutePath']['Image'] = $Config['FileTypesAbsolutePath']['Image'] ; + +*/ + +$Config['AllowedExtensions']['File'] = array('7z', 'aiff', 'asf', 'avi', 'bmp', 'csv', 'doc', 'fla', 'flv', 'gif', 'gz', 'gzip', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'ods', 'odt', 'pdf', 'png', 'ppt', 'pxd', 'qt', 'ram', 'rar', 'rm', 'rmi', 'rmvb', 'rtf', 'sdc', 'sitd', 'swf', 'sxc', 'sxw', 'tar', 'tgz', 'tif', 'tiff', 'txt', 'vsd', 'wav', 'wma', 'wmv', 'xls', 'xml', 'zip') ; +$Config['DeniedExtensions']['File'] = array() ; +$Config['FileTypesPath']['File'] = $Config['UserFilesPath'] . 'file/' ; +$Config['FileTypesAbsolutePath']['File']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'file/' ; +$Config['QuickUploadPath']['File'] = $Config['UserFilesPath'] ; +$Config['QuickUploadAbsolutePath']['File']= $Config['UserFilesAbsolutePath'] ; + +$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ; +$Config['DeniedExtensions']['Image'] = array() ; +$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/' ; +$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/' ; +$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] ; +$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] ; + +$Config['AllowedExtensions']['Flash'] = array('swf','flv') ; +$Config['DeniedExtensions']['Flash'] = array() ; +$Config['FileTypesPath']['Flash'] = $Config['UserFilesPath'] . 'flash/' ; +$Config['FileTypesAbsolutePath']['Flash']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'flash/' ; +$Config['QuickUploadPath']['Flash'] = $Config['UserFilesPath'] ; +$Config['QuickUploadAbsolutePath']['Flash']= $Config['UserFilesAbsolutePath'] ; + +$Config['AllowedExtensions']['Media'] = array('aiff', 'asf', 'avi', 'bmp', 'fla', 'flv', 'gif', 'jpeg', 'jpg', 'mid', 'mov', 'mp3', 'mp4', 'mpc', 'mpeg', 'mpg', 'png', 'qt', 'ram', 'rm', 'rmi', 'rmvb', 'swf', 'tif', 'tiff', 'wav', 'wma', 'wmv') ; +$Config['DeniedExtensions']['Media'] = array() ; +$Config['FileTypesPath']['Media'] = $Config['UserFilesPath'] . 'media/' ; +$Config['FileTypesAbsolutePath']['Media']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'media/' ; +$Config['QuickUploadPath']['Media'] = $Config['UserFilesPath'] ; +$Config['QuickUploadAbsolutePath']['Media']= $Config['UserFilesAbsolutePath'] ; + +?> diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php new file mode 100755 index 00000000000..535a42016ea --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php @@ -0,0 +1,87 @@ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/io.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/io.php new file mode 100755 index 00000000000..459b5fe7110 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/io.php @@ -0,0 +1,320 @@ + 0 ) + return $Config['QuickUploadAbsolutePath'][$resourceType] ; + + // Map the "UserFiles" path to a local directory. + return Server_MapPath( $Config['QuickUploadPath'][$resourceType] ) ; + } + else + { + if ( strlen( $Config['FileTypesAbsolutePath'][$resourceType] ) > 0 ) + return $Config['FileTypesAbsolutePath'][$resourceType] ; + + // Map the "UserFiles" path to a local directory. + return Server_MapPath( $Config['FileTypesPath'][$resourceType] ) ; + } +} + +function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) +{ + return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ; +} + +function RemoveExtension( $fileName ) +{ + return substr( $fileName, 0, strrpos( $fileName, '.' ) ) ; +} + +function ServerMapFolder( $resourceType, $folderPath, $sCommand ) +{ + // Get the resource type directory. + $sResourceTypePath = GetResourceTypeDirectory( $resourceType, $sCommand ) ; + + // Ensure that the directory exists. + $sErrorMsg = CreateServerFolder( $sResourceTypePath ) ; + if ( $sErrorMsg != '' ) + SendError( 1, "Error creating folder \"{$sResourceTypePath}\" ({$sErrorMsg})" ) ; + + // Return the resource type directory combined with the required path. + return CombinePaths( $sResourceTypePath , $folderPath ) ; +} + +function GetParentFolder( $folderPath ) +{ + $sPattern = "-[/\\\\][^/\\\\]+[/\\\\]?$-" ; + return preg_replace( $sPattern, '', $folderPath ) ; +} + +function CreateServerFolder( $folderPath, $lastFolder = null ) +{ + global $Config ; + $sParent = GetParentFolder( $folderPath ) ; + + // Ensure the folder path has no double-slashes, or mkdir may fail on certain platforms + while ( strpos($folderPath, '//') !== false ) + { + $folderPath = str_replace( '//', '/', $folderPath ) ; + } + + // Check if the parent exists, or create it. + if ( !empty($sParent) && !file_exists( $sParent ) ) + { + //prevents agains infinite loop when we can't create root folder + if ( !is_null( $lastFolder ) && $lastFolder === $sParent) { + return "Can't create $folderPath directory" ; + } + + $sErrorMsg = CreateServerFolder( $sParent, $folderPath ) ; + if ( $sErrorMsg != '' ) + return $sErrorMsg ; + } + + if ( !file_exists( $folderPath ) ) + { + // Turn off all error reporting. + error_reporting( 0 ) ; + + $php_errormsg = '' ; + // Enable error tracking to catch the error. + ini_set( 'track_errors', '1' ) ; + + if ( isset( $Config['ChmodOnFolderCreate'] ) && !$Config['ChmodOnFolderCreate'] ) + { + mkdir( $folderPath ) ; + } + else + { + $permissions = 0777 ; + if ( isset( $Config['ChmodOnFolderCreate'] ) ) + { + $permissions = $Config['ChmodOnFolderCreate'] ; + } + // To create the folder with 0777 permissions, we need to set umask to zero. + $oldumask = umask(0) ; + mkdir( $folderPath, $permissions ) ; + umask( $oldumask ) ; + } + + $sErrorMsg = $php_errormsg ; + + // Restore the configurations. + ini_restore( 'track_errors' ) ; + ini_restore( 'error_reporting' ) ; + + return $sErrorMsg ; + } + else + return '' ; +} + +function GetRootPath() +{ + if (!isset($_SERVER)) { + global $_SERVER; + } + $sRealPath = realpath( './' ) ; + // #2124 ensure that no slash is at the end + $sRealPath = rtrim($sRealPath,"\\/"); + + $sSelfPath = $_SERVER['PHP_SELF'] ; + $sSelfPath = substr( $sSelfPath, 0, strrpos( $sSelfPath, '/' ) ) ; + + $sSelfPath = str_replace( '/', DIRECTORY_SEPARATOR, $sSelfPath ) ; + + $position = strpos( $sRealPath, $sSelfPath ) ; + + // This can check only that this script isn't run from a virtual dir + // But it avoids the problems that arise if it isn't checked + if ( $position === false || $position <> strlen( $sRealPath ) - strlen( $sSelfPath ) ) + SendError( 1, 'Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php".' ) ; + + return substr( $sRealPath, 0, $position ) ; +} + +// Emulate the asp Server.mapPath function. +// given an url path return the physical directory that it corresponds to +function Server_MapPath( $path ) +{ + // This function is available only for Apache + if ( function_exists( 'apache_lookup_uri' ) ) + { + $info = apache_lookup_uri( $path ) ; + return $info->filename . $info->path_info ; + } + + // This isn't correct but for the moment there's no other solution + // If this script is under a virtual directory or symlink it will detect the problem and stop + return GetRootPath() . $path ; +} + +function IsAllowedExt( $sExtension, $resourceType ) +{ + global $Config ; + // Get the allowed and denied extensions arrays. + $arAllowed = $Config['AllowedExtensions'][$resourceType] ; + $arDenied = $Config['DeniedExtensions'][$resourceType] ; + + if ( count($arAllowed) > 0 && !in_array( $sExtension, $arAllowed ) ) + return false ; + + if ( count($arDenied) > 0 && in_array( $sExtension, $arDenied ) ) + return false ; + + return true ; +} + +function IsAllowedType( $resourceType ) +{ + global $Config ; + if ( !in_array( $resourceType, $Config['ConfigAllowedTypes'] ) ) + return false ; + + return true ; +} + +function IsAllowedCommand( $sCommand ) +{ + global $Config ; + + if ( !in_array( $sCommand, $Config['ConfigAllowedCommands'] ) ) + return false ; + + return true ; +} + +function GetCurrentFolder() +{ + if (!isset($_GET)) { + global $_GET; + } + $sCurrentFolder = isset( $_GET['CurrentFolder'] ) ? $_GET['CurrentFolder'] : '/' ; + + // Check the current folder syntax (must begin and start with a slash). + if ( !preg_match( '|/$|', $sCurrentFolder ) ) + $sCurrentFolder .= '/' ; + if ( strpos( $sCurrentFolder, '/' ) !== 0 ) + $sCurrentFolder = '/' . $sCurrentFolder ; + + // Ensure the folder path has no double-slashes + while ( strpos ($sCurrentFolder, '//') !== false ) { + $sCurrentFolder = str_replace ('//', '/', $sCurrentFolder) ; + } + + // Check for invalid folder paths (..) + if ( strpos( $sCurrentFolder, '..' ) || strpos( $sCurrentFolder, "\\" )) + SendError( 102, '' ) ; + + if ( preg_match(",(/\.)|[[:cntrl:]]|(//)|(\\\\)|([\:\*\?\"\<\>\|]),", $sCurrentFolder)) + SendError( 102, '' ) ; + + return $sCurrentFolder ; +} + +// Do a cleanup of the folder name to avoid possible problems +function SanitizeFolderName( $sNewFolderName ) +{ + $sNewFolderName = stripslashes( $sNewFolderName ) ; + + // Remove . \ / | : ? * " < > + $sNewFolderName = preg_replace( '/\\.|\\\\|\\/|\\||\\:|\\?|\\*|"|<|>|[[:cntrl:]]/', '_', $sNewFolderName ) ; + + return $sNewFolderName ; +} + +// Do a cleanup of the file name to avoid possible problems +function SanitizeFileName( $sNewFileName ) +{ + global $Config ; + + $sNewFileName = stripslashes( $sNewFileName ) ; + + // Replace dots in the name with underscores (only one dot can be there... security issue). + if ( $Config['ForceSingleExtension'] ) + $sNewFileName = preg_replace( '/\\.(?![^.]*$)/', '_', $sNewFileName ) ; + + // Remove \ / | : ? * " < > + $sNewFileName = preg_replace( '/\\\\|\\/|\\||\\:|\\?|\\*|"|<|>|[[:cntrl:]]/', '_', $sNewFileName ) ; + + return $sNewFileName ; +} + +// This is the function that sends the results of the uploading process. +function SendUploadResults( $errorNumber, $fileUrl = '', $fileName = '', $customMsg = '' ) +{ + // Minified version of the document.domain automatic fix script (#1919). + // The original script can be found at _dev/domain_fix_template.js + echo << +(function(){var d=document.domain;while (true){try{var A=window.parent.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})(); +EOF; + + if ($errorNumber && $errorNumber != 201) { + $fileUrl = ""; + $fileName = ""; + } + + $rpl = array( '\\' => '\\\\', '"' => '\\"' ) ; + echo 'window.parent.OnUploadCompleted(' . $errorNumber . ',"' . strtr( $fileUrl, $rpl ) . '","' . strtr( $fileName, $rpl ) . '", "' . strtr( $customMsg, $rpl ) . '") ;' ; + echo '' ; + exit ; +} + + +// DOL_CHANGE + +// This is the function that sends the results of the uploading process to CKE. +function SendCKEditorResults ($callback, $sFileUrl, $customMsg = '') +{ + echo ''; +} + + +?> diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/phpcompat.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/phpcompat.php new file mode 100755 index 00000000000..6fc89e59316 --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/phpcompat.php @@ -0,0 +1,17 @@ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/util.php b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/util.php new file mode 100755 index 00000000000..71a7a479a6b --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/php/util.php @@ -0,0 +1,220 @@ + $val ) + { + $lcaseHtmlExtensions[$key] = strtolower( $val ) ; + } + return in_array( $ext, $lcaseHtmlExtensions ) ; +} + +/** + * Detect HTML in the first KB to prevent against potential security issue with + * IE/Safari/Opera file type auto detection bug. + * Returns true if file contain insecure HTML code at the beginning. + * + * @param string $filePath absolute path to file + * @return boolean + */ +function DetectHtml( $filePath ) +{ + $fp = @fopen( $filePath, 'rb' ) ; + + //open_basedir restriction, see #1906 + if ( $fp === false || !flock( $fp, LOCK_SH ) ) + { + return -1 ; + } + + $chunk = fread( $fp, 1024 ) ; + flock( $fp, LOCK_UN ) ; + fclose( $fp ) ; + + $chunk = strtolower( $chunk ) ; + + if (!$chunk) + { + return false ; + } + + $chunk = trim( $chunk ) ; + + if ( preg_match( "/= 4.0.7 + if ( function_exists( 'version_compare' ) ) { + $sCurrentVersion = phpversion(); + if ( version_compare( $sCurrentVersion, "4.2.0" ) >= 0 ) { + $imageCheckExtensions[] = "tiff"; + $imageCheckExtensions[] = "tif"; + } + if ( version_compare( $sCurrentVersion, "4.3.0" ) >= 0 ) { + $imageCheckExtensions[] = "swc"; + } + if ( version_compare( $sCurrentVersion, "4.3.2" ) >= 0 ) { + $imageCheckExtensions[] = "jpc"; + $imageCheckExtensions[] = "jp2"; + $imageCheckExtensions[] = "jpx"; + $imageCheckExtensions[] = "jb2"; + $imageCheckExtensions[] = "xbm"; + $imageCheckExtensions[] = "wbmp"; + } + } + + if ( !in_array( $extension, $imageCheckExtensions ) ) { + return true; + } + + if ( @getimagesize( $filePath ) === false ) { + return false ; + } + + return true; +} + +?> diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/test.html b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/test.html new file mode 100755 index 00000000000..a394750bc6f --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/test.html @@ -0,0 +1,210 @@ + + + + + FCKeditor - Connectors Tests + + + + + + + + + + + +
+ + + + + + + + +
+ Connector:
+ +
+     + Current Folder
+
+     + Resource Type
+ +
+
+ + + + + + + + + + +
+ Get Folders +     + Get Folders and Files +     + Create Folder +     +
+ File Upload
+ + +
+
+
+ URL: +
+ +
+ + diff --git a/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/uploadtest.html b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/uploadtest.html new file mode 100755 index 00000000000..9d7b97bd0ed --- /dev/null +++ b/htdocs/includes/fckeditor/editor/filemanagerdol/connectors/uploadtest.html @@ -0,0 +1,192 @@ + + + + FCKeditor - Uploaders Tests + + + + + + + + + + + +
+ + + + + + + + +
+ Select the "File Uploader" to use:
+ +
+ Resource Type
+ +
+ Current Folder:
+ +
       + Custom Uploader URL:
+ +
+
+ + + + + + +
+
+ Upload a new file:
+
+ + +
+
       + Uploaded File URL:
+ +
+
+ Post URL:   +
+ +
+ + diff --git a/htdocs/lib/doleditor.class.php b/htdocs/lib/doleditor.class.php index 37f34b9c544..de045cd9115 100644 --- a/htdocs/lib/doleditor.class.php +++ b/htdocs/lib/doleditor.class.php @@ -188,10 +188,11 @@ class DolEditor { print ','."\n"; // To use filemanager with old fckeditor (GPL) - print ' filebrowserBrowseUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/browser/default/browser.html?Connector='.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/connectors/php/connector.php\', - filebrowserUploadUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/connectors/php/upload.php?Type=File\', - filebrowserImageBrowseUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector='.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/connectors/php/connector.php\', - filebrowserImageUploadUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanager/connectors/php/upload.php?Type=Image\','."\n"; + print ' filebrowserBrowseUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html?Connector='.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php\','; + //print ' filebrowserUploadUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/connectors/php/upload.php?Type=File\','; + print ' filebrowserImageBrowseUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/browser/default/browser.html?Type=Image&Connector='.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/connectors/php/connector.php\','; + //print ' filebrowserImageUploadUrl : \''.DOL_URL_ROOT.'/includes/fckeditor/editor/filemanagerdol/connectors/php/upload.php?Type=Image\','; + print "\n"; // To use filemanager with ckfinder (Non free) and ckfinder directory is inside htdocs/includes /* print ' filebrowserBrowseUrl : \''.DOL_URL_ROOT.'/includes/ckfinder/ckfinder.html\', filebrowserImageBrowseUrl : \''.DOL_URL_ROOT.'/includes/ckfinder/ckfinder.html?Type=Images\',