├── .gitignore ├── Ispconfig_files ├── README.md └── remote.d │ ├── cwispy.inc.php │ └── version.inc.php ├── LICENSE ├── README.md ├── assets ├── css.css ├── elfinder │ ├── css │ │ ├── elfinder.full.css │ │ ├── elfinder.min.css │ │ └── theme.css │ ├── files │ │ ├── .gitkeep │ │ └── .trash │ │ │ └── .gitkeep │ ├── img │ │ ├── arrows-active.png │ │ ├── arrows-normal.png │ │ ├── crop.gif │ │ ├── dialogs.png │ │ ├── edit_aceeditor.png │ │ ├── edit_ckeditor.png │ │ ├── edit_codemirror.png │ │ ├── edit_creativecloud.png │ │ ├── edit_pixlreditor.png │ │ ├── edit_pixlrexpress.png │ │ ├── edit_simplemde.png │ │ ├── edit_tinymce.png │ │ ├── icons-big.png │ │ ├── icons-small.png │ │ ├── logo.png │ │ ├── progress.gif │ │ ├── quicklook-bg.png │ │ ├── quicklook-icons.png │ │ ├── resize.png │ │ ├── spinner-mini.gif │ │ ├── toolbar.png │ │ ├── volume_icon_box.png │ │ ├── volume_icon_dropbox.png │ │ ├── volume_icon_ftp.png │ │ ├── volume_icon_googledrive.png │ │ ├── volume_icon_local.png │ │ ├── volume_icon_onedrive.png │ │ ├── volume_icon_sql.png │ │ └── volume_icon_trash.png │ ├── js │ │ ├── elfinder.full.js │ │ ├── elfinder.min.js │ │ ├── extras │ │ │ ├── editors.default.js │ │ │ ├── editors.default.min.js │ │ │ ├── encoding-japanese.min.js │ │ │ ├── quicklook.googledocs.js │ │ │ └── quicklook.googledocs.min.js │ │ ├── i18n │ │ │ ├── elfinder.LANG.js │ │ │ ├── elfinder.ar.js │ │ │ ├── elfinder.bg.js │ │ │ ├── elfinder.ca.js │ │ │ ├── elfinder.cs.js │ │ │ ├── elfinder.da.js │ │ │ ├── elfinder.de.js │ │ │ ├── elfinder.el.js │ │ │ ├── elfinder.es.js │ │ │ ├── elfinder.fa.js │ │ │ ├── elfinder.fallback.js │ │ │ ├── elfinder.fo.js │ │ │ ├── elfinder.fr.js │ │ │ ├── elfinder.he.js │ │ │ ├── elfinder.hr.js │ │ │ ├── elfinder.hu.js │ │ │ ├── elfinder.id.js │ │ │ ├── elfinder.it.js │ │ │ ├── elfinder.jp.js │ │ │ ├── elfinder.ko.js │ │ │ ├── elfinder.nl.js │ │ │ ├── elfinder.no.js │ │ │ ├── elfinder.pl.js │ │ │ ├── elfinder.pt_BR.js │ │ │ ├── elfinder.ro.js │ │ │ ├── elfinder.ru.js │ │ │ ├── elfinder.si.js │ │ │ ├── elfinder.sk.js │ │ │ ├── elfinder.sl.js │ │ │ ├── elfinder.sr.js │ │ │ ├── elfinder.sv.js │ │ │ ├── elfinder.tr.js │ │ │ ├── elfinder.ug_CN.js │ │ │ ├── elfinder.uk.js │ │ │ ├── elfinder.vi.js │ │ │ ├── elfinder.zh_CN.js │ │ │ ├── elfinder.zh_TW.js │ │ │ └── help │ │ │ │ ├── cs.html.js │ │ │ │ ├── en.html.js │ │ │ │ ├── jp.html.js │ │ │ │ ├── pl.html.js │ │ │ │ └── sk.html.js │ │ └── proxy │ │ │ └── elFinderSupportVer1.js │ ├── php │ │ ├── .tmp │ │ │ └── .htaccess │ │ ├── MySQLStorage.sql │ │ ├── autoload.php │ │ ├── connector.minimal.php-dist │ │ ├── elFinder.class.php │ │ ├── elFinderConnector.class.php │ │ ├── elFinderFlysystemGoogleDriveNetmount.php │ │ ├── elFinderPlugin.php │ │ ├── elFinderSession.php │ │ ├── elFinderSessionInterface.php │ │ ├── elFinderVolumeBox.class.php │ │ ├── elFinderVolumeDriver.class.php │ │ ├── elFinderVolumeDropbox.class.php │ │ ├── elFinderVolumeDropbox2.class.php │ │ ├── elFinderVolumeFTP.class.php │ │ ├── elFinderVolumeGoogleDrive.class.php │ │ ├── elFinderVolumeGroup.class.php │ │ ├── elFinderVolumeLocalFileSystem.class.php │ │ ├── elFinderVolumeMySQL.class.php │ │ ├── elFinderVolumeOneDrive.class.php │ │ ├── elFinderVolumeTrash.class.php │ │ ├── libs │ │ │ └── GdBmp.php │ │ ├── mime.types │ │ ├── plugins │ │ │ ├── AutoResize │ │ │ │ └── plugin.php │ │ │ ├── AutoRotate │ │ │ │ └── plugin.php │ │ │ ├── Normalizer │ │ │ │ └── plugin.php │ │ │ ├── Sanitizer │ │ │ │ └── plugin.php │ │ │ └── Watermark │ │ │ │ ├── logo.png │ │ │ │ └── plugin.php │ │ └── resources │ │ │ ├── image.png │ │ │ └── video.png │ └── sounds │ │ └── rm.wav ├── img │ ├── cron.png │ ├── database.png │ ├── dns.png │ ├── email.png │ ├── emailf.png │ ├── filemanager.png │ ├── ftp.png │ ├── sitebuilder.png │ └── subdomain.png ├── ispcfg3.css └── js │ ├── ajax.js │ └── script.js ├── classes └── ispcfg3_class.php ├── elfinder.connector.php ├── functions └── base.php ├── hooks.php ├── ispcfg3.php ├── lang ├── english.php └── spanish.php ├── templates ├── aliasdomains.tpl ├── cron.tpl ├── databases.tpl ├── dns.tpl ├── email-forwarders.tpl ├── emails.tpl ├── error.tpl ├── file-manager.tpl ├── ftp-accounts.tpl ├── login.tpl ├── sitebuilder.tpl ├── subdomains.tpl ├── usage.tpl └── websites.tpl └── views ├── SiteProApiClient.php ├── aliasdomains.php ├── cron.php ├── databases.php ├── dns.php ├── email-forwarders.php ├── emails.php ├── file-manager.php ├── ftp-accounts.php ├── login.php ├── sitebuilder.php ├── subdomains.php ├── usage.php └── websites.php /.gitignore: -------------------------------------------------------------------------------- 1 | /upgrade/ 2 | /assets/elfinder/ 3 | /functions/aten.php 4 | /functions/rest.php 5 | /functions/fortigate.php 6 | /functions/cwispy_snmp.php 7 | /Ispconfig_files/ 8 | /ispcfg3.2.php 9 | /ispconfig.php.bak 10 | /hooks.2.php 11 | /ispcfg3.old.php -------------------------------------------------------------------------------- /Ispconfig_files/README.md: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * ISPConfig v3.1+ module for WHMCS v7.x or Higher 4 | * Copyright (C) 2014 - 2017 Shane Chrisp 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | 21 | ***************************************************************************** 22 | *** This is no longer needed. You can removed the file from the ISPConfig *** 23 | *** server if you previously uploaded one. *** 24 | 25 | Place the files in the remote.d directory into the Ispconfig3 directory 26 | 27 | /$ISPCONFIG_INSTALL_DIR$/interface/lib/classes/remote.d/ -------------------------------------------------------------------------------- /Ispconfig_files/remote.d/cwispy.inc.php: -------------------------------------------------------------------------------- 1 | . 19 | * 20 | */ 21 | class remoting_cwispy extends remoting { 22 | 23 | public function mailquota_get_by_userid($session_id, $mailuser_id) 24 | { 25 | global $app; 26 | $app->uses('quota_lib'); 27 | 28 | if(!$this->checkPerm($session_id, 'mailquota_get_by_user')) { 29 | $this->server->fault('permission_denied', 'You do not have the permissions to access this function.'); 30 | return false; 31 | } 32 | 33 | $value = $app->quota_lib->get_mailquota_data($client_id, false); 34 | 35 | for ($x=0;$xuses('quota_lib'); 48 | 49 | if(!$this->checkPerm($session_id, 'get_quota_data')) { 50 | $this->server->fault('permission_denied', 'You do not have the permissions to access this function.'); 51 | return false; 52 | } 53 | 54 | $value = $app->quota_lib->get_quota_data( null ); 55 | 56 | for ($x=0;$x -------------------------------------------------------------------------------- /Ispconfig_files/remote.d/version.inc.php: -------------------------------------------------------------------------------- 1 | . 19 | * 20 | */ 21 | class remoting_version extends remoting { 22 | 23 | public function ispconfig_version_get() { 24 | global $app; 25 | 26 | return ISPC_APP_VERSION; 27 | } 28 | 29 | } 30 | 31 | ?> -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # This module is no longer maintained. 2 | 3 | ## ISPConfig module for WHMCS 4 | 5 | * module name: ispcfg3 6 | * Requires ISPConfig 3.1+ 7 | * Requires WHMCS 7+ 8 | 9 | Copyright (C) 2014 - 2018 Shane Chrisp 10 | 11 | ``` 12 | This program is free software: you can redistribute it and/or modify 13 | it under the terms of the GNU General Public License as published by 14 | the Free Software Foundation, either version 3 of the License, or 15 | (at your option) any later version. 16 | 17 | This program is distributed in the hope that it will be useful, 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 | GNU General Public License for more details. 21 | 22 | You should have received a copy of the GNU General Public License 23 | along with this program. If not, see . 24 | ``` 25 | 26 | For discussion and issues with this module, visit our [HowToForge discusion thread](https://www.howtoforge.com/community/threads/new-ispconfig-module-for-whmcs.67824/) 27 | 28 | Please report issues in our HowtoForge thread above. 29 | 30 | This module now requires that you have ISPConfig 3.1 or higher. 31 | It will no longer work with older versions of ISPConfig 32 | 33 | *Installation* 34 | 35 | - Create a directory called *ispcfg3* on your WHMCS server in the modules/servers directory eg: */var/www/whmcs/modules/server/ispcfg3* 36 | - Download the zip file and extract the contents to the directory you just created, or from the shell change into the directory you just and use ```git clone https://github.com/cwispy/ispcfg3.git .``` to download the repository. 37 | - Edit the file ispcfg3.php and make sure that you turn off the display_errors is set to 0 ```ini_set("display_errors", 0);``` 38 | 39 | It is no longer necessary to upload any files into the ispconfig remote.d directory. 40 | 41 | Further setup instrutions can be found in our [GitHub Wiki](https://github.com/cwispy/ispcfg3/wiki) 42 | -------------------------------------------------------------------------------- /assets/css.css: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * ISPConfig v3.1+ module for WHMCS v7.x or Higher 4 | * Copyright (C) 2014 - 2018 Shane Chrisp 5 | * 6 | * This program is free software: you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation, either version 3 of the License, or 9 | * (at your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 | * GNU General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU General Public License 17 | * along with this program. If not, see . 18 | * 19 | */ 20 | .icon-ftp{ 21 | background-image: url("img/ftp.png"); 22 | } 23 | .icon-email{ 24 | background-image: url("img/email.png"); 25 | } 26 | .icon-email-forward{ 27 | background-image: url("img/emailf.png"); 28 | } 29 | .icon-database{ 30 | background-image: url("img/database.png"); 31 | } 32 | .icon-subdomain{ 33 | background-image: url("img/subdomain.png"); 34 | } 35 | .icon-filemanager{ 36 | background-image: url("img/filemanager.png"); 37 | } 38 | .icon-dns{ 39 | background-image: url("img/dns.png"); 40 | } 41 | .icon-sitebuilder{ 42 | background-image: url("img/sitebuilder.png"); 43 | } 44 | .icon-cron{ 45 | background-image: url("img/cron.png"); 46 | } 47 | .icon-header{ 48 | background-repeat: no-repeat; 49 | width:64px; 50 | height:64px; 51 | display:block; 52 | } 53 | .container3 { 54 | width: 80%; 55 | margin: 10px auto 0px auto; 56 | font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 57 | color: #333; 58 | font-size: 14px; 59 | line-height: 16px; 60 | } 61 | /* .error-alert { 62 | padding: 15px; 63 | background-color: #F2DEDE; 64 | border: 1px solid #EBCCD1; 65 | border-radius: 4px; 66 | color: #A94442; 67 | margin: 10px 0; 68 | }*/ 69 | .tbl-websites { 70 | border: none; 71 | border-collapse: collapse; 72 | width: 100%; 73 | } 74 | .tbl-websites th, 75 | .tbl-websites td { 76 | border: 1px solid #DDD; 77 | border-collapse: collapse; 78 | padding: 8px; 79 | text-align: left; 80 | } -------------------------------------------------------------------------------- /assets/elfinder/css/theme.css: -------------------------------------------------------------------------------- 1 | /** 2 | * MacOS X like theme for elFinder. 3 | * Required jquery ui "smoothness" theme. 4 | * 5 | * @author Dmitry (dio) Levashov 6 | **/ 7 | 8 | /* input textarea */ 9 | .elfinder input, 10 | .elfinder textarea { 11 | color: #000; 12 | background-color: #FFF; 13 | } 14 | 15 | /* dialogs */ 16 | .std42-dialog, .std42-dialog .ui-widget-content { background-color:#ededed; background-image:none; background-clip: content-box; } 17 | .elfinder-quicklook-titlebar-icon .ui-icon { 18 | background-color: #d4d4d4; 19 | border-color: #8a8a8a; 20 | } 21 | .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close:hover .ui-icon, 22 | .elfinder-mobile .std42-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon, 23 | .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close:hover, 24 | .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-close { 25 | background-color: #ff6252; 26 | border-color: #e5695d; 27 | } 28 | .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize:hover .ui-icon, 29 | .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-minimize .ui-icon, 30 | .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize:hover, 31 | .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-minimize { 32 | background-color: #ffbc00; 33 | border-color: #e3a40b; 34 | } 35 | .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full:hover .ui-icon, 36 | .elfinder-mobile .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-full .ui-icon, 37 | .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full:hover, 38 | .elfinder-mobile .elfinder-quicklook-titlebar-icon .ui-icon.elfinder-icon-full { 39 | background-color: #26c82f; 40 | border-color: #13ae10; 41 | } 42 | 43 | /* navbar */ 44 | .elfinder .elfinder-navbar { background:#dde4eb; } 45 | .elfinder-navbar .ui-state-hover { color:#000; background-color:#edf1f4; border-color:#bdcbd8; } 46 | .elfinder-navbar .ui-state-active { background: #3875d7; border-color:#3875d7; color:#fff; } 47 | .elfinder-navbar .elfinder-droppable-active {background:#A7C6E5 !important;} 48 | /* disabled elfinder */ 49 | .elfinder-disabled .elfinder-navbar .ui-state-active { background: #dadada; border-color:#aaa; color:#fff; } 50 | 51 | /* workzone */ 52 | .elfinder-workzone { background:#fff; } 53 | 54 | /* current directory */ 55 | /* Is in trash */ 56 | .elfinder-cwd-wrapper.elfinder-cwd-wrapper-trash { 57 | background-color: #f0efef; 58 | } 59 | 60 | /* selected file in "icons" view */ 61 | .elfinder-cwd-view-icons .elfinder-cwd-file .ui-state-hover { background:#ccc; } 62 | 63 | /* type badge in "icons" view */ 64 | .elfinder-cwd-icon:before { 65 | color: white; 66 | background-color: #798da7; 67 | } 68 | .elfinder-cwd-icon-text:before { background-color: #6f99e6 } 69 | .elfinder-cwd-icon-image:before { background-color: #2ea26c } 70 | .elfinder-cwd-icon-audio:before { background-color: #7bad2a } 71 | .elfinder-cwd-icon-video:before { background-color: #322aad } 72 | 73 | /* list view*/ 74 | .elfinder-cwd table thead td.ui-state-hover { background:#ddd; } 75 | .elfinder-cwd table tr:nth-child(odd) { background-color:#edf3fe; } 76 | .elfinder-cwd table tr { 77 | border: 1px solid transparent; 78 | border-top:1px solid #fff; 79 | } 80 | .elfinder-cwd .elfinder-droppable-active td { background:#A7C6E5 !important; } 81 | 82 | 83 | /* common selected background/color */ 84 | .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover, 85 | .elfinder-cwd table td.ui-state-hover, 86 | .elfinder-button-menu .ui-state-hover { background: #3875d7; color:#fff;} 87 | /* disabled elfinder */ 88 | .elfinder-disabled .elfinder-cwd-view-icons .elfinder-cwd-file .elfinder-cwd-filename.ui-state-hover, 89 | .elfinder-disabled .elfinder-cwd table td.ui-state-hover { background:#dadada;} 90 | 91 | /* statusbar */ 92 | .elfinder .elfinder-statusbar { color:#555; } 93 | .elfinder .elfinder-statusbar a { text-decoration:none; color:#555;} 94 | 95 | 96 | .std42-dialog .elfinder-help, .std42-dialog .elfinder-help .ui-widget-content { background:#fff;} 97 | 98 | /* contextmenu */ 99 | .elfinder-contextmenu .ui-state-active { background: #6293df; color:#fff; } 100 | .elfinder-contextmenu .ui-state-hover { background: #3875d7; color:#fff; } 101 | .elfinder-contextmenu .ui-state-hover .elfinder-contextmenu-arrow { background-image:url('../img/arrows-active.png'); } 102 | 103 | /* dialog */ 104 | .elfinder .ui-dialog input:text.ui-state-hover, 105 | .elfinder .ui-dialog textarea.ui-state-hover { 106 | background-image: none; 107 | background-color: inherit; 108 | } 109 | 110 | /* tooltip */ 111 | .elfinder-ui-tooltip.ui-widget-shadow { 112 | box-shadow: 2px 6px 4px -4px #cecdcd; 113 | } 114 | -------------------------------------------------------------------------------- /assets/elfinder/files/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/files/.gitkeep -------------------------------------------------------------------------------- /assets/elfinder/files/.trash/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/files/.trash/.gitkeep -------------------------------------------------------------------------------- /assets/elfinder/img/arrows-active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/arrows-active.png -------------------------------------------------------------------------------- /assets/elfinder/img/arrows-normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/arrows-normal.png -------------------------------------------------------------------------------- /assets/elfinder/img/crop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/crop.gif -------------------------------------------------------------------------------- /assets/elfinder/img/dialogs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/dialogs.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_aceeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_aceeditor.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_ckeditor.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_codemirror.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_codemirror.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_creativecloud.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_creativecloud.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_pixlreditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_pixlreditor.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_pixlrexpress.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_pixlrexpress.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_simplemde.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_simplemde.png -------------------------------------------------------------------------------- /assets/elfinder/img/edit_tinymce.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/edit_tinymce.png -------------------------------------------------------------------------------- /assets/elfinder/img/icons-big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/icons-big.png -------------------------------------------------------------------------------- /assets/elfinder/img/icons-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/icons-small.png -------------------------------------------------------------------------------- /assets/elfinder/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/logo.png -------------------------------------------------------------------------------- /assets/elfinder/img/progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/progress.gif -------------------------------------------------------------------------------- /assets/elfinder/img/quicklook-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/quicklook-bg.png -------------------------------------------------------------------------------- /assets/elfinder/img/quicklook-icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/quicklook-icons.png -------------------------------------------------------------------------------- /assets/elfinder/img/resize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/resize.png -------------------------------------------------------------------------------- /assets/elfinder/img/spinner-mini.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/spinner-mini.gif -------------------------------------------------------------------------------- /assets/elfinder/img/toolbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/toolbar.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_box.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_box.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_dropbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_dropbox.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_ftp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_ftp.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_googledrive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_googledrive.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_local.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_local.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_onedrive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_onedrive.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_sql.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_sql.png -------------------------------------------------------------------------------- /assets/elfinder/img/volume_icon_trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cwispy/ispcfg3/46c40e53816c43230e7ba2f86b267937f2ddc6a3/assets/elfinder/img/volume_icon_trash.png -------------------------------------------------------------------------------- /assets/elfinder/js/extras/quicklook.googledocs.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | (function(root, factory) { 4 | if (typeof define === 'function' && define.amd) { 5 | define(['elfinder'], factory); 6 | } else if (typeof exports !== 'undefined') { 7 | module.exports = factory(require('elfinder')); 8 | } else { 9 | factory(root.elFinder); 10 | } 11 | }(this, function(elFinder) { 12 | try { 13 | if (! elFinder.prototype.commands.quicklook.plugins) { 14 | elFinder.prototype.commands.quicklook.plugins = []; 15 | } 16 | elFinder.prototype.commands.quicklook.plugins.push(function(ql) { 17 | var fm = ql.fm, 18 | preview = ql.preview; 19 | 20 | preview.on('update', function(e) { 21 | var win = ql.window, 22 | file = e.file, node, loading; 23 | 24 | if (file.mime.indexOf('application/vnd.google-apps.') === 0) { 25 | if (file.url == '1') { 26 | $('
').appendTo(ql.info.find('.elfinder-quicklook-info')) 27 | .on('click', function() { 28 | $(this).html(''); 29 | fm.request({ 30 | data : {cmd : 'url', target : file.hash}, 31 | preventDefault : true 32 | }) 33 | .always(function() { 34 | $(this).html(''); 35 | }) 36 | .done(function(data) { 37 | var rfile = fm.file(file.hash); 38 | ql.value.url = rfile.url = data.url || ''; 39 | if (ql.value.url) { 40 | preview.trigger($.Event('update', {file : ql.value})); 41 | } 42 | }); 43 | }); 44 | } 45 | if (file.url !== '' && file.url != '1') { 46 | e.stopImmediatePropagation(); 47 | preview.one('change', function() { 48 | loading.remove(); 49 | node.off('load').remove(); 50 | }); 51 | 52 | loading = $('
Now loading...
').appendTo(ql.info.find('.elfinder-quicklook-info')); 53 | 54 | node = $('