From 0d66a2dab14c34fa5f33b430b4285039c4fd3ec8 Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Sat, 29 Apr 2017 23:04:29 +0300 Subject: [PATCH] Version 18.47 --- .github/ISSUE_TEMPLATE.md | 2 +- CHANGELOG.md | 2 +- LICENSE | 1 - README.md | 4 ++-- THEME.pgp | 1 + VERSION.txt | 2 +- authentic-init.pm | 6 ++--- authentic-lib.pm | 2 +- authentic.pm | 2 +- buttons.pm | 2 +- config | 1 - extensions/csf/csf.css | 2 +- extensions/csf/csf.js | 2 +- extensions/csf/csf.min.css | 2 +- extensions/csf/csf.min.js | 2 +- extensions/file-manager/bookmark.cgi | 2 +- extensions/file-manager/chattr.cgi | 2 +- extensions/file-manager/chcon.cgi | 2 +- extensions/file-manager/chmod.cgi | 2 +- extensions/file-manager/chown.cgi | 2 +- extensions/file-manager/compress.cgi | 2 +- extensions/file-manager/copy.cgi | 2 +- extensions/file-manager/create_file.cgi | 2 +- extensions/file-manager/create_folder.cgi | 2 +- extensions/file-manager/cut.cgi | 2 +- extensions/file-manager/delete.cgi | 2 +- extensions/file-manager/extract.cgi | 2 +- extensions/file-manager/file-manager-lib.pm | 2 +- extensions/file-manager/file-manager.js | 8 +++---- extensions/file-manager/file-manager.min.js | 4 ++-- extensions/file-manager/list.cgi | 2 +- extensions/file-manager/paste.cgi | 2 +- extensions/file-manager/rename.cgi | 2 +- extensions/file-manager/search.cgi | 2 +- extensions/sql.js | 2 +- extensions/sql.min.js | 2 +- help/file-manager.html | 2 +- ...notifications_authentic_remote_version.png | Bin 0 -> 11165 bytes images/notifications_csf_deny.png | Bin 0 -> 17977 bytes images/notifications_csf_remote_version.png | Bin 0 -> 18410 bytes images/notifications_package_message.png | Bin 0 -> 39840 bytes index.cgi | 2 +- lang/en.UTF-8 | 2 ++ lib/JSON.pm | 1 - navigation.pm | 2 +- pam_login.cgi | 2 +- password_form.cgi | 2 +- session_login.cgi | 2 +- settings-editor_read.cgi | 2 +- settings-editor_write.cgi | 2 +- settings-favorites_save.cgi | 2 +- settings-upload.cgi | 2 +- settings-upload_save.cgi | 2 +- settings-user.cgi | 2 +- settings.pm | 2 +- sysinfo.cgi | 2 +- theme-update.sh | 1 - theme.info | 2 +- unauthenticated/css/authentic.css | 2 +- unauthenticated/css/authentic.min.css | 2 +- unauthenticated/css/bundle.min.css | 4 ++-- unauthenticated/css/font-arial.min.css | 2 +- .../css/font-helvetica-neue.min.css | 2 +- .../css/font-open-sans-condensed.min.css | 2 +- unauthenticated/css/font-open-sans.min.css | 2 +- unauthenticated/css/font-sans-serif.min.css | 2 +- unauthenticated/css/font-segoe-ui.min.css | 2 +- .../css/font-system-default.min.css | 2 +- unauthenticated/css/font-tahoma.min.css | 2 +- unauthenticated/css/font-trebuchet-ms.min.css | 2 +- unauthenticated/css/fontbase.css | 2 +- unauthenticated/css/fontbase.min.css | 2 +- unauthenticated/css/fonts-roboto.min.css | 2 +- unauthenticated/css/palettes/brown.min.css | 2 +- unauthenticated/css/palettes/darkblue.min.css | 2 +- unauthenticated/css/palettes/darkgrey.min.css | 2 +- unauthenticated/css/palettes/gold.min.css | 2 +- unauthenticated/css/palettes/green.min.css | 2 +- unauthenticated/css/palettes/grey.min.css | 2 +- unauthenticated/css/palettes/gunmetal.min.css | 2 +- .../css/palettes/indianred.min.css | 2 +- .../css/palettes/lightblue.min.css | 2 +- unauthenticated/css/palettes/noir.min.css | 2 +- unauthenticated/css/palettes/orange.min.css | 2 +- unauthenticated/css/palettes/purple.min.css | 2 +- unauthenticated/css/palettes/red.min.css | 2 +- unauthenticated/css/palettes/white.min.css | 2 +- unauthenticated/js/content.js | 2 +- unauthenticated/js/content.min.js | 2 +- unauthenticated/js/init.js | 2 +- unauthenticated/js/init.min.js | 2 +- unauthenticated/js/parent.js | 12 +++++----- unauthenticated/js/parent.min.js | 4 ++-- unauthenticated/js/postinit.js | 22 ++++++++++-------- unauthenticated/js/postinit.min.js | 4 ++-- update | 2 ++ version | 1 - 97 files changed, 116 insertions(+), 114 deletions(-) create mode 100644 images/notifications_authentic_remote_version.png create mode 100644 images/notifications_csf_deny.png create mode 100644 images/notifications_csf_remote_version.png create mode 100644 images/notifications_package_message.png delete mode 100644 version diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index bf61e930f..d65bb538f 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -1,6 +1,6 @@ Before posting an issue, please search through README.md and closed/opened issues to make sure that the answer to your questions hasn't been answered/discussed already. -Please make sure that you have latest theme (18.46) and Webmin (1.831) versions installed. +Please make sure that you have latest theme (18.47) and Webmin (1.831) versions installed. Provide the following information: * What is your server-side OS and its version? diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a59ed152..869aed61e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ ## Changelog -#### Version 18.46-patch11 (April 29, 2017) +#### Version 18.47 (April 29, 2017) * Added desktop notifications [#734](https://github.com/qooob/authentic-theme/issues/734) * Added improved display and data-grouping for theme's update notice * Fixed bugs [#731](https://github.com/qooob/authentic-theme/issues/731) [#51967](https://www.virtualmin.com/node/51967) diff --git a/LICENSE b/LICENSE index 52b975c21..5fa35a705 100644 --- a/LICENSE +++ b/LICENSE @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - diff --git a/README.md b/README.md index 898613ec2..159779c76 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## Contents * [Changelog](https://github.com/qooob/authentic-theme/blob/master/CHANGELOG.md) -* [Download (18.46)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.46/authentic-theme-18.46.wbt.gz) +* [Download (18.47)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.47/authentic-theme-18.47.wbt.gz) * [About](#about) * [FAQ](#faq) * [Troubleshoot](#troubleshoot) @@ -55,7 +55,7 @@ ### FAQ #### PGP signature verification -After adding theme's [_public key_](https://github.com/qooob/authentic-theme/blob/master/THEME.pgp) to your keyring, you can check that the downloaded file that you want to install is original and unmodified, by verifying its signature with running `gpg --verify authentic-theme-18.46.wbt.gz-sig.asc authentic-theme-18.46.wbt.gz` command in the console. +After adding theme's [_public key_](https://github.com/qooob/authentic-theme/blob/master/THEME.pgp) to your keyring, you can check that the downloaded file that you want to install is original and unmodified, by verifying its signature with running `gpg --verify authentic-theme-18.47.wbt.gz-sig.asc authentic-theme-18.47.wbt.gz` command in the console. #### How to update _Authentic_ Theme manually? Theme can be easily updated manually. Please make sure that you have `git` command installed on your system. Using console, do the following: diff --git a/THEME.pgp b/THEME.pgp index a00f5bc6c..2eecf973e 100644 --- a/THEME.pgp +++ b/THEME.pgp @@ -49,3 +49,4 @@ MMWuifl4006F5imms19cH+UBFx/fSa00ENR1spL5NFvf4E0uY9VgfvGKv7aF1DTg f4W8 =A+Dy -----END PGP PUBLIC KEY BLOCK----- + diff --git a/VERSION.txt b/VERSION.txt index 703dbbd3b..f03b1871d 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -18.46 +18.47 diff --git a/authentic-init.pm b/authentic-init.pm index 1671dd927..2e9b68d1b 100644 --- a/authentic-init.pm +++ b/authentic-init.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -1092,8 +1092,8 @@ sub theme_git_version sub theme_version { my ($switch) = @_; - my $sh__ln__p___version = '18.45'; - my $sh__ln__c___version = '18.46'; + my $sh__ln__p___version = '18.46'; + my $sh__ln__c___version = '18.47'; my $sh__ln__g___version = theme_git_version('uncond'); ( ( !$switch ) && ( $sh__ln__c___version =~ s/\.//ig ) ); ( ( !$switch && $sh__ln__g___version ) diff --git a/authentic-lib.pm b/authentic-lib.pm index d350aab51..c8112399b 100644 --- a/authentic-lib.pm +++ b/authentic-lib.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # diff --git a/authentic.pm b/authentic.pm index ee0ee613a..76f33422f 100644 --- a/authentic.pm +++ b/authentic.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # diff --git a/buttons.pm b/buttons.pm index 02651883d..71273c064 100644 --- a/buttons.pm +++ b/buttons.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # diff --git a/config b/config index 14cca0f0a..cc5848bb2 100644 --- a/config +++ b/config @@ -6,4 +6,3 @@ cs_table=feffff cs_header=ffffff class='thead' cs_link=376ebd - diff --git a/extensions/csf/csf.css b/extensions/csf/csf.css index ae5e68430..fabad37f1 100644 --- a/extensions/csf/csf.css +++ b/extensions/csf/csf.css @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ diff --git a/extensions/csf/csf.js b/extensions/csf/csf.js index a48bdfb34..ba40d8733 100644 --- a/extensions/csf/csf.js +++ b/extensions/csf/csf.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ diff --git a/extensions/csf/csf.min.css b/extensions/csf/csf.min.css index 6251a5ec5..b315bae98 100644 --- a/extensions/csf/csf.min.css +++ b/extensions/csf/csf.min.css @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */.csf table tbody tr th p{padding-top:10px;padding-bottom:0}.csf table tbody tr,.csf table tbody td{padding:2px !important}.csf div#home>form>table button[type="submit"]{opacity:1;pointer-events:auto}.csf div#home>table button[type="submit"]{opacity:.75;pointer-events:none}.csf #upgradetable{margin-top:10px !important}.csf button{background:#fff}.csf .csf-tr form[action*='index.cgi']{margin-left:-2px}.csf #CSFpauseID{margin-top:5px;margin-left:5px;vertical-align:baseline}.csf .csf-box+.csf-box{margin-top:2px}.csf input[name='ip']+br+input[name='comment']{margin-top:1px}.csf select[name='profile1'],.csf select[name='profile2'],.csf select[name='backup']{min-height:200px !important}.csf input[value='rblchecksave']+select[name='freq']{vertical-align:baseline !important}.csf input+select[name='dur']{margin-top:0 !important;margin-bottom:-2px !important}.csf table tbody tr.csf-tr td,.csf table tbody tr.csf-tr{padding:1px 10px 1px 3px !important}.csf table tbody tr.csf-tr td[nowrap]{padding:0 10px 0 3px !important}.csf .panel-body>table ~ table.csf-table.table.table-striped.table-condensed[align='center'][border='0'][cellpadding='4'][cellspacing='0'] tbody tr.csf-tr td,.csf .panel-body>table ~ table.csf-table.table.table-striped.table-condensed[align='center'][border='0'][cellpadding='4'][cellspacing='0'] tbody tr.csf-tr{padding:3px 10px 3px 5px !important}.csf .panel-body>table ~ table.csf-table.table.table-striped.table-condensed[align='center'][border='0'][cellpadding='4'][cellspacing='0'] tbody tr.csf-tr td[nowrap]{padding:2px 10px 2px 5px !important}body.csf table.table.table-striped.table-condensed>thead>tr:first-child,body.csf .table>thead>tr:first-child>th,body.csf .table>thead>tr:first-child>td{border-top:1px solid #eaeaea !important}.csf #grep input.collapse,.csf #qallow input.collapse,.csf #qdeny input.collapse,.csf #qignore input.collapse,.csf #kill input.collapse,.csf #tempdeny input.collapse{display:none}.csf .csf-box>form[action='index.cgi']>input[type='submit'],.csf select[name='freq']+input[name='email']+input[type='submit'],.csf button[onclick='CSFrefreshtimer()'].input{vertical-align:middle !important}.csf .circles{position:absolute;margin-top:12px;text-align:right}.csf .circle i{font-size:13px;display:block;margin-top:1px;margin-right:2px;opacity:.50;color:#fff}.csf .circle{position:relative;display:inline-block;float:right;width:15px;height:15px;margin-left:10px;cursor:help;border-radius:50%}.csf .circle.success{background:#5cb85c}.csf .circle.info{background:#5bc0de}.csf .circle.warning{background:#f0ad4e}.csf .circle.danger{background:#d9534f}.csf .circle+.circle{margin-right:-5px}.csf .circles .tooltip-inner{min-width:180px !important;max-width:320px !important}html[data-post='status'] .CodeMirror pre{white-space:pre-wrap;word-wrap:break-word}html[data-post='servercheck'] div[style*="clear: both;padding"] strong,.csf a[data-toggle='tab']{font-weight:400}html[data-post='temp'] .dataTables_wrapper+div{text-align:center}html[data-post='temp'] .dataTables_wrapper+div a.btn-xxs{cursor:pointer}html[data-module='csf'][data-post='viewlogs']:not([data-background-style="nightRider"]) .col_header_custom.big_big,html[data-post='temp'] body.csf .table>thead>tr:first-child>th{border-top:2px solid #f0f0f0 !important;vertical-align:middle !important}html[data-module='csf'][data-post='viewlogs']:not([data-background-style="nightRider"]) .col_header_custom.big_big{border-top-width:3px}html[data-post='viewlogs'] .dataTables_wrapper .table tbody tr.odd{background-color:#fff}html[data-post='viewlogs'] .dataTables_wrapper .table tbody tr.submenu{background-color:#ffffe4 !important}html[data-post='viewlogs'] .table.table-striped.table-condensed tbody tr:not(.submenu):hover{background-color:#ebf2fc !important}html[data-post='viewlogs'] .table.table-striped.table-condensed tbody tr:not(.submenu){cursor:pointer}html[data-post='viewlogs'] button.fa.fa-1_25x{display:none}html[data-post='temp'] tr td .btn{visibility:hidden;margin-top:-4px}html[data-post='temp'] tr:hover td .btn{visibility:visible}html[data-post='temp'] tr td .btn.btn-danger{margin-left:-3px}div[style*=': 1px solid #DDDDDD']{border-color:#eaeaea !important}html[data-post='logtail'] .panel .panel-body .panel,html[data-post='loggrep'] .panel .panel-body .panel{border:1px solid #eaeaea !important}.__csf__{pointer-events:none;opacity:0}.csf form input+input{vertical-align:bottom !important}.csf form .comment .fst-ln-c{font-weight:500}.csf form .comment{font-size:13px;margin-top:-1px;padding:10px;border:1px solid #e4e4e4;border-top:1px solid #f0f0f0;border-bottom:0}.csf form .section{border:1px solid #eaeaea;border-top:3px solid #f1f1f1;background:#fff}.csf form .comment+.value-other+.value-default,.csf form .comment+.value-default+br+.value-default{margin-top:-1px}.csf form .comment+br,.csf form .section+br{display:none !important}.csf form .section+br+.comment{margin-top:-1px}.csf form .value-other>tbody tr td,.csf form .value-other>tbody{border:0 !important}.csf .btn:not(.btn-xxs):not(.btn-tiny):not(.ui_link_replaced).btn-csf-config{font-size:13px;margin-top:-2px;padding:4px 17px}.csf .btn:not(.btn-xxs):not(.btn-tiny):not(.ui_link_replaced).btn-csf-config.active{color:#fff !important;border-color:#4cae4c !important;background-color:#5cb85c !important}.csf form .section{background-color:#f7f7f7}.csf .panel-body .table-subtable tr th:not(.table-title),.csf .panel-body tr th:not(.table-title){padding:5px 22px !important}html[data-post='servercheck'] div[style*="clear: both;padding"],.table thead tr th,.csf form .section,.csf tbody tr th{font-size:18px;font-weight:normal;padding-top:6px;padding-bottom:7px;text-align:center;vertical-align:bottom !important;background-color:#f6f6f6 !important}html[data-post='servercheck'] div[style*="clear: both;padding"]{padding-top:4px !important;padding-bottom:4px !important}.csf .table th,.csf .dataTable th{font-size:14px}html[data-post='profiles'] .table thead tr th,html[data-post=''] .table thead tr th{font-size:18px}.csf form .value-other>table,.csf form .value-default>tbody,.csf form .value-other>tr td,.csf form .value-default>tbody tr td{border-color:transparent !important}.csf form .value-default+.value-default,.csf form .value-other+.value-other{border-top:0}.csf form .value-other>tr,.csf form .value-default>tbody tr{background:#fff}.csf form .value-other>table,.csf form .value-default{margin:0 !important}html[data-post='conf'] .csf select{vertical-align:bottom !important}.csf form .value-other,.csf form .value-default{font-size:12px;padding:0;border:1px solid #e9e9e9;border-top:1px solid #f0f0f0;background:#fbfbfb}.csf form .value-other>b,.csf form .value-default>b{display:inline-block;margin-top:7px;margin-bottom:7px;padding:4px}.csf form .value-other>input,.csf form .value-default>input,.csf form .value-other>select,.csf form .value-default>select{margin-top:1px;margin-bottom:3px}.csf form .value-other>b+input[type='text'],.csf form .value-default>b+input[type='text'],.csf form .value-other>b+select.heighter-34,.csf form .value-default>b+select.heighter-34{font-size:13px !important;height:28px !important;min-height:28px !important;max-height:28px !important;padding-top:2px !important;padding-bottom:2px !important}.csf img[src*='csfimages/plus.png']+.fa-minus-circle:before,.csf img[src*='csfimages/plus.png']+.fa-plus-circle:before{content:'\f05e' !important;color:#449d44 !important}.csf img[src*='csfimages/minus.png']+.fa-minus-circle:before,.csf img[src*='csfimages/minus.png']+.fa-plus-circle:before{content:'\f02a' !important;color:#c9302c !important}.csf form fieldset legend{margin-bottom:0 !important}.csf form fieldset legend b{font-size:16px !important;font-weight:normal !important;line-height:26px !important;display:block;margin-right:-1px;padding:2px 0 !important;text-align:center !important;border:1px solid #f0f0f0 !important;border-top:3px solid #f0f0f0 !important;background-color:#f7f7f7 !important}html[data-module='csf'] body{overflow:hidden;pointer-events:none;opacity:0}html[data-post=''] button[value='denyf']{color:#fff !important;border-color:#eea236 !important;background-color:#f0ad4e !important}html[data-post=''] button[value='denyf']:active,html[data-post=''] button[value='denyf']:focus,.csf td>form[action='index.cgi']>input[value='denyf']+input[type='submit']:hover{color:#fff !important;border-color:#d58512 !important;background-color:#ec971f !important}html[data-post=''] button[value='disable']{color:#fff !important;border-color:#992020 !important;background-color:#bd1e1e !important}html[data-post=''] button[value='disable']:active,html[data-post=''] button[value='disable']:focus,html[data-post=''] button[value='disable']:hover{color:#fff !important;border-color:#992020 !important;background-color:#ad2828 !important}html[data-post=''] button[value='enable']{color:#fff !important;border-color:#4cae4c !important;background-color:#5cb85c !important}html[data-post=''] button[value='enable']:active,html[data-post=''] button[value='enable']:focus,html[data-post=''] button[value='enable']:hover{color:#fff !important;border-color:#398439 !important;background-color:#449d44 !important}.csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit'],html[data-post=''] button[value='restart']{color:#fff !important;border-color:#46b8da !important;background-color:#5bc0de !important}.csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:active,.csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:focus,.csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:hover,html[data-post=''] button[value='restart']:active,html[data-post=''] button[value='restart']:focus,html[data-post=''] button[value='restart']:hover{color:#fff !important;border-color:#269abc !important;background-color:#31b0d5 !important}.csf input#csfreturn{color:#fff !important;border-color:#357ebd !important;background-color:#428bca !important}.csf input#csfreturn:active,.csf input#csfreturn:focus,.csf input#csfreturn:hover{color:#fff !important;border-color:#285e8e !important;background-color:#3071a9 !important}.csf .csf-table{padding:2px !important;border:1px solid #eee !important;border-radius:0 !important}.csf script+.csf-table+.csf-table,.csf script+.csf-table{border:1px solid transparent !important}.csf a[target='_blank']:hover:not(.btn-xxs){text-decoration:underline}.csf table tbody tr[bgcolor='#F4F4EA']{background:#fff !important}.csf td.section-comment{width:80%;background:#fff !important}.csf td.section-full,.csf td.section-ok{font-style:italic;width:20%;color:#fff;border:1px solid #398439 !important;border-top:none !important;background-color:#449d44 !important}.csf td.section-gap{line-height:0 !important;margin:0 !important;padding:1px !important;background-color:#fff !important}.csf td.section-title{font-size:18px;text-align:center;color:#333;border:1px solid #eaeaea !important}.csf td.section-warning{color:#fff;border:1px solid #d58512 !important;border-top:none !important;background-color:#ec971f !important}.csf .footer_module_index_top:hover{color:#23527c}.csf .footer_module_index_top{line-height:19px;float:left;height:34px !important;margin-top:9px;margin-right:-38px !important;margin-left:0;color:#ccc;border-color:#ddd}.mobilecontainer{display:none !important}.normalcontainer{display:block !important}html>body{background-color:Gainsboro !important}html[data-module='csf'] .csf-tr form[action*='index.cgi'] select.heighter-34{margin-left:0 !important}html[data-module='csf'] .csf-tr form[action*='index.cgi'] select.heighter-34+input{margin-left:-4px !important}html[data-module='csf'] .csf-tr form[action*='index.cgi'] select.heighter-34[name='template']+input,html[data-module='csf'] .csf-tr form[action*='index.cgi'] select.heighter-34[name='template']{margin-top:0 !important;margin-bottom:0 !important}html[data-module='csf'] .csf-tr form[action*='index.cgi'] input[value='upgrade']+input.heighter-34{margin-left:1px !important}html[data-module='csf'] .custom_table_head td b{font-size:15px;font-weight:400 !important}html[data-module='csf'] .csf-switch-field .awobject{display:inline-block;margin-top:-10px !important;margin-bottom:10px !important}html[data-post='viewlogs'] .table.dataTable>thead>tr:first-child>th,html[data-post='viewlogs'] .table.table.table-striped.table-condensed>thead>tr:first-child,html[data-post='viewlogs'] .table.table.table-striped.table-condensed>thead>tr:first-child,table.dataTable{border-top-width:1px !important}html[data-module='csf'] .col_header_custom{line-height:27px !important;height:36px !important;margin-bottom:5px !important}html[data-module='csf'] .col_header_custom.big_big{border-bottom-color:transparent !important;background-color:#f6f6f6 !important;line-height:25px !important}html[data-post='servercheck']:not([data-background-style="nightRider"]) div[style*="clear: both;padding"],html[data-module='csf']:not([data-background-style="nightRider"]) .col_header_custom.big_big{border-top:1px solid #eaeaea !important}html[data-post='viewports'] .col_header_custom{line-height:25px !important;height:34px}html[data-module='csf'] .bs-callout{margin:10px 0;padding:8px 6px 4px 6px;border:1px solid #eaeaea;border-left-width:3px;border-radius:0}html[data-module='csf'] .bs-callout h4{margin-top:0;margin-bottom:5px}html[data-module='csf'] .bs-callout p:last-child{margin-bottom:0}html[data-module='csf'] .bs-callout code{border-radius:0}html[data-module='csf'] .bs-callout+.bs-callout{margin-top:-5px}html[data-module='csf'] .bs-callout-success{border-left-color:#5cb85c;background-color:#edf7ed}html[data-module='csf'] .bs-callout-success h4{color:#5cb85c}html[data-module='csf'] .bs-callout-info{border-left-color:#5bc0de;background-color:#eaf7fb}html[data-module='csf'] .bs-callout-info h4{color:#5bc0de}html[data-module='csf'] .bs-callout-warning{border-left-color:#f0ad4e;background-color:#fdf4e8}html[data-module='csf'] .bs-callout-warning h4{color:#f0ad4e}html[data-module='csf'] .bs-callout-danger{border-left-color:#d9534f;background-color:#faebea}html[data-module='csf'] .bs-callout-danger h4{color:#d9534f}html[data-module='csf'] .tab-pane>.table.table-striped.table-condensed,html[data-module='csf'] .table.table-striped.table-condensed+.table.table-striped.table-condensed{margin-top:10px !important}html[data-module='csf'] .tab-pane>.table.table-striped.table-condensed tr:first-child>th:first-child,html[data-module='csf'] .table.table-striped.table-condensed+.table.table-striped.table-condensed tbody>tr:first-child,html[data-module='csf'] .table.table-striped.table-condensed+.table.table-striped.table-condensed tr:first-child>th:first-child{border-top:3px solid #f0f0f0}.csf form .value-default+br,.csf form .value-other+br,html[data-module='csf'] a#MobileView,html[data-module='csf'] a#toplink,html[data-module='csf'] a#botlink,html[data-module='csf'] div#loader{display:none !important}html[data-module='csf'] .icon-configserver{font-size:100% !important;display:inline-block !important;padding:0 4px 0 1px;vertical-align:top;color:#aaa}html[data-module='csf'] code{font-size:90%;padding:2px 4px;text-decoration:underline;color:#333;border-radius:0;background-color:transparent}html[data-module='csf'] ._btn-changelog{margin-top:-3px}html[data-module='csf'] ._btn-changelog i{margin-right:5px;margin-left:-3px}html[data-module='csf'] #CSFajax .panel-body,html[data-module='csf'] .panel-body>form>.panel.panel-default>.panel-body>.panel-body,html[data-module='csf'] .panel._devcon .panel-body{box-shadow:none}html[data-module='csf'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'] .panel._devcon .panel-heading{font-size:18px;padding:6.5px;border-bottom:1px solid #e4e4e4;box-shadow:none}html[data-module='csf'] .panel._devcon{border-color:#eaeaea;border-top-width:1px;box-shadow:none}html[data-module='csf'] .footer-string{font-size:11px;color:#999;border-top:1px solid #eaeaea}html[data-module='csf'] .footer-string a{cursor:pointer;color:#5a799c}html[data-module='csf'] .panel-footer{margin-bottom:-15px;padding:4px 0 0 0;border-top:0;border-radius:0;background:transparent}html[data-module='csf'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading{line-height:21px;padding:0 6.5px;text-align:center;border:1px solid #f0f0f0;border-bottom:0;background-color:#f7f7f7}html[data-module='csf'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading code{font-size:13px;display:block;margin-top:-5px;margin-bottom:-6px;text-decoration:none}html[data-module='csf'] .panel-body>form>.panel.panel-default>.panel-body>.panel-body{padding:1px;border:1px solid #eaeaea}html[data-module='csf'] form>.panel.panel-default>.panel-body,html[data-module='csf'] form>.panel.panel-default{border-color:transparent;box-shadow:none}html[data-module='csf'] div.panel-body>div+hr{margin-top:10px}html[data-module='csf'] div.panel-body>div[style*='background: #F4F4EA']{border-radius:0 !important;background-color:#f7f7f7 !important}html[data-module='csf'] div.panel-body>div[style*='background: #F4F4EA']+div[style*='background']{border-top:0 !important}html[data-module='csf'] table[align='center'] tbody tr td div[style*='border-radius']{margin-bottom:10px;border-radius:0 !important}.csf form[action="index.cgi"]>input[type="submit"],html[data-module='csf'][data-post=''] input[name='ip']{vertical-align:middle !important}html[data-module='csf'][data-post=''] select.heighter-34+button,html[data-module='csf'][data-post=''] input.heighter-34:not(.btn-lg):not(.ui_form_end_submit)+select.heighter-34,html[data-module='csf'][data-post=''] select.heighter-34,html[data-module='csf'][data-post=''] .btn.heighter-34:not(.btn-lg):not(.ui_form_end_submit){font-size:14px !important;line-height:16px !important;height:31px !important;min-height:31px !important;max-height:31px !important;margin-left:0 !important}html[data-module='csf'][data-post=''] select.heighter-34+button[type='submit'],html[data-module='csf'][data-post=''] select[name='ignorefile'].heighter-34+input[type='submit'].btn.btn-default.heighter-34{margin-left:-3px !important}html[data-post='viewports'] .dataTables_wrapper table.dataTable{margin-top:3px !important;border-top:0 !important}html[data-module='csf'] hr+div>form[action='index.cgi']>button[type='submit']{margin-top:-2px}html[data-module='csf'] .btn-group-csf-home{position:absolute;top:19px;left:15px}html[data-module='csf'] .btn-group-csf-home a{border:1px solid #ddd}html[data-module='csf'] .btn-group-csf-home a.ported_module_csf_help{cursor:help}html[data-module='csf']:not([data-background-style="nightRider"]) .table-striped>tbody>tr:nth-child(even){background-color:#f7f7f7}html[data-module='csf']:not([data-background-style="nightRider"]) .table-striped>tbody>tr:nth-child(odd){background-color:#fff}html[data-post='profiles'] input[name='backup']+input{vertical-align:middle !important}html[data-post='profiles'] input[value='profilerestore']+table tbody tr td,html[data-post='profiles'] input[value='profilediff']+table tbody tr td{text-align:center}html[data-post='profiles'] th[style*='#990000']{border-left:1px solid transparent !important}html[data-post='profiles'] td[style*='#990000']{text-align:center;border-left:1px solid #eaeaea !important}html[data-post='profiles'] body>div>div>div.panel-body>form:nth-child(1)>table>thead>tr>th:nth-child(1),html[data-post='profiles'] input[value='profileapply']+table tbody tr:first-child th:first-child{padding-left:150px !important}.csf form[action='index.cgi'] button.__restart,html[data-post='csftest'] form[action='index.cgi'] input[value='restart']+input,html[data-post='profileapply'] form[action='index.cgi'] input[value='restartboth']+input{margin-bottom:10px !important}.csf [style*='background: #BDECB6'],.csf [style*='background:#BDECB6']{background-color:#e3ffdd !important}.csf [style*='background: #FFD1DC'],.csf [style*='background:#FFD1DC']{background-color:#fdd !important}.csf [style*='background: #FFD1DC'][style*='border'],.csf [style*='background:#FFD1DC'][style*='border']{border-bottom-color:#ddd !important}.csf [style*='background: #990000'],.csf [style*='background:#990000']{background-color:#d04646 !important}.csf div+div[style*='text-align:center;border:1px solid #DDDDDD;width:500px']{border-top:0 !important}html[data-post=''] input[name='comment']{margin-top:2px}html[data-module='csf'] #DataTables_Table_0>thead>tr>th:nth-child(1){opacity:1 !important}html[data-module='csf'] #DataTables_Table_0>thead>tr>th:nth-child(1){background:0}html[data-background-style='nightRider'] .csf form .value-other,html[data-background-style='nightRider'] .csf form .value-default,html[data-background-style='nightRider'] .csf form .comment,html[data-background-style='nightRider'] .csf form .section{background-color:#2f3237;border-color:#383a40;border-top-width:1px}html[data-background-style='nightRider'] .csf .btn:not(.btn-xxs):not(.btn-tiny):not(.ui_link_replaced).btn-csf-config.active{color:#bfc9d3 !important;border-color:rgba(27,191,137,.45) !important;background-color:rgba(27,191,137,.07) !important}html[data-module='csf'][data-background-style='nightRider'] .tab-pane>.table.table-striped.table-condensed tr:first-child>th:first-child,html[data-module='csf'][data-background-style='nightRider'] .table.table-striped.table-condensed+.table.table-striped.table-condensed tbody>tr:first-child,html[data-module='csf'][data-background-style='nightRider'] .table.table-striped.table-condensed+.table.table-striped.table-condensed tr:first-child>th:first-child{border-top-color:#3d3f43 !important;border-top-width:1px;background-color:#2d3036}html[data-background-style='nightRider'] hr,html[data-module='csf'][data-background-style='nightRider'] .csf .footer-string{border-top-color:#3d3f43 !important;border-top-width:1px}html[data-post=''][data-background-style='nightRider'] body>div>div>div.panel-body>div:nth-child(2)>div>div.panel-body{background-color:#2d3036 !important}html[data-post=''][data-background-style='nightRider'] button[value='denyf']{color:#bfc9d3 !important;border-color:rgba(247,175,62,.68) !important;background-color:rgba(247,175,62,.07) !important}html[data-post=''][data-background-style='nightRider'] button[value='denyf']:active,html[data-post=''][data-background-style='nightRider'] button[value='denyf']:focus,html[data-post=''][data-background-style='nightRider'] button[value='denyf']:hover,html[data-background-style='nightRider'] .csf td>form[action='index.cgi']>input[value='denyf']+input[type='submit']:hover{color:#fff !important;border-color:#f7af3e !important;outline:0 !important;background-color:rgba(247,175,62,.1) !important;box-shadow:none !important}html[data-post=''][data-background-style='nightRider'] button[value='disable']{color:#bfc9d3 !important;border-color:rgba(219,82,75,.69) !important;background-color:rgba(219,82,75,.07) !important}html[data-post=''][data-background-style='nightRider'] button[value='disable']:active,html[data-post=''][data-background-style='nightRider'] button[value='disable']:focus,html[data-post=''][data-background-style='nightRider'] button[value='disable']:hover{color:#fff !important;border-color:#db524b !important;outline:0 !important;background-color:rgba(219,82,75,.1) !important;box-shadow:none !important}html[data-post=''][data-background-style='nightRider'] button[value='enable']{color:#bfc9d3 !important;border-color:rgba(27,191,137,.55) !important;background-color:rgba(27,191,137,.07) !important}html[data-post=''][data-background-style='nightRider'] button[value='enable']:active,html[data-post=''][data-background-style='nightRider'] button[value='enable']:focus,html[data-post=''][data-background-style='nightRider'] button[value='enable']:hover{color:#fff !important;border-color:#1bbf89 !important;outline:0 !important;background-color:rgba(27,191,137,.1) !important;box-shadow:none !important}html[data-background-style='nightRider'] .csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit'],html[data-post=''][data-background-style='nightRider'] button[value='restart']{color:#bfc9d3 !important;border-color:rgba(86,192,224,.72) !important;background-color:rgba(86,192,224,.07) !important}html[data-background-style='nightRider'] .csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:active,html[data-background-style='nightRider'] .csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:focus,html[data-background-style='nightRider'] .csf td>form[action='index.cgi']>input[value='lfdrestart']+input[type='submit']:hover,html[data-post=''][data-background-style='nightRider'] button[value='restart']:active,html[data-post=''][data-background-style='nightRider'] button[value='restart']:focus,html[data-post=''][data-background-style='nightRider'] button[value='restart']:hover{color:#fff !important;border-color:#56c0e0 !important;outline:0 !important;background-color:rgba(86,192,224,.1) !important;box-shadow:none !important}html[data-background-style='nightRider'] body.csf .table>thead>tr:first-child>th,html[data-background-style='nightRider'] body.csf .table>tbody>tr:first-child>th,html[data-background-style='nightRider'] body.csf table>tfoot>tr:first-child>th,html[data-background-style='nightRider'] body.csf .table>thead>tr:first-child>td,html[data-background-style='nightRider'] body.csf .table>tfoot>tr:first-child>td{border-top:1px solid #3a3c41 !important}html[data-module='csf'][data-background-style='nightRider'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading{border:1px solid #424449;background-color:#2d3036}html[data-background-style='nightRider'] code{background-color:#2d3036 !important}html[data-module='csf'][data-background-style='nightRider'] .panel-body>form>.panel.panel-default>.panel-body>.panel-body{border-color:#424449}html[data-module='csf'][data-background-style='nightRider'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading{border-bottom:0}html[data-module='csf'][data-background-style='nightRider'] div.panel-body>div[style*='background: #F4F4EA']{background-color:#2d3036 !important;border-color:#3d3f43 !important}html[data-module='csf'][data-background-style='nightRider'] [style*='border-right: 1px solid #DDDDDD']{border-color:rgba(61,63,67,0.85) !important}html[data-module='csf'][data-background-style='nightRider'] [style*='background:#FFD1DC'],html[data-module='csf'][data-background-style='nightRider'] [style*='background: #FFD1DC']{border-color:rgba(61,63,67,0.85) !important;outline:0 !important;background-color:rgba(219,82,75,.1) !important}html[data-module='csf'][data-background-style='nightRider'] [style*='background:#BDECB6'],html[data-module='csf'][data-background-style='nightRider'] [style*='background: #BDECB6']{background-color:rgba(27,191,137,.1) !important;border-color:rgba(61,63,67,0.85) !important}html[data-module='csf'][data-background-style='nightRider'] [style*='background: #FFFDD8'],html[data-module='csf'][data-background-style='nightRider'] [style*='background:#FFFDD8']{background-color:rgba(247,175,62,.1) !important}html[data-module='csf'][data-background-style='nightRider'] [style*='border: 1px solid #DDDDDD'],html[data-module='csf'][data-background-style='nightRider'] [style*='border:1px solid #DDDDDD']{border-color:rgba(61,63,67,0.85) !important}html[data-module='csf'][data-background-style='nightRider'] [style*='background: #990000'],html[data-module='csf'][data-background-style='nightRider'] [style*='background:#990000']{background-color:#a84b4b !important}html[data-post='logtail'][data-background-style='nightRider'] .panel .panel-body .panel,html[data-post='loggrep'][data-background-style='nightRider'] .panel .panel-body .panel{border:1px solid #424449 !important}html[data-module='csf'][data-post="allow"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="deny"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="redirect"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="ignorefiles"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="dirwatch"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="dyndns"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="templates"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="logfiles"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="blocklists"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="syslogusers"] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-post="viewports"]:not([data-background-style="nightRider"]) body.csf .panel-body h4.col_header_custom{border-top:3px solid #f0f0f0 !important}html[data-module='csf'][data-post="viewports"] body.csf .table>thead>tr:first-child>th,html[data-module='csf'][data-post="viewports"] body.csf .table>thead>tr:first-child>td{border-top-width:1px}html[data-post='viewports'][data-background-style='nightRider'] .col_header_custom{border-top:1px solid #393b40 !important;border-right:1px solid #393b40 !important;border-left:1px solid #393b40 !important}html[data-module='csf'][data-background-style='nightRider'] .col_header_custom.big_big{background-color:#292c32 !important;border-left:1px solid #3a3c41 !important;border-right:1px solid #3a3c41 !important}html[data-module='csf'][data-background-style='nightRider'] .dataTables_wrapper .dataTables_empty:hover,html[data-module='csf'][data-background-style='nightRider'] .dataTables_wrapper .dataTables_empty{background-color:#2f3237}html[data-module='csf'][data-background-style='nightRider'] .table thead tr th,html[data-module='csf'][data-background-style='nightRider'] .csf form .section,html[data-module='csf'][data-background-style='nightRider'] .csf tbody tr th{background-color:#292c32 !important}html[data-module='csf'][data-background-style='nightRider'] #home>form:nth-child(1)>table>thead>tr>th,html[data-module='csf'][data-background-style='nightRider'] .panel._devcon .panel-heading{border-bottom:1px solid #252729 !important}html[data-module='csf'][data-background-style='nightRider'] body>div>div>div.panel-body>div:nth-child(2)>div>div.panel-heading,html[data-module='csf'][data-background-style='nightRider'] .panel{color:rgba(151,155,160,.82) !important}html[data-module='csf'][data-background-style='nightRider'] .cspinner .cspinner-icon.dark{border-top-color:#70737b;border-left-color:#5d5c5c}html[data-post='viewlogs'][data-background-style='nightRider'] .table.table-striped.table-condensed tbody tr:not(.submenu):nth-child(odd){background-color:#2f3237}html[data-post='viewlogs'][data-background-style='nightRider'] .table.table-striped.table-condensed tbody tr:not(.submenu):hover{background-color:#393737 !important}html[data-post='viewlogs'][data-background-style='nightRider'] .dataTables_wrapper .table tbody tr.submenu{background-color:#3d353b !important}html[data-post='viewlogs'][data-background-style='nightRider'] table.dataTable{border-top:0 !important}html[data-module='csf'][data-background-style='nightRider'] .panel-body>form>.panel.panel-default>.panel-body>.panel-heading,html[data-module='csf'][data-background-style='nightRider'] .panel._devcon .panel-heading,html[data-module='csf'][data-background-style='nightRider'] .panel._devcon{border-color:#3a3e43}html[data-post='servercheck'][data-background-style='nightRider'] div[style*="clear: both;padding"]{padding-top:5px !important;padding-bottom:6px !important}html[data-post=''][data-module='csf'][data-background-style='nightRider'] div#home table tr:nth-child(even) td{background-color:#2a2d31 !important}html[data-post='chart'][data-background-style='nightRider'] td{border-color:#252729}html[data-post='chart'][data-background-style='nightRider'] td img{filter:sepia(60%) invert(82%) grayscale(40%) contrast(93%) saturate(3) hue-rotate(330deg);-webkit-filter:sepia(60%) invert(82%) grayscale(40%) contrast(93%) saturate(3) hue-rotate(330deg)}html[data-background-style='nightRider'] .csf .circle.success{background-color:rgba(27,191,137,0.40)}html[data-background-style='nightRider'] .csf .circle.info{background-color:rgba(91,192,222,0.42)}html[data-background-style='nightRider'] .csf .circle.warning{background-color:rgba(173,112,27,0.56)}html[data-background-style='nightRider'] .csf .circle.danger{background-color:rgba(217,83,79,0.57)} \ No newline at end of file diff --git a/extensions/csf/csf.min.js b/extensions/csf/csf.min.js index 58e3c43de..068508de3 100644 --- a/extensions/csf/csf.min.js +++ b/extensions/csf/csf.min.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ diff --git a/extensions/file-manager/bookmark.cgi b/extensions/file-manager/bookmark.cgi index 775affcd8..9fed080a4 100755 --- a/extensions/file-manager/bookmark.cgi +++ b/extensions/file-manager/bookmark.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/chattr.cgi b/extensions/file-manager/chattr.cgi index a57cc0374..ae6f3c927 100755 --- a/extensions/file-manager/chattr.cgi +++ b/extensions/file-manager/chattr.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/chcon.cgi b/extensions/file-manager/chcon.cgi index 522d8974b..de55def76 100755 --- a/extensions/file-manager/chcon.cgi +++ b/extensions/file-manager/chcon.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/chmod.cgi b/extensions/file-manager/chmod.cgi index 559560e9f..4500d410a 100755 --- a/extensions/file-manager/chmod.cgi +++ b/extensions/file-manager/chmod.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/chown.cgi b/extensions/file-manager/chown.cgi index 7230a6322..e5606e9b5 100755 --- a/extensions/file-manager/chown.cgi +++ b/extensions/file-manager/chown.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/compress.cgi b/extensions/file-manager/compress.cgi index 5fb3eb331..db4878d05 100755 --- a/extensions/file-manager/compress.cgi +++ b/extensions/file-manager/compress.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/copy.cgi b/extensions/file-manager/copy.cgi index f8b5fba0a..7e24b4cf9 100755 --- a/extensions/file-manager/copy.cgi +++ b/extensions/file-manager/copy.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/create_file.cgi b/extensions/file-manager/create_file.cgi index 253a3bf85..516581991 100755 --- a/extensions/file-manager/create_file.cgi +++ b/extensions/file-manager/create_file.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/create_folder.cgi b/extensions/file-manager/create_folder.cgi index 0ca6f966c..b885884e0 100755 --- a/extensions/file-manager/create_folder.cgi +++ b/extensions/file-manager/create_folder.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/cut.cgi b/extensions/file-manager/cut.cgi index e368e2ece..3f058540e 100755 --- a/extensions/file-manager/cut.cgi +++ b/extensions/file-manager/cut.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/delete.cgi b/extensions/file-manager/delete.cgi index 5955e7431..8980e0c66 100755 --- a/extensions/file-manager/delete.cgi +++ b/extensions/file-manager/delete.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/extract.cgi b/extensions/file-manager/extract.cgi index 12be24143..0e3214e9b 100755 --- a/extensions/file-manager/extract.cgi +++ b/extensions/file-manager/extract.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2015 Alexandr Bezenkov (https://github.com/Real-Gecko/filemin) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) diff --git a/extensions/file-manager/file-manager-lib.pm b/extensions/file-manager/file-manager-lib.pm index 6fb38e877..e4645c7eb 100644 --- a/extensions/file-manager/file-manager-lib.pm +++ b/extensions/file-manager/file-manager-lib.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # diff --git a/extensions/file-manager/file-manager.js b/extensions/file-manager/file-manager.js index 727c25d34..19799111d 100644 --- a/extensions/file-manager/file-manager.js +++ b/extensions/file-manager/file-manager.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ @@ -2562,7 +2562,7 @@ function ___f__tw() { d.preventDefault(); t__wi_p.$___ajax_requested_url = "edit_file.cgi"; var A = "jsp_" + parseInt(Math.random() * 1000000000000000000), - D = encodeURIComponentSafe(decode_html($("#list_form table tbody tr.m-active").find("i.fa-pencil-square-o").parent("a").parent("label").parent("td").prev("td").find("a").attr("data-filemin-link"))), + D = encodeURIComponentSafe(decode_html($("#list_form table tbody tr.m-active").find("a[data-filemin-link]").attr("data-filemin-link"))), z = ("edit_file.cgi?file=" + D + "&path=" + $("#path").val()); window[A] = $.jsPanel({ ajax: { @@ -2571,7 +2571,7 @@ function ___f__tw() { autoload: false, done: function(H, o, G, q) { var t = $(H).find(".ui_form"), - I = ("" + (escape_html(decodeURIComponentSafe(D)) + " (" + escape_html(decodeURIComponentSafe($("#path").val())) + ")") + ""), + I = ("" + (escape_html(decodeURIComponentSafe(D)) + " (" + escape_html(decodeURIComponentSafe(($("#path").val() ? $("#path").val() : "/"))) + ")") + ""), p = $(this).parents("div.jsPanel"), n = (parseInt(q.attr("id").replace("jsPanel-", "")) + 1); if (!$(t).find("textarea").length) { @@ -2579,7 +2579,7 @@ function ___f__tw() { } q.title(I); p.data("jspuid", A); - p.find(".jsPanel-hdr h3").prepend('  ').find("strong").attr("title", I); + p.find(".jsPanel-hdr h3").prepend('  ').find("strong").attr("title", I.replace(/<\/?[^>]+(>|$)/g, "")); p.find(".jsPanel-content").html(t); $("#jsPanel-min-container").css({ width: $(window).width(), diff --git a/extensions/file-manager/file-manager.min.js b/extensions/file-manager/file-manager.min.js index 5cb87a381..1182aecc6 100644 --- a/extensions/file-manager/file-manager.min.js +++ b/extensions/file-manager/file-manager.min.js @@ -1,6 +1,6 @@ /*! - * Authentic Theme 18.46 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.47 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ -;t__wi_p.$____loader_block__=1;function __f___mn(){return $g__m__name}function checkSelected(){return _f__table().dataTable().$("tr.hl-aw",{filter:"applied"}).length}function renameDialog(a){a=decode_html(a);$("#renameForm input[name=name]").val(a);$("#renameForm input[name=file]").val(a);$("#renameDialog").modal({backdrop:"static",keyboard:true,show:true})}function __f___gd(){var a=$(_f__table().fnGetNodes()).find("input").add($(".active form > input:not([name='path'])")).serialize();a=a+"&path="+$("#path").val();return a}function _f__gr(b){if(b){return $(_f__table().fnGetNodes()).find("input:checked")}else{return $(_f__table().fnGetNodes()).find("input")}}function __f__ld__sh(){if(typeof t__wi_p.NProgress=="object"){t__wi_p.NProgress.start()}}function __f__ld__bg(){modal_dismiss();__f_____ul()}function __f__upd_____tl(b){var a=$("div.total").children().clone();$("div.total").empty().html(b+". ").append(a)}function __f___ub(){$("div button.o__f_m-button-delete").removeClass("disabled").attr("onclick","removeDialog()");$(".o__f_m-button-chmod").removeClass("disabled").find("a").attr("onclick","chmodDialog()");$(".o__f_m-button-chown").removeClass("disabled").find("a").attr("onclick","chownDialog()");$(".o__f_m-button-chattr").removeClass("disabled").find("a").attr("onclick","chattrDialog()");$(".o__f_m-button-chcon").removeClass("disabled").find("a").attr("onclick","chconDialog()");$(".o__f_m-button-compress").removeClass("disabled").find("a").attr("onclick","compressDialog()");$(".o__f_m-button-copy").removeClass("disabled");$(".o__f_m-button-cut").removeClass("disabled")}function __f___lb(){$("div button.o__f_m-button-delete").addClass("disabled").removeAttr("onclick");$(".o__f_m-button-chmod").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-chown").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-chattr").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-chcon").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-compress").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-copy").addClass("disabled").find("a").removeAttr("onclick");$(".o__f_m-button-cut").addClass("disabled").find("a").removeAttr("onclick")}function __f_____sl(){}function __f_____hl(){}function __f_____hl_(){setTimeout(function(){},750)}function __f_____lo(c,d){if(d===true){$("body").find("#list_form table tbody").addClass((c?" o__f_m-updating":"")+"");$("body").find("ul.pagination").addClass("pointer-events-none");$(".nav.nav-tabs li").addClass("disabled");$("#file-manager-new-instance").addClass("disabled_no_styling cursor-na")}__f_____sl()}function __f_____ul(){$("body").find("#list_form table tbody").css("opacity","1").removeClass("o__f_m-updating");$("body").find("ul.pagination").css("opacity","1").removeClass("pointer-events-none");__f_____hl();$(".btn-group.pull-right > .btn-group > button, .nav.nav-tabs li").removeClass("disabled");$("#file-manager-new-instance").removeClass("disabled_no_styling cursor-na")}function __init__dt_ck__e(){if($(".active td.dataTables_empty").length){$(".active table").attr("style","border-top-width: 1px !important;");$(".active td.dataTables_empty").css({padding:"4px","border-top-color":"#eaeaea"});$(".dataTables_paginate").addClass("hidden");$(".active td.dataTables_empty").attr("colspan",(parseInt($(".active thead tr th:visible").length)));setTimeout(function(){if($(".__o__f_m-search-results").length){$("td.dataTables_empty").html(lang("theme_xhred_datatable_no_search_results"))}},0)}else{$(".active table, .active td.dataTables_empty").removeAttr("style");$(".dataTables_paginate").removeClass("hidden")}}function __f____success(a,d,D,f,c,r,h,e,A,B,s,o,k,v,w){var x=$.parseHTML(a),m=($(x[2]).html()&&$(x[2]).html().length),z=($(x[3]).html()&&$(x[3]).html().length),n=(typeof w=="undefined"?false:w),u=$(".active form input#path").val(),q=1,p=1,t=1;function C(G){var F=JSON.parse(G),E='
';$.each(F,function(I,H){E+="• "+I+" - "+H+"
"});E+="
";return E}if(n&&n[0]=="compress"){var y=n[1],b=n[2];if(u!=y){q=0;p=0;t=0;if(m){messenger(''+((lang("theme_xhred_filemanager_successful_compression_bg_with_errors").replace("%file",b).replace("%path",y))+(C($(x[2]).text()))),e,(A),v+"_"+A)}else{messenger(''+(lang("theme_xhred_filemanager_successful_compression_bg").replace("%file",b).replace("%path",y)),o,"info",v+"_"+k)}}}if(m&&q){messenger(''+lang(h+(z?"_fatal":""))+(C($(x[2]).text())),e,(z?"error":A),v+"_"+A)}else{if(p){messenger(''+lang(s),o,k,v+"_"+k)}}c&&$("."+c).remove();if(!z){d&&__f_____ul();D&&modal_dismiss();(f&&t)&&__f___u("upd",$(x[1]).find("table.ui_columns").find(".ui_checked_columns"),1,false,false,$(x[0]).text())}}function __f____a(k,o){if(k==="extract"){}var n=$('#list_form > input[type="hidden"][name="path"]').val();if(k!="bookmark"){__f_____lo(false,true)}if(k==="copy"||k==="cut"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/"+k+".cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){localStorage.removeItem($hostname+"-cut");localStorage.removeItem($hostname+"-copy");localStorage.setItem($hostname+"-"+k,1);$(".o__f_m-button-paste").removeClass("disabled");if(k==="copy"){messenger(''+lang("theme_xhred_filemanager_copying_successful"),1.5,"info",k+"_info")}else{if(k==="cut"){messenger(''+lang("theme_xhred_filemanager_cutting_successful"),1.5,"warning",k+"_warning")}}__f_____ul()},error:function(a){messenger(''+lang("theme_xhred_filemanager_buffer_error"),10,"error",k+"_error")}})}if(k==="paste"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/paste.cgi?path="+encodeURIComponentSafe(n)+"&module="+$g__m__name,data:false,dataType:"text",success:function(a){messenger_hide("paste_info");g=$.parseHTML(a);var c=(get_cookie("file-manager-response_count")=="1"?1:2);var b=get_cookie("file-manager-response");if(b.indexOf("err")===-1){localStorage.removeItem($hostname+"-cut");if(!localStorage.getItem($hostname+"-copy")){$(".o__f_m-button-paste").addClass("disabled")}}if(b=="err"){messenger(''+$(g[2]).html(),20,"warning",k+"_warning");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())}else{if(b=="merr"){messenger('  '+lang("theme_xhred_filemanager_move_into_self"),10,"error",k+"_error");__f_____ul()}else{if(b=="ep"){bootbox.dialog({message:lang("theme_xhred_filemanager_target_conflict_message_"+c+""),title:'   '+lang("theme_xhred_filemanager_target_conflict_"+c+"")+"",buttons:{success:{label:'   '+lang("theme_xhred_filemanager_target_conflict_paste")+"  ",className:"btn-primary vertical-align-top ",callback:function(){$.ajax({type:"POST",url:$g__e__path+"/file-manager/paste.cgi?path="+encodeURIComponentSafe(n)+"&module="+$g__m__name+"&ua=2",data:false,dataType:"text",success:function(d){d=$.parseHTML(d);if($(d[2]).html().length>1){messenger(''+$(d[2]).html(),15,"warning",k+"_warning")}else{messenger(''+lang("theme_xhred_filemanager_pasting_and_copying_"+c+""),5,"success",k+"_success")}__f___u("upd",$(d[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(d[0]).text())},error:function(d){}})}},danger:{label:'   '+lang("theme_xhred_filemanager_target_conflict_replace")+"  ",className:"btn-danger vertical-align-top margined-left--2",callback:function(){$.ajax({type:"POST",url:$g__e__path+"/file-manager/paste.cgi?path="+encodeURIComponentSafe(n)+"&module="+$g__m__name+"&ua=1",data:false,dataType:"text",success:function(d){d=$.parseHTML(d);if($(d[2]).html().length>1){messenger(''+$(d[2]).html(),15,"warning",k+"_warning")}else{messenger(''+lang("theme_xhred_filemanager_pasting_and_replacing_"+c+""),5,"success",k+"_success")}__f___u("upd",$(d[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(d[0]).text())},error:function(d){}})}}},onEscape:function(){}})}else{if(b=="cc"){messenger(''+lang("theme_xhred_filemanager_pasting_and_copying_"+c+""),5,"success",k+"_success");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())}else{messenger(''+lang("theme_xhred_filemanager_pasting_successful"),5,"success",k+"_success");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())}}}}},error:function(a){}})}if(k==="extract"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/extract.cgi?&module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){g=$.parseHTML(a);__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())},error:function(a){}})}if(k==="bookmark"){__f_____sl();__f_____hl_();$.ajax({type:"POST",url:$g__e__path+"/file-manager/bookmark.cgi?path="+encodeURIComponentSafe(n)+"&module="+$g__m__name,data:false,dataType:"text",success:function(a){exiting_book_mark=f_m__bm__u();if(exiting_book_mark.length){messenger(''+lang("theme_xhred_filemanager_unbookmark_success").replace("%value",(n?escape_html(decodeURIComponentSafe(n)):"/")),5,"warning","bookmarkAddRemove")}else{messenger(''+lang("theme_xhred_filemanager_bookmark_success").replace("%value",(n?escape_html(decodeURIComponentSafe(n)):"/")),5,"info","bookmarkAddRemove")}},error:function(a){}})}if(k==="delete"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/delete.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){messenger_hide("delete_info");__f____success(a,1,1,1,false,"fa-exclamation-triangle","theme_xhred_filemanager_delete_warning",30,"warning","fa-trash-o","theme_xhred_filemanager_successful_deletion",2,"info",k)},error:function(a){}})}if(k==="rename"){__f__ld__sh();var q=$('#list_form > input[type="hidden"][name="path"]').val();modal_dismiss();$.ajax({type:"POST",url:$g__e__path+"/file-manager/rename.cgi?module="+$g__m__name,data:$("#renameForm").serialize(),dataType:"text",success:function(a){g=$.parseHTML(a);if(!$(g[1]).find("table.ui_columns").length){messenger(''+a,10,"error",k+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k)},error:function(a){}})}if(k==="create_folder"){__f__ld__sh();var q=encodeURIComponentSafe($('#list_form > input[type="hidden"][name="path"]').val());modal_dismiss();$.ajax({type:"POST",url:$g__e__path+"/file-manager/create_folder.cgi?module="+$g__m__name,data:$("#createFolderForm").serialize(),dataType:"text",success:function(a){g=$.parseHTML(a);if(!$(g[1]).find("table.ui_columns").length){messenger(''+a,10,"error",k+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())},error:function(a){}})}if(k==="create_file"){__f__ld__sh();var q=$('#list_form > input[type="hidden"][name="path"]').val();modal_dismiss();$.ajax({type:"POST",url:$g__e__path+"/file-manager/create_file.cgi?module="+$g__m__name,data:$("#createFileForm").serialize(),dataType:"text",success:function(a){g=$.parseHTML(a);if(!$(g[1]).find("table.ui_columns").length){messenger(''+a,10,"error",k+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,k,false,$(g[0]).text())},error:function(a){}})}if(k==="url_download"){__f__ld__sh();var q=$('#list_form > input[type="hidden"][name="path"]').val();modal_dismiss();var h=$("#downFromUrlForm input:not([name='path'])").serialize();h=h+"&path="+$("#path").val();$.ajax({type:"POST",url:$_____link_full+"/"+__f___mn()+"/http_download.cgi",data:h,dataType:"text",success:function(a){messenger_hide("url_download_info");if(!$(a).find(".panel-body").text().match(/100 %/)&&!$(a).find(".panel-body").text().match(/100%/)&&!$(a).find(".panel-body h3").length){messenger(''+$(a).find(".panel-body").html(),10,"error",k+"_error");__f_____ul();return}else{if($(a).find(".panel-body h3").length){messenger(''+$(a).find(".panel-body h3").html(),10,"error",k+"_error");return}else{messenger(''+$(a).find(".panel-body").html(),5,"success",k+"_success");__f____r("get","index.cgi?path="+(q?encodeURIComponentSafe(q):""),false,0)}}},error:function(a){}})}if(k==="search"){__f__ld__sh();var q=$('#list_form > input[type="hidden"][name="path"]').val(),m=$("#searchForm").find('input[name="query"]').val(),r=$.trim($("#searchForm").find('input[name="grepstring"]').val()),e=$.trim($("#searchForm").find('input[name="grepreplace"]').val()),p=(r&&!e?" fa-1_50x fa-file-find":r&&e?" fa-1_50x fa-find-replace":" fa-lg fa-search");modal_dismiss();if(r&&!e){messenger(''+lang("theme_xhred_filemanager_searching_matching").replace("%value",m).replace("%text",r)+" "+lang("theme_xhred_global_please_wait"),10000,"info",k+"_preMe")}else{if(r&&e){messenger(''+lang("theme_xhred_filemanager_searching_replacing").replace("%value",m).replace("%text",r).replace("%replace",e)+" "+lang("theme_xhred_global_please_wait"),10000,"warning",k+"_preMe")}else{messenger(''+lang("theme_xhred_filemanager_searching").replace("%value",m)+" "+lang("theme_xhred_global_please_wait"),10000,"info",k+"_preMe")}}$.ajax({type:"POST",url:$g__e__path+"/file-manager/search.cgi?module="+$g__m__name,data:$("#searchForm").serialize(),dataType:"text",success:function(b){xx=$.parseHTML(b);__f___u("upd",$(xx[1]).find("table.ui_columns").find(".ui_checked_columns"),0,"search",false,$(xx[0]).text());var c=$('body[class*="'+$g__o__f_m+'"]');if(c.find(".breadcrumb .fa-hdd-o").length){c.find(".breadcrumb .fa-hdd-o").removeClass("fa-hdd-o").addClass("fa-search").addClass("text-light").parent("a").removeAttr("href").replaceTagName("span")}else{c.find(".breadcrumb li:first-child a").html('')}c.find(".breadcrumb li:not(:first-child) a").replaceWith(function(){return $("",{html:$(this).html()})});c.find(".breadcrumb li").addClass("text-light");$(".__o__f_m-search-results").remove();$(".ui_checked_columns.directory_go_up").addClass("hidden");$_br=$(".breadcrumb > li:last-child");$_br.html($_br.html()+''+($(".breadcrumb > li:last-child a i").hasClass("fa-search")?"   / ":"")+'  :  `'+m+""+(r&&!e?' ['+r+"]":(r&&e)?' ['+r+' -> '+e+"]":"")+"`");var a=5000;if(__list_table_total_rows>1){if(r&&e){messenger(''+lang("theme_xhred_filemanager_search_replaced_multi").replace("%value",__list_table_total_rows),10,"success",k+"_success");a=9000}else{messenger(''+lang("theme_xhred_filemanager_search_founds").replace("%value",__list_table_total_rows),6,"success",k+"_success")}}else{if(__list_table_total_rows==1){if(r&&e){messenger(''+lang("theme_xhred_filemanager_search_replaced"),6,"success",k+"_success")}else{messenger(''+lang("theme_xhred_filemanager_search_found"),6,"success",k+"_success")}}else{messenger(''+lang("theme_xhred_filemanager_search_no_matches"),6,"error",k+"_error")}}setTimeout(function(){messenger_hide("search_preMe")},a)},error:function(a){}})}if(k==="chmod"){__f__ld__sh();$("#list_form").append('');$("#list_form").append('');$.ajax({type:"POST",url:$g__e__path+"/file-manager/chmod.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){setTimeout(function(){messenger_hide("chmod_info")},2000);__f____success(a,1,1,1,"_o__f_m-tmp-chmod-inputs","fa-exclamation-triangle","theme_xhred_filemanager_successful_permissions_with_errors",15,"warning","fa-cogs","theme_xhred_filemanager_successful_permissions",3,"success",k)},error:function(a){}})}if(k==="chown"){__f__ld__sh();$("#list_form").append('');$("#list_form").append('');$("#list_form").append('');$.ajax({type:"POST",url:$g__e__path+"/file-manager/chown.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){setTimeout(function(){messenger_hide("chown_info")},2000);__f____success(a,1,1,1,"_o__f_m-tmp-chown-inputs","fa-exclamation-triangle","theme_xhred_filemanager_successful_ownership_with_errors",15,"warning","fa-users","theme_xhred_filemanager_successful_ownership",3,"success",k)},error:function(a){}})}if(k==="chattr"){__f__ld__sh();$("#list_form").append('');$("#list_form").append('');$.ajax({type:"POST",url:$g__e__path+"/file-manager/chattr.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){setTimeout(function(){messenger_hide("chattr_info")},2000);__f____success(a,1,1,1,"_o__f_m-tmp-chattr-inputs","fa-exclamation-triangle","theme_xhred_filemanager_successful_attributes_with_errors",15,"warning","fa-tags","theme_xhred_filemanager_successful_attributes",3,"success",k)},error:function(a){}})}if(k==="chcon"){__f__ld__sh();$("#list_form").append('');$("#list_form").append('');$.ajax({type:"POST",url:$g__e__path+"/file-manager/chcon.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){setTimeout(function(){messenger_hide("chcon_info")},2000);__f____success(a,1,1,1,"_o__f_m-tmp-chcon-inputs","fa-exclamation-triangle","theme_xhred_filemanager_successful_secontext_with_errors",15,"warning","fa-tags","theme_xhred_filemanager_successful_secontext",3,"success",k)},error:function(a){}})}if(k==="compress"){__f__ld__sh();$("#list_form").append('');$("#list_form").append('');__f__ld__bg();$.ajax({type:"POST",url:$g__e__path+"/file-manager/compress.cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){setTimeout(function(){if(t__wi_p.t___p__xhr_r===0){messenger_hide("compress_info")}},2000);__f____success(a,1,0,1,"_o__f_m-tmp-compress-inputs","fa-exclamation-circle","theme_xhred_filemanager_successful_compression_with_errors",15,"warning","fa-file-archive-o","theme_xhred_filemanager_successful_compression",8,"success",k,[k,n,o[0]+$('select option[value="'+o[1]+'"]').text()])},error:function(a){}})}}function __f___cs(){$("#list_form table tbody tr").removeClass("m-active m-not-active")}function __f___ds_a(){var a=document.getElementsByClassName("ui_checked_columns");for(i=0;i input[type="hidden"][name="path"]').val().replace(/\/$/g,"")+"/"+d.find("td:nth-child(3) a").text(),a=d.find("td.column-filesize").find("label"),b=_f__table().dataTable().$("tr.hl-aw",{filter:"applied"});__f_____sl();a.html('');$.ajax({type:"POST",url:$_____link_full+"/index.cgi/?xhr-get_size=1&xhr-get_size_path="+c,data:false,dataType:"text",success:function(e){var k=e.split("|"),h=_f__table().DataTable();h.cell(d.find("td.column-filesize")).data(k[0]).draw();var f;if(isNaN(parseInt(k[1]))){f=0}else{f=parseInt(k[1])}$(".total_size_data").data("total",(parseInt($(".total_size_data").data("total"))+f));if(!b.find("td.column-filesize").find("label").find(".cspinner").length){$.ajax({type:"POST",url:$_____link_full+"/index.cgi/?xhr-get_nice_size=1&xhr-get_nice_size_sum="+parseInt($(".total_size_data").data("total")),data:false,dataType:"text",success:function(m){$(".total_size_data").text(m);$(".total_size_data").parent("span").removeClass("hidden")},error:function(m){}});setTimeout(function(){__f_____hl()},600)}},error:function(e){}})})}function __f__c__m(){var a=$(".tab-pane.active form table");$(".tab-pane table").unbind("contextmenu");a.contextMenu({menuSelector:"#__f__c__m",menuSelectorTriggered:function(d,b){if($(".tab-pane.active table tbody tr input").length&&d.parents("tr").find("input:checked").length===0){__f___ds_a();d.parents("tr").find("td:first-child input").trigger("click");var c=jQuery.Event("keydown");c.which=40;$("body").trigger(c);d.parents("tr").find("td:first-child").trigger("contextmenu")}if(d.parents("tr").find("i.fa-folder-open-o").length){$(".context-o__f_m-dependent-goto").removeClass("hidden")}else{$(".context-o__f_m-dependent-goto").addClass("hidden")}if(d.parents("tr").find('a[href*="index.cgi?path="]').length){$(".context-o__f_m-dependent-open-new-tab").removeClass("hidden")}else{$(".context-o__f_m-dependent-open-new-tab").addClass("hidden")}if(!d.parents("tr").find("i.fa-pencil-square-o").length){$(".context-o__f_m-dependent-edit").addClass("hidden")}else{$(".context-o__f_m-dependent-edit").removeClass("hidden")}if(!d.parents("tr").find('a[href*="download.cgi"]').length){$(".context-o__f_m-dependent-download").addClass("hidden")}else{$(".context-o__f_m-dependent-download").removeClass("hidden")}if(!d.parents("tr").find("i.fa.fa-extract-archive").length){$(".context-o__f_m-dependent-extract").addClass("hidden")}else{$(".context-o__f_m-dependent-extract").removeClass("hidden")}if($(".o__f_m-button-compress").hasClass("disabled")){$("a[data-context-newarchive]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-newarchive]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-copy").hasClass("disabled")){$("a[data-context-copy], a[data-context-clipboard]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-copy], a[data-context-clipboard]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-cut").hasClass("disabled")){$("a[data-context-cut]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-cut]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-paste").hasClass("disabled")){$("a[data-context-paste]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-paste]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-delete").hasClass("disabled")){$("a[data-context-delete]").addClass("disabled").parent("li").addClass("disabled");$("a[data-context-rename]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-delete]").removeClass("disabled").parent("li").removeClass("disabled");$("a[data-context-rename]").removeClass("disabled").parent("li").removeClass("disabled")}f_m__bm__cm();if($(".o__f_m-button-chmod").hasClass("disabled")&&$(".o__f_m-button-chown").hasClass("disabled")){$(".context-properties").addClass("disabled")}else{$(".context-properties").removeClass("disabled")}_f__table().dataTable().$("tr.hl-aw",{filter:"applied"}).length?$("a[data-context-calculate-selected-size]").parent("li").removeClass("hidden"):$("a[data-context-calculate-selected-size]").parent("li").addClass("hidden");if($(".o__f_m-button-chmod").hasClass("disabled")){$("a[data-context-chmod]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-chmod]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-chown").hasClass("disabled")){$("a[data-context-chown]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-chown]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-chattr").hasClass("disabled")){$("a[data-context-chattr]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-chattr]").removeClass("disabled").parent("li").removeClass("disabled")}if($(".o__f_m-button-chcon").hasClass("disabled")){$("a[data-context-chcon]").addClass("disabled").parent("li").addClass("disabled")}else{$("a[data-context-chcon]").removeClass("disabled").parent("li").removeClass("disabled")}},menuSelected:function(f,k){if(k.data("context-goto")=="1"){f.parents("tr").find('a.o__f_m-follow-file[href^="index.cgi?"]').trigger("click")}if(k.data("context-open-new-tab")=="1"){var e=$("#path").val(),c=f.parents("tr").find("td a[data-filemin-link]").attr("data-filemin-link");__f___nt((encodeURIComponentSafe(decode_html(e))+"/"+encodeURIComponentSafe(decode_html(c))),1)}if(k.data("context-select-all")=="1"){$('button[onclick="selectAll()"]').trigger("click")}if(k.data("context-deselect-all")=="1"){__f___ds_a();__r____changed()}if(k.data("context-invert-selection")=="1"){$('button[onclick="invertSelection()"]').trigger("click")}if(k.data("context-refresh")=="1"){$("button > ."+$__f__rf_s+"").parent("button").trigger("click")}if(k.data("context-newfile")=="1"){$('a[onclick="createFileDialog()"]').trigger("click")}if(k.data("context-newfolder")=="1"){$('a[onclick="createFolderDialog()"]').trigger("click")}if(k.data("context-newarchive")=="1"){$('a[onclick="compressDialog()"]').trigger("click")}if(k.data("context-upload")=="1"){$('a[onclick="viewReadyForUpload()"]').trigger("click")}if(k.data("context-download")=="1"){$('a[onclick="downFromUrlDialog()"]').trigger("click")}if(k.data("context-clipboard")=="1"){var d=f.parents("tr").find("img").parent("a").parent("td").next("td").find("a"),b=($("#path").val()),m=d.attr("data-filemin-link");$("body").append('');var h=new Clipboard(".tmp-clipboard-obj");$(".tmp-clipboard-obj").trigger("click");$(".tmp-clipboard-obj").remove();h.destroy()}if(k.data("context-copy")=="1"){$(".o__f_m-button-copy a").trigger("click")}if(k.data("context-cut")=="1"){$(".o__f_m-button-cut a").trigger("click")}if(k.data("context-paste")=="1"){$(".o__f_m-button-paste a").trigger("click")}if(k.data("context-delete")=="1"){$(".o__f_m-button-delete").trigger("click")}if($(k).is(".file-manager-remove-bookmark")){$('.btn-group .at-o__f_m-favorites-dropdown a[href="'+$(k).parent("a").attr("href")+'"]').find(".file-manager-remove-bookmark").trigger("click");$(k).parent("a").remove();return}if(k.data("context-bookmarks")=="1"){$('a[href^="bookmark.cgi"]').trigger("click")}if(k.data("context-search")=="1"){$('a[onclick="searchDialog()"]').trigger("click")}if(k.data("context-edit")=="1"){f.parents("tr").addClass("m-active");f.parents("tr").find('a[href^="edit_file.cgi?"]').trigger("click")}if(k.data("context-rename")=="1"){f.parents("tr").find('a[onclick^="renameDialog("]').trigger("click")}if(k.data("context-download-file")=="1"){$(f.parents("tr").find('a[href^="download.cgi?"]'))[0].click()}if(k.data("context-extract")=="1"){f.parents("tr").find('a[href^="extract.cgi?"]').trigger("click")}if(k.data("context-calculate-selected-size")=="1"){__f__get_fs()}if(k.data("context-chmod")=="1"){$('a[onclick="chmodDialog()"]').trigger("click")}if(k.data("context-chown")=="1"){$('a[onclick="chownDialog()"]').trigger("click")}if(k.data("context-chattr")=="1"){$('a[onclick="chattrDialog()"]').trigger("click")}if(k.data("context-chcon")=="1"){$('a[onclick="chconDialog()"]').trigger("click")}}})}function __f___u(B,y,C,z,E,q){if(typeof E=="object"){var n=E[1],r=E[2],v=E[3],t=E[4],E=E[0]}else{var n=true}if($__source_file=="config.cgi"){return}var x=null,k=null,m=null,o=null,A=$("#path").val();typeof q=="undefined"?q=false:false;((typeof E=="undefined"||(typeof E!="undefined"&&E===false))?(x=false):(x=true));(!x?(k=".tab-pane.active form table"):(k='.tab-pane[id="tab-'+E+'"] form table'));(!x?(m=".tab-pane.active"):(m='.tab-pane[id="tab-'+E+'"]'));var o=$(m).attr("id").replace(/^\D+/g,""),o=(o?o:1);var p=$("body").find(k).attr("id"),e=p?parseInt(p.replace(/^\D+/g,"")):"none";(!x&&e!=="none")&&$("#DataTables_Table_"+e).dataTable().fnDestroy();if(B==="upd"){var u=y.find(".fa-font").first().parents("td").index();$(k).addClass("___f_m__q__");$("body").find(k+" tbody").empty();$("body").find(k+" tbody").append(y);!n&&$(m).data("totalValue",v).data("breadcrumb",$(".breadcrumb").clone());(q&&!r)&&__f__upd_____tl(q);__mcr();__f_____ul()}else{var u=$(k).find(".fa-font").first().parents("td").index()}if(typeof localStorage["DataTables_DataTables_Table_"+e+"_/"+__f___mn()+"/index.cgi"]!="undefined"){_filemanager_data=JSON.parse(localStorage["DataTables_DataTables_Table_"+e+"_/"+__f___mn()+"/index.cgi"])}else{_filemanager_data=false}var s=($.inArray($("#headln2r > div.btn-group > a[data-config-pagination]").data("config-pagination"),[5,10,15,20,25,30,35,40,50,100,250,500,1000])>-1?$("#headln2r > div.btn-group > a[data-config-pagination]").data("config-pagination"):25),D=(($.inArray(parseInt(localStorage.getItem($hostname+"-_________per_page")),[5,10,15,20,25,30,35,40,50,100,250,500,1000])>-1)?parseInt(localStorage.getItem($hostname+"-_________per_page")):false),w=((_filemanager_data.length&&!D)?(D?D:_filemanager_data.length):s);localStorage.removeItem($hostname+"-_________per_page");if(u!=3&&u!=4){u=false}__f__c__m(1);$(k).unbind("click");$(k).on("click",'a .fa.fa-pencil-square-o, a[href^="edit_file.cgi"]',function(a){a.preventDefault();a.stopPropagation();var a=jQuery.Event("keydown");a.which=115;$("body").trigger(a)});window["_f__table"+o]=$(k).dataTable({order:[],aaSorting:[],bDestroy:true,pageLength:25,preDrawCallback:function(){if(config_portable_module_filemanager_hide_actions==true){var c=$(k),a=$(".tab-pane.active form table"),f=a.find(".fa-font"),d=a.find(".fa-i-cursor"),b=f.length?f.parents("td").index():d.parents("td").index();if(b>1){$(k+" thead th").eq(b).addClass("hidden");c.find(".fa-font").length?c.find(".fa-font").parents("td").addClass("hidden"):c.find(".fa-i-cursor").parents("td").addClass("hidden")}}},fnDrawCallback:function(b){$(".tab-pane .paginate_button.previous > a").html('').css("border-top-left-radius","0").css("border-bottom-left-radius","0");$(".tab-pane .paginate_button.next > a").html('').css("border-top-right-radius","0").css("border-bottom-right-radius","0");$(k).find(".fa-font").removeClass("fa-font").addClass("fa-i-cursor").css("margin-right","5px").css("margin-left","5px");$(k).find(".fa-external-link").removeClass("fa-external-link").addClass("fa-extract-archive").css("margin-right","5px").css("margin-left","5px");$(k).find(".fa-edit").addClass("fa-pencil-square-o").css("margin-right","7px").css("margin-left","7px");$(k).find(".fa-arrow-right").removeClass("fa-arrow-right").addClass("fa-folder-open-o").parent("a").addClass("o__f_m-follow-file");__list_table_total_rows=b.fnRecordsTotal();if(b.fnRecordsTotal()<=b._iDisplayLength){$(m+" .dataTables_paginate").hide()}else{$(m+" .dataTables_paginate").show()}$.each($(k+" tbody tr:not('.row-filesize-done') td"),function(){if(/((\d+(\s+)|\d+\.\d+(\s+)))(TB|GB|MB|KB|Byte|Bytes|ТБ|ГБ|МБ|КБ|Байт)|(Unlimited|Ubegrenset|Nielimitowane|Ilimitado|无限制|Не ограничено|No Limit|Same as admin)/i.test($(this).text())){if($(this).index()>1){list_form_table_file_size=$(this).index()}}}).promise().done(function(){if(typeof list_form_table_file_size!="undefined"){$.each($(k+" tbody tr:not('.row-filesize-done') td"),function(){if($(this).parent("tr").find('img[src$=".png"]').length){$(this).parent("tr").find("td").eq(list_form_table_file_size).addClass("column-filesize")}if($(this).parent("tr").find('img[src$="inode-directory.png"]').length||$(this).parent("tr").find('img[src$="inode-symlink.png"]').length||$(this).parent("tr").find('img[src$="inode-mount-point.png"]').length){$(this).parent("tr").find("td").eq(list_form_table_file_size).addClass("column-filesize").find("label").text("")}}).promise().done(function(){$(k+" thead th").eq(list_form_table_file_size).css("min-width","51px")})}});var a=$(k+" tbody tr td:nth-child(2)");a.unbind("mouseover");a.on("mouseover","img",function(F){var G=$(this).parents("td"),h=G.find('img[src*="inode-symlink"]'),d=G.next("td").find("a"),f=$(m+' form > input[type="hidden"][name="path"]').val().replace(/\/$/g,"")+"/"+d.text();if(h.length){if(h.attr("symlink-title")!=1){!h.parent().find(".cspinner").length&&h.before('');$.ajax({type:"POST",url:$_____link_full+"/index.cgi/?xhr-get_symlink=1&xhr-get_symlink_path="+f,data:false,dataType:"text",success:function(H){h.attr("data-content",''+escape_html(H)+"").attr("symlink-title","1").data("trigger","manual").data("html",true).data("placement","auto right").data("container","body").data("animation",false);h.is(":hover")&&h.popover("show");h.on("mouseenter",function(){if(h.is(":hover")){$(this).popover("show")}}).on("mouseleave",function(){var I=this;setTimeout(function(){if(!$(".popover:hover").length&&!h.is(":hover")){$(I).popover("hide")}},200)});h.parent().find(".cspinner").remove()},error:function(H){}})}}});$(k+" #select-unselect").parents("th").css("opacity",0).addClass("pointer-events-none");__init__dt_ck__e();if(A){!$(".active table tbody tr.directory_go_up").length&&$(".active table tbody").prepend('  ..')}else{if(r&&r!="/"){!$(k+" tbody tr.directory_go_up").length&&$(k+" tbody").prepend('  ..')}}var c=$(".active td.dataTables_empty");if(c.length){$("tr.directory_go_up").addClass("hidden")}else{$("tr.directory_go_up").removeClass("hidden")}setTimeout(function(){__dpt()},0)},initComplete:function(b){n&&__f___up__d("index.cgi?path="+encodeURIComponentSafe(r?r:A),E,false);!n&&__f___upd___tb(r,E);!n&&__f___up__tb_store();if(x!=false&&n){$('a[href="#tab-'+E+'"').attr("newly-created","1").trigger("click")}if(t){setTimeout(function(){$('a[href="#tab-1"] i.fa-close-box').trigger("click")},100)}$(k+" tbody").on("mouseout","tr",function(c){__f___cs()}).on("mouseover","tr",function(c){$(this).addClass("m-active")});if(C===0||$(k+" tbody tr").length===1&&$(k+" tbody tr td.dataTables_empty").length){l__res_fi()}$(k+' select[name^="DataTables_Table"][name$="_length"]').val(w).change();var a},bInfo:true,destroy:true,oLanguage:{sEmptyTable:lang("theme_xhred_datatable_semptydirectory"),sInfo:lang("theme_xhred_datatable_sinfo"),sInfoEmpty:lang("theme_xhred_datatable_sinfoempty"),sLengthMenu:lang("theme_xhred_datatable_slengthmenu"),sLoadingRecords:lang("theme_xhred_datatable_sloadingrecords"),sProcessing:lang("theme_xhred_datatable_sprocessing"),sSearch:" ",sZeroRecords:lang("theme_xhred_datatable_szerorecords")},conditionalPaging:true,columnDefs:[{orderable:false,targets:[0,1,(u?u:0)]}],bStateSave:true,bPaginate:w,aLengthMenu:[[5,10,15,20,25,30,35,40,50,100,250,500,1000],[5,10,15,20,25,30,35,40,50,100,250,500,1000]]});$('div button[onclick="removeDialog()"]').addClass("disabled o__f_m-button-delete").removeAttr("onclick");$('a[onclick="chmodDialog()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-chmod");$('a[onclick="chownDialog()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-chown");$('a[onclick="chattrDialog()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-chattr");$('a[onclick="chconDialog()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-chcon");$('a[onclick="compressDialog()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-compress");$('a[onclick="copySelected()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-copy");$("li.o__f_m-button-copy").addClass("disabled");$('a[onclick="cutSelected()"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-cut");$("li.o__f_m-button-cut").addClass("disabled");if(!localStorage.getItem($hostname+"-copy")&&!localStorage.getItem($hostname+"-cut")){$('a[onclick*="paste.cgi"]').removeAttr("onclick").parent("li").addClass("disabled o__f_m-button-paste")}else{$('a[onclick*="paste.cgi"]').removeAttr("onclick").parent("li").addClass("o__f_m-button-paste")}if(z==="extract"){messenger(''+lang("theme_xhred_filemanager_successful_extraction"),5,"info",z+"_info")}if(z==="chmod"){messenger(''+lang("theme_xhred_filemanager_successful_permissions"),5,"info",z+"_info")}if(z==="chown"){messenger(''+lang("theme_xhred_filemanager_successful_ownership"),5,"info",z+"_info")}if(z==="compress"){messenger(''+lang("theme_xhred_filemanager_successful_compression"),5,"info",z+"_info")}if(z==="rename"){messenger(''+lang("theme_xhred_filemanager_successful_rename").replace("%from",escape_html($('#renameForm input[name="file"]').val())).replace("%to",escape_html($('#renameForm input[name="name"]').val())),5,"info",z+"_info")}if(z==="create_folder"){messenger(''+lang("theme_xhred_filemanager_successful_directory_creation").replace("%value",escape_html($('#createFolderForm input[name="name"]').val())),5,"info",z+"_info")}if(z==="create_file"){messenger(''+lang("theme_xhred_filemanager_successful_file_creation").replace("%value",escape_html($('#createFileForm input[name="name"]').val())),5,"info",z+"_info")}}$("body").on("click",".symlink-text-string",function(b){b.preventDefault();b.stopPropagation();var d=$(this);$("body").append('');var c=$(".tmp-clipboard-obj"),a=new Clipboard(".tmp-clipboard-obj");c.trigger("click").remove();a.destroy();messenger(''+lang("theme_xhred_filemanager_link_to_clipboard").replace("%value",escape_html(d.text())),7,"info","link_to_clipboard")});function f_m__bm__cm(){var b=$('#list_form > input[type="hidden"][name="path"]').val(),b=(typeof b!="undefined"?(!b.length?"/":b):false);var a=$(".btn-group > .at-o__f_m-favorites-dropdown").find('li a[href*="index.cgi?path="]').filter(function(){return encodeURIComponentSafe($(this).text())===b});if(a.length){$(".data-context-bookmarks a").text(lang("theme_xhred_filemanager_unbookmark"));$("#__f__c__m").find(".fa-star-o").addClass("fa-star").removeClass("fa-star-o")}else{$(".data-context-bookmarks a").text(lang("theme_xhred_filemanager_bookmark"));$("#__f__c__m").find(".fa-star").removeClass("fa-star").addClass("fa-star-o")}setTimeout(function(){if(!$(".file-manager-remove-bookmark").length){$.each($('.dropdown-menu.at-o__f_m-favorites-dropdown > li:not(.data-context-bookmarks) > a:not([href^="bookmark.cgi"])'),function(e,f){$(this).prepend('')})}var c=$(".btn-group .dropdown-menu.at-o__f_m-favorites-dropdown > li"),d=c.find('a[href]:not([href^="bookmark.cgi"], [href="#"])');c.find(".no_effect").parent("li").remove();if(!d.length){$(".bm_e__me").remove();c.parent("ul").append('
  • '+lang("theme_xhred_filemanager__no_bookmarks")+"
  • ")}else{$(".bm_e__me").remove()}$(".dropdown-menu.at-o__f_m-favorites-dropdown li.divider").nextAll("li").remove();$(".btn-group .at-o__f_m-favorites-dropdown li:not(:first-child):not(:empty)").clone().insertAfter("li.data-context-bookmarks + .divider")},0)}function f_m__bm__c(){var a=$('#list_form > input[type="hidden"][name="path"]').val(),a=(typeof a!="undefined"?(!a.length?"/":a):false);$.each($(".btn-group > .at-o__f_m-favorites-dropdown").find('li a[href*="index.cgi?path="]'),function(){if(encodeURIComponentSafe($(this).text())==a){$(this).parents(".at-o__f_m-favorites-dropdown").find('a[href^="bookmark.cgi?path="]').html(''+lang("theme_xhred_filemanager_unbookmark"));return false}else{$(this).parents(".at-o__f_m-favorites-dropdown").find('a[href^="bookmark.cgi?path="]').html(''+lang("theme_xhred_filemanager_bookmark"))}}).promise().done(function(){setTimeout(function(){f_m__bm__cm()},100)})}function f_m__bm__u(){var b=$('#list_form > input[type="hidden"][name="path"]').val(),b=(typeof b!="undefined"?(!b.length?"/":b):"");var a=$(".btn-group > .at-o__f_m-favorites-dropdown").find('li a[href*="index.cgi?path="]').filter(function(){return encodeURIComponentSafe($(this).text())===b});if(a.length){a.parents(".at-o__f_m-favorites-dropdown").find('a[href^="bookmark.cgi?path="]').html(''+lang("theme_xhred_filemanager_bookmark"));a.parent("li").remove()}else{$(".btn-group > .at-o__f_m-favorites-dropdown").find('a[href^="bookmark.cgi?path="]').html(''+lang("theme_xhred_filemanager_unbookmark"));$("body").find("ul.dropdown-menu.at-o__f_m-favorites-dropdown").append('
  • '+escape_html(decodeURIComponentSafe(b))+"
  • ")}f_m__bm__cm();return a}function __f___upd___cr(d,c){var b=$("body"),a="";b.find(".breadcrumb").empty();if(access_level()==0||access_level()==1){b.find(".breadcrumb").append('
  • ')}else{b.find(".breadcrumb").append('
  • ')}$.each($(d),function(e,f){a=a+(f!=""?"/"+f:"");if(f!=""){var h='';(access_level()==3&&a.indexOf($g__user__home+"/")===-1?h="":false);b.find(".breadcrumb").append('
  • '+escape_html(f)+h+"
  • ")}}).promise().done(function(){if(!$.isEmptyObject(c)){b.find(".breadcrumb li a").removeAttr("href").replaceTagName("span");b.find(".breadcrumb li:last-child span").after($(c[0]));b.find(".breadcrumb li:first-child").replaceWith('
  • ');$("div.total").html(c[1])}else{if(!$(".breadcrumb li:first-child").find(".fa.fa-keyboard-o").length&&!$("a.popover-path").length){$(".breadcrumb li:first-child").prepend('
    \'>
    ');if(config_portable_module_filemanager_hide_toolbar!=true){$(".fa.fa-keyboard-o.popover-path").detach().appendTo(".breadcrumb li:last-child");$(".fa.fa-keyboard-o.popover-path").css("margin-left","2px")}$('[data-toggle="popover-path"]').popover()}}})}function __f___upd___tb(c,a){var b=c.replace(/\/$/,"").split("/").slice(-1)[0];b=b?b:"/";if(a){$('li a[href="#tab-'+a+'"] span[data-tab-path]').text(b).attr("data-original-title",(c?escape_html(c):"/"));$("#file-manager-new-instance").removeClass("disabled").find("span.cspinner").parent("span").replaceWith('')}else{$("li.active a span[data-tab-path]").text(b).attr("data-original-title",(c?escape_html(c):"/"))}}function __f___up__tb_store(){var a=[];$(".nav.nav-tabs li a span[data-original-title]").each(function(c,b){var d=$(b).attr("data-original-title").replace(/\/$/,"");a.push(d)}).promise().done(function(){var c={};c[$g__user__]=a;var b=JSON.parse(localStorage.getItem($hostname+"-settings_thirdparty_filemanager_remembered_tabs"));if(!$.isEmptyObject(b)){delete b[$g__user__]}var d=$.extend({},c,b);localStorage.setItem($hostname+"-settings_thirdparty_filemanager_remembered_tabs",JSON.stringify(d))})}function __f___ld__tb_stored_chk(){var a=JSON.parse(localStorage.getItem($hostname+"-settings_thirdparty_filemanager_remembered_tabs"));return(!$.isEmptyObject(a)?a[$g__user__]:false)}function __f___ld__tb_stored(){var a=__f___ld__tb_stored_chk();if($.isArray(a)){$.each($(a),function(c,b){__f___nt(b,false,c)})}}function __f___up__tb_vis(){$(".nav.nav-tabs li").length===1?$(".nav.nav-tabs li:first-child").addClass("hidden"):$(".nav.nav-tabs li:first-child").removeClass("hidden")}function __f___up__d(n,m,k){var e=(decode_html(decodeURIComponentSafe(n)).replace("//","/").replace("index.cgi?path=","")),b=e.split("/"),d=$("body");$('[data-toggle="popover-path"]').popover("hide");$(".popover-path-button").find("i").removeClass("invisible").parent().find(".cspinner").addClass("hidden");__f___upd___cr(b,k);__f___upd___tb(e,m);if(e){$('#headln2l > div.btn-group > a[href*="'+$g__o__f_m+'"][href*="index.cgi"]').removeClass("hidden")}else{$('#headln2l > div.btn-group > a[href*="'+$g__o__f_m+'"][href*="index.cgi"]').addClass("hidden")}t___wi.history.pushState(null,null,$_____link_full+"/"+__f___mn()+"/index.cgi?path=/");$.each($('.modal .modal-body form input[name="path"]'),function(){$(this).val(e)});$('ul li a[href^="bookmark.cgi?path="]').attr("href","bookmark.cgi?path="+escape_html(e));f_m__bm__c();f__dt();setTimeout(function(){__dpt();__r____changed(1);__f___up__tb_vis();__f___up__tb_store()},0)}tab___to______create=1;function __f___nt(d,e,b){var a=encodeURIComponentSafe(decode_html(d)),b=((typeof b!="undefined"&&b===0)?true:false);$this=$("#file-manager-new-instance");$this.blur();$(".nav.nav-tabs li").addClass("disabled");tab___to______create=tab___to______create+1;$(".tabs-top > .nav.nav-tabs").append('
  •  
  • ');$(".tabs-top > .tab-content").append('
    ');var c=$(".active table thead").clone();c.removeClass("hidden");c.prependTo("#list_form_AuthenticThemeTmp"+tab___to______create+" table");__f____r("get","index.cgi?path="+a,false,0,[tab___to______create,e,b]);setTimeout(function(){},0);tab___is______new=true}function __f____r(h,o,k,e,n){if(typeof n=="object"){var f=n[2],m=n[1],n=n[0]}else{var m=true}if(o&&!$.isArray(o)){o=encodeURIParam(o,"path")}var a=decode_html(URI.parseQuery(URI(o).query())["path"].replace("//","/"));typeof n=="undefined"?n=false:false;if(h==="get"){if($("body").find("#list_form table tbody").hasClass("o__f_m-updating")&&m){return}__f_____lo(true,true);(!$("div.popover.popover-path-data.in:visible").length&&!n)&&$('.active a[href="'+escape_html(o)+'"] img').before('');a=encodeURIComponent(a);$.ajax({type:"POST",url:$g__e__path+"/file-manager/list.cgi?path="+a+"&module="+$g__m__name,data:false,dataType:"html",success:function(b){messenger_hide("refreshDir_info");j=$.parseHTML(b);if(!$(j[1]).find("table").length){if($(j[10]).is("h3")&&access_level()==3){messenger(''+$(j[10]).text().replace(" :",":").replace(" ,",","),15,"error","getPath_error")}else{messenger(''+b,15,"error","getPath_error")}__f_____ul();$(".active table .cspinner").remove();if(n){$('a[href="#tab-'+n+'"]').parent("li").remove();$('.tab-content .tab-pane[id="tab-'+n+'"]').remove()}return}else{$('[data-toggle="popover-path"]').popover("hide")}var d=encodeURIComponentSafe(decode_html(decodeURIComponentSafe(o)).replace("//","/").replace("index.cgi?path=",""));!n&&$('#list_form > input[type="hidden"][name="path"]').val(d);m&&$("div.total").append(__f___tl_v());var c=$(j[0]).append(__f___tl_v()).html();m&&$(".total").html(c);if(n){$('.tab-pane[id="tab-'+n+'"]').data("totalValue",c)}else{$(".tab-pane.active form table").data("totalValue",c)}__f___u("upd",$(j[1]).find("table").find(".ui_checked_columns"),e,false,[n,m,decodeURIComponentSafe(a),c,f],$(h[0]).text());$("#__f__c__m").css("display","none")},error:function(b){}})}}function __f___tl_v(){return'. '+lang("theme_xhred_filemanager_selected_entries").replace("%value","0")+' '}function ___f__tw(){if($("body").attr("class")&&$("body").attr("class").indexOf($g__o__f_m)>-1){$__f__rf_s="fa-refresh";if($__source_file=="config.cgi"){$('input[name="per_page"], input[name="disable_pagination"], input[name="menu_style"], textarea[name="bookmarks"]').parents("td.col_value").parent("tr").addClass("hidden");$("#columns_size").parent(".awobject").remove();$('form[action="save_config.cgi"]').append('');$(".table-subtable .sub_table_container.table-hardcoded").find("tbody").append(' '+lang("theme_xhred_filemanager_hide_toolbar")+' '+lang("theme_xhred_filemanager_hovered_toolbar")+' '+lang("theme_xhred_filemanager_hide_actions")+' '+lang("theme_xhred_filemanager_settings_tabs_remember_state")+' '+lang("theme_xhred_filemanager_context_calculate_size")+' '+lang("theme_xhred_filemanager_settings_notification_type")+' ");function c(d){typeof d=="undefined"?d=$('input[name="config_portable_module_filemanager_hide_toolbar"]:checked'):false;var e=["config_portable_module_filemanager_hovered_toolbar"];if(d.val()=="true"){$.each(e,function(f,h){$('input[name="'+h+'"], select[name="'+h+'"]').prop("disabled",true);$('input[name="'+h+'"], select[name="'+h+'"]').parent(".aradio").addClass("disabled")})}else{$.each(e,function(f,h){$('input[name="'+h+'"], select[name="'+h+'"]').prop("disabled",false);$('input[name="'+h+'"], select[name="'+h+'"]').parent(".aradio").removeClass("disabled")})}}c();$('input[name="config_portable_module_filemanager_hide_toolbar"]').on("change",function(){c($(this))});$('input[name="config_portable_module_filemanager_hide_toolbar"], input[name="config_portable_module_filemanager_hovered_toolbar"], input[name="config_portable_module_filemanager_hide_actions"], input[name="config_portable_module_filemanager_notification_type"], input[name="config_portable_module_filemanager_remember_tabs"], input[name="config_portable_module_filemanager_calculate_size"]').on("change",function(){var e=$(this).attr("name"),d=$(this).val();localStorage.setItem($hostname+"-"+e,d);window[e]=d;t__wi_p.manageConfig("save")})}else{$(".panel-body").append('
    ');$("#list_form").detach().appendTo("#tab-1");if(typeof jQuery.ui=="object"){$(".tabs-top > ul.nav").sortable({revert:true,delay:100,update:function(){}})}if(config_portable_module_filemanager_remember_tabs&&__f___ld__tb_stored_chk()){__f___ld__tb_stored()}$("#headln2r .btn-group").prepend('')}$("body").on("mouseleave",".popover:not(.file-manager-help)",function(d){d.preventDefault();d.stopPropagation();$(this).popover("hide")});$("div.total").append(__f___tl_v());$(".tab-pane.active").data("totalValue",$("div.total").html());$("body").append('");$("body").on("click","#__f__c__m li i.fa",function(d){$(this).parents("a").trigger("click")});$("body").on("hidden.bs.modal",function(){$(".modal-backdrop").remove()});$("body").on("submit",'form[action="save_config.cgi"]',function(){localStorage.setItem($hostname+"-_________per_page",parseInt($('input[name="per_page"]').val()))});$("body").on("click",function(d){$(".tooltip").each(function(){if(!$(this).is(d.target)&&$(this).has(d.target).length===0&&$(".tooltip").has(d.target).length===0){$(this).tooltip("hide")}})});$("body").on("click",".breadcrumb .fa-caret-right",function(f){f.preventDefault();f.stopPropagation();var d=$(".breadcrumb span[data-tree]"),m=$(".breadcrumb .fa-caret-down"),k=$(this),e=k.attr("data-path"),h=(e?e:"/"),n=k.parent("a").attr("href");$dirCurrent=k.parent("a").text();d.remove();m.addClass("fa-caret-right").removeClass("fa-caret-down");if(k.parent("a").next("span[data-tree]").length){return}k.addClass("invisible").after('');$(this).removeClass("fa-caret-right").addClass("fa-caret-down");k.parent("a").after('