diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index 3d0a8c67b..6eb65ad33 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.32) and Webmin (1.830) versions installed. +Please make sure that you have latest theme (18.40) 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 bc49936ba..edc49f539 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,26 @@ -##Changelog - -####Version 18.32 (January 05, 2017) +## Changelog + +#### Version 18.40 (21 March, 2017) +* Added ability to use theme configuration for all users [#640](https://github.com/qooob/authentic-theme/issues/640#issuecomment-287572703) +* Added complete support for dark palette in the content page (right frame) [#664](https://github.com/qooob/authentic-theme/issues/664) +* Added ability to toggle dark/light palette in a flash +* Added autocomplete feature (using _Tab_) for _Command Shell_ port [#641](https://github.com/qooob/authentic-theme/pull/641) +* Added ability to enable _beta channel_ for the theme updates to get early access on the new features +* Added close button for popovers and improved its general appearance [#46862](https://www.virtualmin.com/node/46862) +* Added support for included links in help popovers +* Added _Swedish_ language, thanks to [Sopor Spr](https://github.com/Sopor-) +* Updated _Catalan_ translation, thanks to [David Canalias](https://github.com/diathesaron) +* Fixed display in iconless mode for tables +* Fixed bugs [#623](https://github.com/qooob/authentic-theme/issues/623) [#637](https://github.com/qooob/authentic-theme/issues/637) [#639](https://github.com/qooob/authentic-theme/issues/639) [#645](https://github.com/qooob/authentic-theme/issues/645) [#647](https://github.com/qooob/authentic-theme/issues/647) [#649](https://github.com/qooob/authentic-theme/issues/649) [#657](https://github.com/qooob/authentic-theme/issues/657) [#659](https://github.com/qooob/authentic-theme/issues/659) [#665](https://github.com/qooob/authentic-theme/issues/665) [#666](https://github.com/qooob/authentic-theme/issues/666) [#672](https://github.com/qooob/authentic-theme/issues/672) [#673](https://github.com/qooob/authentic-theme/issues/673) [#675](https://github.com/qooob/authentic-theme/issues/675) [#677](https://github.com/qooob/authentic-theme/issues/677) [#680](https://github.com/qooob/authentic-theme/issues/680) [#681](https://github.com/qooob/authentic-theme/issues/681) [#682](https://github.com/qooob/authentic-theme/issues/682) [#45506](https://www.virtualmin.com/node/45506) [#45522](https://www.virtualmin.com/node/45522) [#45770](https://www.virtualmin.com/node/45770) + +#### Version 18.32 (January 05, 2017) * Added _Catalan_ language, thanks to [David Canalias](https://github.com/diathesaron) * Fixed bugs [#605](https://github.com/qooob/authentic-theme/issues/605) [#611](https://github.com/qooob/authentic-theme/pull/611) [#617](https://github.com/qooob/authentic-theme/pull/617) [#619](https://github.com/qooob/authentic-theme/issues/619) [#620](https://github.com/qooob/authentic-theme/issues/620) [#624](https://github.com/qooob/authentic-theme/issues/624) [#628](https://github.com/qooob/authentic-theme/issues/628) [#44856](https://www.virtualmin.com/node/44856) [#44874](https://www.virtualmin.com/node/44874) [#45206](https://www.virtualmin.com/node/45206) -####Version 18.31 (December 09, 2016) +#### Version 18.31 (December 09, 2016) Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](https://github.com/qooob/authentic-theme/issues/593) [#594](https://github.com/qooob/authentic-theme/pull/594) [#597](https://github.com/qooob/authentic-theme/issues/597) [#599](https://github.com/qooob/authentic-theme/issues/599) [#600](https://github.com/qooob/authentic-theme/issues/600) [#601](https://github.com/qooob/authentic-theme/issues/601) [#602](https://github.com/qooob/authentic-theme/issues/602) -####Version 18.30 (December 07, 2016) +#### Version 18.30 (December 07, 2016) * Increased theme's speed and stability * Added new drop-down _Command Shell_ port. There is no need in going to _Shell_ module to use console anymore. By default, hitting `Alt+K` anywhere in the theme will bring its accessibility immediately [#566](https://github.com/qooob/authentic-theme/issues/566) * Added new functionality that replaces old pop-up windows with contemporary modals for file-chooser and other familiar operations [#552](https://github.com/qooob/authentic-theme/issues/552) @@ -28,7 +41,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed dozens of unreported bugs * Fixed bugs [#394](https://github.com/qooob/authentic-theme/issues/394) [#571](https://github.com/qooob/authentic-theme/issues/571) [#582](https://github.com/qooob/authentic-theme/issues/582) [#583](https://github.com/qooob/authentic-theme/issues/583) [#587](https://github.com/qooob/authentic-theme/issues/587) [#43304](https://www.virtualmin.com/node/43304) [#44156](https://www.virtualmin.com/node/44156) -####Version 18.20 (October 29, 2016) +#### Version 18.20 (October 29, 2016) * Upgraded dependencies _jQuery 3.0_, latest _Bootstrap_, _DataTables_, _CodeMirror_ and other * Optimized dependencies load [#534](https://github.com/qooob/authentic-theme/issues/534) * Added support for _ConfigServer Security & Firewall_ v.9.20+ [#547](https://github.com/qooob/authentic-theme/issues/547) @@ -36,35 +49,35 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Enhanced display of _Virtualmin_ select [#466](https://github.com/qooob/authentic-theme/issues/466) * Fixed bugs [#509](https://github.com/qooob/authentic-theme/issues/509) [#510](https://github.com/qooob/authentic-theme/issues/510) [#535](https://github.com/qooob/authentic-theme/issues/535) [#536](https://github.com/qooob/authentic-theme/issues/536) [#540](https://github.com/qooob/authentic-theme/issues/540) [#541](https://github.com/qooob/authentic-theme/issues/541) [#543](https://github.com/qooob/authentic-theme/issues/543) [#544](https://github.com/qooob/authentic-theme/issues/544) [#546](https://github.com/qooob/authentic-theme/issues/546) [#547](https://github.com/qooob/authentic-theme/issues/547) [#551](https://github.com/qooob/authentic-theme/issues/551) [#553](https://github.com/qooob/authentic-theme/issues/553) [#554](https://github.com/qooob/authentic-theme/issues/554) [#556](https://github.com/qooob/authentic-theme/issues/556) [#559](https://github.com/qooob/authentic-theme/issues/559) [#561](https://github.com/qooob/authentic-theme/issues/561) [#564](https://github.com/qooob/authentic-theme/issues/564) [#42093](https://www.virtualmin.com/node/42093) [#43096](https://www.virtualmin.com/node/43096) [#43158](https://www.virtualmin.com/node/43158) -####Version 18.10 (August 06, 2016) +#### Version 18.10 (August 06, 2016) * Fixed bug [#527](https://github.com/qooob/authentic-theme/issues/527) -####Version 18.08 (August 05, 2016) +#### Version 18.08 (August 05, 2016) * Added ability to embed custom _Perl_ scripts to be able to run arbitrary server-side code that survives updates. It can be edited in _Theme Extensions_ [#525](https://github.com/qooob/authentic-theme/issues/525) * Fixed bug [#524](https://github.com/qooob/authentic-theme/issues/524) -####Version 18.07 (August 04, 2016) +#### Version 18.07 (August 04, 2016) * Fixed bugs [#521](https://github.com/qooob/authentic-theme/issues/521) [#522](https://github.com/qooob/authentic-theme/issues/522) [#40515](https://www.virtualmin.com/node/40515) -####Version 18.06 (August 01, 2016) +#### Version 18.06 (August 01, 2016) * Fixed bugs [#41530](https://www.virtualmin.com/node/41530) [#520](https://github.com/qooob/authentic-theme/pull/520) -####Version 18.05 (July 29, 2016) +#### Version 18.05 (July 29, 2016) * Fixed bugs [#516](https://github.com/qooob/authentic-theme/issues/516) [#517](https://github.com/qooob/authentic-theme/issues/517) [#518](https://github.com/qooob/authentic-theme/issues/518) [#519](https://github.com/qooob/authentic-theme/issues/519) -####Version 18.04 (July 23, 2016) +#### Version 18.04 (July 23, 2016) * Fixed bugs [#394](https://github.com/qooob/authentic-theme/issues/394) [#503](https://github.com/qooob/authentic-theme/issues/503) [#506](https://github.com/qooob/authentic-theme/issues/506) [#507](https://github.com/qooob/authentic-theme/issues/507) [#513](https://github.com/qooob/authentic-theme/issues/513) [#514](https://github.com/qooob/authentic-theme/issues/514) [#515](https://github.com/qooob/authentic-theme/issues/515) -####Version 18.03 (June 18, 2016) +#### Version 18.03 (June 18, 2016) * Added _Password Generator_ feature for pages that require it. Password length and characters used can be set in theme settings [#492](https://github.com/qooob/authentic-theme/issues/492) * Fixed bugs [#495](https://github.com/qooob/authentic-theme/issues/495) [#496](https://github.com/qooob/authentic-theme/issues/496) * Fixed other _Webmin/Usermin_ related bugs -####Version 18.02 (June 10, 2016) +#### Version 18.02 (June 10, 2016) * Fixed bugs [#470](https://github.com/qooob/authentic-theme/issues/470) [#487](https://github.com/qooob/authentic-theme/issues/487) * Added ability to donate using _[Bitcoin](https://github.com/qooob/authentic-theme#donation)_ and _[Yandex Money](https://github.com/qooob/authentic-theme#donation)_ -####Version 18.01 (June 09, 2016) +#### Version 18.01 (June 09, 2016) * Improved _UI_ of _ConfigServer Security & Firewall_ (in particular, configuration page and server outputs) * Added ability to extract `.rpm` and `.deb` files in _File Manager_ (needed dependencies for `.rpm`: _rpm2cpio_ and _cpio_; for `.deb`: _dpkg_) * Added ability to have user-specific tabs in _File Manager_ [#478](https://github.com/qooob/authentic-theme/issues/478) @@ -72,7 +85,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#320](https://github.com/qooob/authentic-theme/issues/320) [#445](https://github.com/qooob/authentic-theme/issues/445) [#452](https://github.com/qooob/authentic-theme/issues/452) [#485](https://github.com/qooob/authentic-theme/issues/485) [#39576](https://www.virtualmin.com/node/39576) [#39789](https://www.virtualmin.com/node/39789) [#40686](https://www.virtualmin.com/node/40686) [#40936](https://www.virtualmin.com/node/40936) [#40988](https://www.virtualmin.com/node/40988) * Fixed dozens of other bugs -####Version 18.00 (May 26, 2016) :star2: +#### Version 18.00 (May 26, 2016) :star2: * Fixed possible security issue and removed _Security Alerts_ as they become the part of _Webmin Core_ in the near future [#467](https://github.com/qooob/authentic-theme/issues/467) * Improved _UI_ overall * Reworked and empowered _File Manager_ functionality: @@ -100,7 +113,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#422](https://github.com/qooob/authentic-theme/issues/422) [#433](https://github.com/qooob/authentic-theme/issues/433) [#455](https://github.com/qooob/authentic-theme/issues/455) [#457](https://github.com/qooob/authentic-theme/issues/457) [#460](https://github.com/qooob/authentic-theme/issues/460) [#461](https://github.com/qooob/authentic-theme/issues/461) [#462](https://github.com/qooob/authentic-theme/issues/462) [#465](https://github.com/qooob/authentic-theme/issues/465) [#40767](https://www.virtualmin.com/node/40767) [#40686](https://www.virtualmin.com/node/40686) * Fixed dozens of other bugs -####Version 17.84 (April 15, 2016) +#### Version 17.84 (April 15, 2016) * Improved and enhanced _MySQL/PostgreSQL_ functionality: * Added ability to use background calls on diffident kind of operations (you might want to stop using _phpMyAdmin_) * Added ability to make sure that you are not going to leave the page unsaved after entering new data @@ -112,17 +125,17 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed refresh button on navigation menu to properly refresh content page * Fixed bugs [#425](https://github.com/qooob/authentic-theme/issues/425) [#434](https://github.com/qooob/authentic-theme/issues/434) [#436](https://github.com/qooob/authentic-theme/issues/436) [#438](https://github.com/qooob/authentic-theme/issues/438) [#439](https://github.com/qooob/authentic-theme/issues/439) [#440](https://github.com/qooob/authentic-theme/issues/440) -####Version 17.83 (April 11, 2016) +#### Version 17.83 (April 11, 2016) * Fixed bugs [#432](https://github.com/qooob/authentic-theme/issues/432) [#433](https://github.com/qooob/authentic-theme/issues/433) -####Version 17.82 (April 10, 2016) +#### Version 17.82 (April 10, 2016) * Enhanced support for _MySQL/PostgreSQL_ modules -####Version 17.81 (April 09, 2016) +#### Version 17.81 (April 09, 2016) * Improved support for the latest _ConfigServer Security & Firewall_ * Fixed a bug [#40293](https://www.virtualmin.com/node/40293) -####Version 17.80 (April 08, 2016) :star: +#### Version 17.80 (April 08, 2016) :star: * Improved theme's speed, up to around _20%_, depending on the module, due to large server-side code optimisation * Improved general _UI_ * Improved _autocomplete_ links' processing @@ -149,7 +162,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Added support for _ConfigServer Security & Firewall_ 8.19+ * Fixed bugs [#176](https://github.com/qooob/authentic-theme/issues/176) [#386](https://github.com/qooob/authentic-theme/issues/386) [#399](https://github.com/qooob/authentic-theme/issues/399) [#403](https://github.com/qooob/authentic-theme/issues/403) [#411](https://github.com/qooob/authentic-theme/issues/411) [#412](https://github.com/qooob/authentic-theme/issues/412) [#414](https://github.com/qooob/authentic-theme/issues/414) [#417](https://github.com/qooob/authentic-theme/issues/417) [#419](https://github.com/qooob/authentic-theme/issues/419) [#424](https://github.com/qooob/authentic-theme/issues/424) [#426](https://github.com/qooob/authentic-theme/issues/426) [#39272](https://www.virtualmin.com/node/39272) [#39722](https://www.virtualmin.com/node/39722) [#39958](https://www.virtualmin.com/node/39958) [#39974](https://www.virtualmin.com/node/39974) [#39977](https://www.virtualmin.com/node/39977) [#39999](https://www.virtualmin.com/node/39999) [#40066](https://www.virtualmin.com/node/40066) -####Version 17.72 (February 21, 2016) +#### Version 17.72 (February 21, 2016) * Added ability to selectively disable in-built page rendering mechanism for refractory modules [#396](https://github.com/qooob/authentic-theme/issues/396) [#397](https://github.com/qooob/authentic-theme/issues/397) * Changed update notifications are off by default for all. You could enable it manually, in case you wish to get updates aside from Webmin [#39717](https://www.virtualmin.com/node/39717) * Added ticking time on _System Information_ page @@ -159,17 +172,17 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed filters imposed in settings are being applied properly to login page * Fixed bugs [#398](https://github.com/qooob/authentic-theme/issues/398) [#402](https://github.com/qooob/authentic-theme/issues/402) [#39752](https://www.virtualmin.com/node/39752) -####Version 17.71 (February 17, 2016) +#### Version 17.71 (February 17, 2016) * Fixed bugs -####Version 17.70 (February 16, 2016) +#### Version 17.70 (February 16, 2016) * Changed overall page rendering. Switched away from old page loading mechanism. All pages now are loding using quick load, without using content page loader. It will feel faster, nicer and smoother. Enjoy. -####Version 17.65 (February 12, 2016) +#### Version 17.65 (February 12, 2016) * Added ability to setup manually _Easy Pie Charts_ width and scale length [#380](https://github.com/qooob/authentic-theme/issues/380) * Fixed bug [#384](https://github.com/qooob/authentic-theme/issues/384) -####Version 17.64 (February 10, 2016) +#### Version 17.64 (February 10, 2016) * Added _on-close_ prompt for _File Manager_ editor, in case file was edited but not saved * Added for _File Manager_ in _context menu_ new _Download_ option for files * Fixed _File Manager_ back button to _root_ folder error @@ -177,20 +190,20 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Improved _File Manager_ right click _context menu_ behaviour and added trigger by keyboard, using _menu_ key * Fixed bugs [#374](https://github.com/qooob/authentic-theme/issues/374) [#375](https://github.com/qooob/authentic-theme/issues/375) [#376](https://github.com/qooob/authentic-theme/issues/376) [#378](https://github.com/qooob/authentic-theme/issues/378) [#380](https://github.com/qooob/authentic-theme/issues/380) [#39613](https://www.virtualmin.com/node/39613) [#39228](https://www.virtualmin.com/node/39228) -####Version 17.63 (February 05, 2016) +#### Version 17.63 (February 05, 2016) * Added _File Manager_ help button for easier user-reference * Added ability in _File Manager_ to enter path manually, by `right-clicking` on the path or using `Ctrl+L` shortcut * Added translatable _dataTables_ entries to language file * Improved _File Manager_ size calculation, which now supports multiple _folders/files_ from properties of _context menu_ [#350](https://github.com/qooob/authentic-theme/issues/350) * Fixed bugs [#369](https://github.com/qooob/authentic-theme/issues/369) [#371](https://github.com/qooob/authentic-theme/issues/371) [#373](https://github.com/qooob/authentic-theme/issues/373) -####Version 17.62 (February 01, 2016) +#### Version 17.62 (February 01, 2016) * Fixed bugs [#365](https://github.com/qooob/authentic-theme/issues/365) [#366](https://github.com/qooob/authentic-theme/issues/366) [#368](https://github.com/qooob/authentic-theme/issues/368) -####Version 17.61 (January 31, 2016) +#### Version 17.61 (January 31, 2016) * Fixed bugs [#351](https://github.com/qooob/authentic-theme/issues/351) [#364](https://github.com/qooob/authentic-theme/issues/364) -####Version 17.60 (January 30, 2016) +#### Version 17.60 (January 30, 2016) * Added ability to select virtual-server/machine in _Virtualmin/Cloudmin_ using URL queries, like `?virtualmin&domain=example.com` or `?cloudmin&server=example.com`. Shortened params like, `dom` and `serv` are also supported * Added an option to control navigation menu's width [#353](https://github.com/qooob/authentic-theme/issues/353) * Added an option to theme's settings to reverse switch order [#358](https://github.com/qooob/authentic-theme/issues/358) @@ -205,26 +218,25 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#351](https://github.com/qooob/authentic-theme/issues/351) [#352](https://github.com/qooob/authentic-theme/issues/352) [#354](https://github.com/qooob/authentic-theme/issues/354 [#356](https://github.com/qooob/authentic-theme/issues/356) [#359](https://github.com/qooob/authentic-theme/issues/359) -####Version 17.54 (January 26, 2016) +#### Version 17.54 (January 26, 2016) * Added display of _symlink's_ target in _File Manager_ when hovering on the symlink-icon [#346](https://github.com/qooob/authentic-theme/issues/346) * Added an option for _File Manager_ in theme's settings to activate toolbar's drop-down on hover or using click * Fixed bugs [#39486](https://www.virtualmin.com/node/39486) [#350](https://github.com/qooob/authentic-theme/issues/350) -####Version 17.53 (January 25, 2016) +#### Version 17.53 (January 25, 2016) * Improved _File Manager_ right click _context menu_ styling and behaviour * Added _File Manager_ controls in theme's settings to hide toolbar (for extra lightness) and other options (the list will grow in time) * Added ability to let user choose as the default page the list of servers/systems in _Virtualmin/Cloudmin_ [#348](https://github.com/qooob/authentic-theme/issues/348) * Fixed a bug, when search using _autocomplete_ didn't work in _Virtualmin/Cloudmin_ for Virtual Servers/Virtual Machines group -####Version 17.52 (January 24, 2016) +#### Version 17.52 (January 24, 2016) * Added _File Manager_ folder size auto-calculation on row selection * Improved once again right click _context menu_ and modals' titles for _File Manager_ -####Version 17.51 (January 23, 2016) +#### Version 17.51 (January 23, 2016) * Improved right click _context menu_ for _File Manager_, which now has all options and behaves smart -* Fixed _Elegant_ theme for _CodeMirror_ -####Version 17.50 (January 21, 2016) +#### Version 17.50 (January 21, 2016) * Added right click _context menu_ for _File Manager_ for extra convenience * Added state of the art _color_ management for the palettes, using theme's settings. It is possible now to control `grayscale, sepia, saturate, hue-rotate, invert, brightness, contrast` filters for navigation menu and `grayscale, saturate, hue-rotate` for content page. It enables you to generate hundreds of color palettes with ease * Added _White Snow_ contrast theme, to resemble old _Virtualmin Framed Theme_ [#39344](https://www.virtualmin.com/node/39344) @@ -238,7 +250,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#333](https://github.com/qooob/authentic-theme/issues/333) [#334](https://github.com/qooob/authentic-theme/issues/334) [#335](https://github.com/qooob/authentic-theme/issues/335) [#336](https://github.com/qooob/authentic-theme/issues/336) [#340](https://github.com/qooob/authentic-theme/issues/340) * Fixed dozens of other issues -####Version 17.40 (January 10, 2016) +#### Version 17.40 (January 10, 2016) * Added triggers to automatically dismiss loader and perform window autoscroll in _Virtualmin/Cloudmin_ [#39237](https://www.virtualmin.com/node/39237) * Added documentation links next to product's version on _System Information_ page. Custom documentation links set in _Virtualmin/Cloudmin_ configuration are now also supported [#39225](https://www.virtualmin.com/node/39225) * Added sorting/filter ability for _Installed Scripts_ in _Virtualmin_ [#39237](https://www.virtualmin.com/node/39237) @@ -253,12 +265,12 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#321](https://github.com/qooob/authentic-theme/issues/321) [#322](https://github.com/qooob/authentic-theme/issues/322) [#323](https://github.com/qooob/authentic-theme/issues/323) [#326](https://github.com/qooob/authentic-theme/issues/326) [#328](https://github.com/qooob/authentic-theme/issues/328) * Fixed other bugs -####Version 17.31 (January 1, 2016) +#### Version 17.31 (January 1, 2016) * Added support for updated _File Manager_ in _Webmin_ 1.780 * Fixed editor in _File Manager_ saving content incorrectly, when multiple files were opened at once * Fixed bugs [#315](https://github.com/qooob/authentic-theme/issues/315) [#317](https://github.com/qooob/authentic-theme/issues/317) -####Version 17.30 (December 25, 2015) +#### Version 17.30 (December 25, 2015) * Added ability to use configurable HTML snippet in navigation menu, for identification purposes. It's configurable in settings, under navigation menu options. Example of usage: `
debug:10000` * Added ability to completely disable _Notification Slider_ using theme options [#305](https://github.com/qooob/authentic-theme/issues/305) * Added ability to minimize/maximize editor window in _File Manager_ [#308](https://github.com/qooob/authentic-theme/issues/308) @@ -274,7 +286,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed other bugs -####Version 17.20 (December 17, 2015) +#### Version 17.20 (December 17, 2015) * Added _Notification Slider_ to store pushed system messages. At the moment you will get notifications about _system packages updates_, _theme updates_, _ConfigServer Security & Firewall_'s _updates, statuses_ and _temporary blocks_, including server's attacked IP:port. There is an option to keep the slider fixed. Slider can be toggled by hotkey (default `Alt+N`) * Added two themes for _Notification Slider_ - _Dim Grey (default)_ and _White_ * Added _favicon_ notification counter, which enables _Webmin_ notifications seen anytime @@ -284,11 +296,11 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#287](https://github.com/qooob/authentic-theme/issues/287) [#295](https://github.com/qooob/authentic-theme/issues/295) [#297](https://github.com/qooob/authentic-theme/issues/297) [#298](https://github.com/qooob/authentic-theme/issues/298) * Fixed other bugs and made dozens of improvements -####Version 17.11 (November 19, 2015) +#### Version 17.11 (November 19, 2015) * Changed _Orange_ color palette to _Longhorn Orange_ * Fixed bugs [#281](https://github.com/qooob/authentic-theme/issues/281) [#282](https://github.com/qooob/authentic-theme/issues/282) -####Version 17.10 (November 18, 2015) +#### Version 17.10 (November 18, 2015) * Added background _System Information_ page updates. There is no need to reload _System Information_ page anymore to see what's new. It will be done automatically, every 2 minutes (by default). This timeout value can be changed in theme's settings. Besides, you will get important notifications, even if you're away from _System Information_ page, by having blinking asterisk near _System Information_ switch or button/link. After you visit _System Information_ page, the current output will be stored, thus you will not be notified twice for the same data. The following data will trigger notification to appear: * 1. Charts get over 85% of load * 2. Unseen packages updates @@ -297,21 +309,21 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed a bug [#280](https://github.com/qooob/authentic-theme/issues/280) * Fixed dozens of other small issues -####Version 17.04 (November 15, 2015) +#### Version 17.04 (November 15, 2015) * Fixed a bug [#279](https://github.com/qooob/authentic-theme/issues/279) -####Version 17.03 (November 09, 2015) +#### Version 17.03 (November 09, 2015) * Added document title dynamic update, depending on the current module. It also supports _Virtualmin/Cloudmin_, appending currenty selected virtual server/machine and _File Manager_, appending currently selected path [#76](https://github.com/Real-Gecko/filemin/issues/76) -####Version 17.02 (November 01, 2015) +#### Version 17.02 (November 01, 2015) * Added a feature to execute shell command from the search field. To do so, type `!` in search, followed by your command. Example: `! ls -lsaZ /root`. It's required to have _Command Shell_ module available * Fixed user-set virtual server/machine not properly loaded on the first run -####Version 17.01 (October 24, 2015) +#### Version 17.01 (October 24, 2015) * Added _Sea Green_ color palette and possibility to use custom [user palettes](https://github.com/qooob/authentic-theme#how-do-i-make-user-palettes-work) * Fixed bugs [#269](https://github.com/qooob/authentic-theme/issues/269) [#273](https://github.com/qooob/authentic-theme/issues/273) [#274](https://github.com/qooob/authentic-theme/issues/274) -####Version 17.00 (October 11, 2015) +#### Version 17.00 (October 11, 2015) * Added _10_ [predefined color palettes](https://github.com/qooob/authentic-theme/issues/264) for left navigation menu and _3_ for the right content page * Added separate options for _Webmin_/_Usermin_ to manage security notifications * Added quick access to theme's _extensions_ editor and _logo_ control, from _autocomplete_ menu @@ -320,10 +332,10 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed bugs [#255](https://github.com/qooob/authentic-theme/issues/255) [#256](https://github.com/qooob/authentic-theme/issues/256) [#259](https://github.com/qooob/authentic-theme/issues/259) [#261](https://github.com/qooob/authentic-theme/issues/261) * Fixed dozens of other issues -####Version 16.01 (September 27, 2015) +#### Version 16.01 (September 27, 2015) * Fixed bugs [#247](https://github.com/qooob/authentic-theme/issues/247) [#252](https://github.com/qooob/authentic-theme/issues/252) -####Version 16.00 (September 18, 2015) +#### Version 16.00 (September 18, 2015) * Improved theme's _performance_ by overall code optimization (biggest in theme's history) * Improved support for _Firefox_. _Firefox_ version 42+ will render animations very smoothly and provide, in general, same experience as _Chrome_ now * Improved support for _ConfigServer Security & Firewall_ module @@ -359,13 +371,13 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed other bugs and made dozens of improvements -####Version 15.51 (September 1, 2015) +#### Version 15.51 (September 1, 2015) * Fixed initiation of the spinner, that was shown on file download in _File Manager_, while clicking on the row * Fixed adding bookmarks in _File Manager_ no longer locks the table * Fixed minor bugs [#228](https://github.com/qooob/authentic-theme/issues/228) [#230](https://github.com/qooob/authentic-theme/issues/230) [#231](https://github.com/qooob/authentic-theme/issues/231) -####Version 15.50 (August 29, 2015) +#### Version 15.50 (August 29, 2015) * Improved theme's _speed_ by code optimization * Improved support for _ConfigServer Security & Firewall_ module. Editor mode and code highlights are now working flawlessly * Added initialization of filter in _File Manager_ on plain typing (like in _Nautilus_, for example) @@ -375,7 +387,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed minor bugs [#224](https://github.com/qooob/authentic-theme/issues/224) [#226](https://github.com/qooob/authentic-theme/issues/226) [#57](https://github.com/Real-Gecko/filemin/issues/57) * Fixed dozens of other minor bugs -####Version 15.00 (August 23, 2015) +#### Version 15.00 (August 23, 2015) * Improved and optimized theme's _speed_ and _display_ options * Added a new feature of adding any right side page to global _Favorites_ [#210](https://github.com/qooob/authentic-theme/issues/210) * Added complete _AJAX_ support for _File Manager_ (by _Alexandr Bezenkov_), taking it to the next, absolutely new level [#222](https://github.com/qooob/authentic-theme/issues/222) @@ -386,16 +398,16 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed multiple bugs [#213](https://github.com/qooob/authentic-theme/issues/213) [#214](https://github.com/qooob/authentic-theme/issues/214) [#220](https://github.com/qooob/authentic-theme/issues/220) [#223](https://github.com/qooob/authentic-theme/issues/223) * Fixed and made dozens of unmentioned bugs/improvements -####Version 14.02 (July 31, 2015) +#### Version 14.02 (July 31, 2015) * Fixed unrealistic bugs [#211](https://github.com/qooob/authentic-theme/issues/211) * Fixed _dataTables_ function for sorting files correctly by size -####Version 14.01 (July 30, 2015) +#### Version 14.01 (July 30, 2015) * Added _CodeMirror_ automatic mode (highlight syntax) detection for all file-editors * Added support for [_File Manager_](https://github.com/Real-Gecko/filemin) file-editor and improved general support for this module * Fixed multiple bugs [#205](https://github.com/qooob/authentic-theme/issues/205), [#206](https://github.com/qooob/authentic-theme/issues/206), [#207](https://github.com/qooob/authentic-theme/issues/207), [#209](https://github.com/qooob/authentic-theme/issues/209) -####Version 14.00 (July 21, 2015) +#### Version 14.00 (July 21, 2015) * Improved page spinners to use no _JavaScript_, adjusted theme colors and font-weights * Improved code and performance by combining styles/scripts in a single package and making other custom optimizations @@ -414,7 +426,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed an issue to make theme properly run when using `no_frame_options=1` option [#204](https://github.com/qooob/authentic-theme/issues/204) * Fixed dozens of other bugs -####Version 13.10 (June 30, 2015) +#### Version 13.10 (June 30, 2015) * Added an option to _disable all animation_ on the left menu and on tabs [#192](https://github.com/qooob/authentic-theme/issues/192) * Added `autofocus` on input field in _Command Shell_ module [#190](https://github.com/qooob/authentic-theme/issues/190) * Improved the look of custom radio buttons @@ -424,33 +436,33 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed issue with the size of input fields in _Squid Module_ [#197](https://github.com/qooob/authentic-theme/issues/197) * Fixed other multiple bugs -####Version 13.05 (June 2, 2015) +#### Version 13.05 (June 2, 2015) * Added in settings an option to use _custom links_ for quick-switching, while using digit hotkeys from 1 to 9, i.e. `Alt+1`, `Alt+2`, `Alt+3` ... `Alt+9` [#183](https://github.com/qooob/authentic-theme/issues/183) * Added disabled virtual servers/machines are now marked red [#184](https://github.com/qooob/authentic-theme/issues/184) * Fixed _line-graph bars_ issues [#185](https://github.com/qooob/authentic-theme/issues/185) * Fixed minor bugs -####Version 13.04 (May 31, 2015) +#### Version 13.04 (May 31, 2015) * Added in settings an option to quick-switch, using hotkey to _System Information_ page (`Alt+I`) * Fixed broken logo uploads [#181](https://github.com/qooob/authentic-theme/issues/181) * Fixed go back button in _Virtualmin/Cloudmin_ * Fixed minor bugs -####Version 13.03 (May 30, 2015) +#### Version 13.03 (May 30, 2015) * Improved UI of _System Statistics Graphs_ and optimized its usage * Fixed global issue, with generation icon-like links, when _show as_ set to _icons_ in module's settings [#180](https://github.com/qooob/authentic-theme/issues/180) * Fixed defaults properly set for _Make all accordions expanded_ [#179](https://github.com/qooob/authentic-theme/issues/179) * Fixed issues in _Webmin Servers Index_ module [#178](https://github.com/qooob/authentic-theme/issues/178) * Fixed overflow problem when listing long titles in _Easy Pie Charts_ [#177](https://github.com/qooob/authentic-theme/issues/177) -####Version 13.02 (May 27, 2015) +#### Version 13.02 (May 27, 2015) * Added support for old versions of Perl [#174](https://github.com/qooob/authentic-theme/issues/174) -####Version 13.01 (May 25, 2015) +#### Version 13.01 (May 25, 2015) * Fixed redirection loop on Safari OSX [#173](https://github.com/qooob/authentic-theme/issues/173) * Fixed switch-toggle in single mode [#172](https://github.com/qooob/authentic-theme/issues/172) -####Version 13.00 (May 24, 2015) +#### Version 13.00 (May 24, 2015) * Improved _theme settings are now configurable using UI_. From now on, you don't need to edit settings manually. Theme configurable options located in `Webmin->Webmin Configuration->Webmin Themes` * Improved UI of _right frame_ in great amount. Improved UI of _left menu_ and _login page_ * Improved content _page loader_ being less annoying. Content page spinner now will only appear in case something is _really_ loading. On regular page switching it will not appear anymore. When content page starts/ends loading, it's animated to improve user experience @@ -475,15 +487,15 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht > __NOTICE:__ A chat room `authentic-theme@conference.jabbers.im` is opened for discussions. In order to join the chat room, you would need _Jabber ID_. If you don't have _Jabber ID_, you can register it for free on __jabbers.im__, using any XMPP client, that supports account registrations. -####Version 12.00 (May 3, 2015) +#### Version 12.00 (May 3, 2015) * Added right page _icons_, that had been around in other themes for decades. Many people asked for it, including _Joe Cooper_. It was one of the conditions for making _Authentic Theme_ default in _Webmin_. _Icons_ that are used at the moment, are not brand new but looks good. Brand new, _SVG_ icons, are coming in the near future! It's very important to know, that all of these innovations, can be tweaked using settings. By default, _big icons_ are enabled, with _animation_ and _grayscale effect_. Using settings, you can change default icons, to small or extra small, or even completely disable them and get back to what _Authentic Theme_ has been before. Added in settings `settings_right_hide_table_icons`, `settings_right_small_table_icons`, `settings_right_xsmall_table_icons`, `settings_right_animate_table_icons`, `settings_right_grayscaled_table_icons` * Improved general UI of the left menu * Fixed some bugs -####Version 11.55 (May 2, 2015) +#### Version 11.55 (May 2, 2015) * Added _Easy Pie Charts_ and corresponding option `settings_sysinfo_easypie_charts`, that will let you enable/disable _Charts_ on _System Information_ page -####Version 11.50 (May 1, 2015) +#### Version 11.50 (May 1, 2015) * Added in settings `settings_right_iconize_header_links`, that enables you to choose between old style right-page header links or replace it with new beautiful icon links. Default is set to `true` * Added ability to disable right-page reload upon switching between _Webmin/Virtualmin/Cloudmin_ by the following option `settings_right_reload`. The default value is set to `true` * Added ability to choose hotkeys modifier and hotkeys values, when using it by the following options `settings_hotkey_toggle_modifier`, `settings_hotkey_toggle_key_webmin`, `settings_hotkey_toggle_key_virtualmin`, `settings_hotkey_toggle_key_cloudmin`, `settings_hotkey_toggle_key_usermin`, `settings_hotkey_toggle_key_webmail`, `settings_hotkey_focus_search` and `settings_hotkey_reload` @@ -492,7 +504,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed mail being displayed in HTML, to preserve message custom formatting * Fixed _dozens_ of bugs -####Version 11.10 (Apr 13, 2015) +#### Version 11.10 (Apr 13, 2015) * Added ability to open new tab of _Webmin/Usermin/Virtualmin/Cloudmin/Webmail_ by clicking on the switch (top left menu's selector) by right mouse button. **Important:** You must once add _popup window exception_ in your browser to make this feature work * Improved greatly the usage of `autocomplete` for basic _Webmin_ modules. You can test it by going to _Running Processes_ or _Perl Modules_ and start typing in search field. Same done for most inbuilt modules * Removed a hack for _Historic System Statistics_ module, as it was fixed by the author in version 2.11 [#1](https://github.com/qooob/authentic-theme/issues/1#issuecomment-91328157) @@ -504,12 +516,12 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed missing images in _Translator Module_ [#155](https://github.com/qooob/authentic-theme/issues/155) * Fixed multiple small bugs -####Version 11.01 (Mar 29, 2015) +#### Version 11.01 (Mar 29, 2015) * Fixed unclickable left menu links, when custom logo is used [#143](https://github.com/qooob/authentic-theme/issues/143) * Fixed DHCP-server module showing no hostnames [#145](https://github.com/qooob/authentic-theme/issues/145) * Fixed multiple small bugs -####Version 11.00 (Mar 25, 2015) +#### Version 11.00 (Mar 25, 2015) * Added window automatic scrolling, upon page is populated from server-side.Test it and see it in action in such modules as _Fetchmail Mail Retrieval_, _Software Package Updates_ and others. Intended mouse-scroll done by user, during auto-scrolling, will make it stop. Loader will be automatically hidden upon this features is triggered. This feature can be disabled using settings * Added in settings: `settings_security_notify_on_pre_login_request`, `settings_security_notify_on_login_request`, `settings_security_notify_on_login_success`, `settings_window_autoscroll`, `settings_sysinfo_theme_updates`, `settings_sysinfo_csf_updates`, `settings_leftmenu_button_language`, `settings_leftmenu_singlelink_icons`, `settings_leftmenu_vm_installscripts`, `settings_leftmenu_vm_webpages` and `settings_leftmenu_vm_backup_amazon` * Added automatically stretching inputs for long text [#121](https://github.com/qooob/authentic-theme/issues/121) @@ -526,24 +538,24 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Improved UI of the right frame - dozens of improvements on fonts, tables, buttons, scrollbars and etc * Remove all dependencies [#125](https://github.com/qooob/authentic-theme/issues/125) -####Version 10.20 (Mar 15, 2015) +#### Version 10.20 (Mar 15, 2015) * Fixed issues with slight text flickering on the left menu * Fixed missing table headers/borders in some modules * Fixed compatibility mode for third-party modules -####Version 10.12 (Mar 9, 2015) +#### Version 10.12 (Mar 9, 2015) * Fixed sub-accordions issue found by _Joe Cooper_ -####Version 10.11 (Mar 8, 2015) +#### Version 10.11 (Mar 8, 2015) * Added in settings `settings_leftmenu_section_hide_unused_modules` * Moved theme build to the separate directory as recommended by _Jamie Cameron_ -####Version 10.10 (Mar 7, 2015) +#### Version 10.10 (Mar 7, 2015) * Changed left menu color to be slightly lighter * Added in settings `settings_sysinfo_expand_all_accordions` and `settings_leftmenu_section_hide_refresh_modules` * Fixed quota/bandwidth calculations for _System Information_ -####Version 10.00 (Mar 4, 2015) +#### Version 10.00 (Mar 4, 2015) * Changed theme **repo location** to _GitHub_. **Attention:** It's required that your _Perl_ installation can handle _https_ connections. Make sure to have installed, either _LWP::Protocol::https_ or _Bundle::LWP_ modules to make future _automatic updates_ work * Improved left menu design to be more flat-like _(complete page reload is required)_ * Improved the look of old **ui_hidden** collapse, to look more like new _Bootstrap_ collapse @@ -569,7 +581,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed login page throwing an error to the console * Removed screen-saver, as it was eating a lot of memory -####Version 9.50 (Feb 8, 2015) +#### Version 9.50 (Feb 8, 2015) * Added **dataTables** to _Software Package Updates_, as it's useful to sort packages by _name/description/status/source_ * Added font **Roboto** in the package and set as default. Font now is local, because _Google_ is blocked in some countries [#80](https://github.com/qooob/authentic-theme/issues/80) * Added **Hotkey** - _double_ `Shift` for dismissing right side loader @@ -582,23 +594,23 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed **sticking out** _long text_ in the left menu in some languages (Russian, French, Polish and some other) [#95](https://github.com/qooob/authentic-theme/issues/95) * Fixed **stuck loader**, when going to _Webmin Scheduled Functions_ [#86](https://github.com/qooob/authentic-theme/issues/86) -####Version 9.03 (Feb 3, 2015) +#### Version 9.03 (Feb 3, 2015) * Fixed file selector **filter broken** in some cases [#81](https://github.com/qooob/authentic-theme/issues/81) * Fixed a general bug (not theme related), when **clicking** on _external links_ [#82](https://github.com/qooob/authentic-theme/issues/82) * Fixed ConfigServer Security & Firewall **Firefox bug** when buttons didn't work [#83](https://github.com/qooob/authentic-theme/issues/83) -####Version 9.02 (Feb 2, 2015) +#### Version 9.02 (Feb 2, 2015) * Fixed **loader** positioning * Fixed **small buttons** under the menu showing _correct language link_ on toggling between _Webmin/Virtualmin/Cloudmin_ * Fixed **menu jumps** [#76](https://github.com/qooob/authentic-theme/issues/76) * Fixed **selects** incorrectly triggering loader in some cases [#78](https://github.com/qooob/authentic-theme/issues/78) * Improved **mobile menu** trigger button position and some other mobile menu tweaks -####Version 9.01 (Feb 1, 2015) +#### Version 9.01 (Feb 1, 2015) * Fixed **Firefox bug** making right frame _links not clickable_ [#74](https://github.com/qooob/authentic-theme/issues/74) * Improved **navigation** menu auto-opening -####Version 9.00 (Feb 1, 2015) +#### Version 9.00 (Feb 1, 2015) * Changed: Overall **UI redesign** for better experience * Changed: Code **core** complete rewrite for both _server_ and _client-side_. Improved **speed** and **browser/plugin** compatibility * Added support for _Virtualmin/Cloudmin_ **missing left menu**, for currently selected virtual server/machine. ***Attention:*** You need latest _Virtualmin_ installation to make it work. (For _Virtualmin_ *Pro*, minimum version requirement is 4.13 and for *GPL* users minimum is 4.14) @@ -609,13 +621,13 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Added **shortcut** _Alt+R_ for _reloading_ right frame * Added **Chinese translation** by [Dreista](https://github.com/Dreista) -####Version 8.10 (Jan 9, 2015) +#### Version 8.10 (Jan 9, 2015) * Fixed script removing _text_ in rare cases, next to **radios/checkboxes**, which is actually crucial for understanding of what to select * Changed alien Alt sign **⌥** to **Alt**, which now also only appears **onfocus** on search field (thanks to _Joe Cooper_ for advice) * Fixed _dozens_ of UI issues, like broken borders on tables and some other visual improvements (now theme provides most accurate UI _ever_ achieved) * Removed donation button from _System Information_ page, that was seen on everyday basis (thanks to _Joe Cooper_ for advice) -####Version 8.00 (Jan 4, 2015) +#### Version 8.00 (Jan 4, 2015) * Added **Quick Search**. No more searching through the menus. Hit _Alt+S_ **(⌥S)** and start typing to see what you get. When you use suggestions from drop-down, you get quick access to the modules; if you just type and hit enter you get the regular search * Added **Quick Toggle**. It lets you quickly switch between Webmin/Virtualmin/Cloudmin. To toggle use _Alt+W_ **(⌥W)** / _Alt+V_ **(⌥V)** / _Alt+C_ **(⌥C)** * Added support for **TimePlot** for Pro versions of _Virtualmin_ to display _System Statistics_ @@ -628,7 +640,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed _ConfigServer Security & Firewall_ **UI bugs** * Fixed minor **UI bugs** fixes -####Version 7.00 (Dec 21, 2014) +#### Version 7.00 (Dec 21, 2014) * Improved overall **theme speed** - twice as fast as before * Added scrolling to extra long **help popovers** that were going off the screen * Added complete support for **Internet Explorer** browser @@ -643,7 +655,7 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed missing **ui_hidden** when changing tabs [#56](https://github.com/qooob/authentic-theme/issues/56) * Fixed **hundreds** of UI bugs -####Version 6.60 (Dec 2, 2014) +#### Version 6.60 (Dec 2, 2014) * Added basic support for _Cloudmin_ module * Added **TinyMCE** text editor for _Mail_ modules * Fixed display issues in _Mail_ modules @@ -651,127 +663,127 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed all possible issues with missing **input** fields, in all modules, including _ProFTPd_ module [#50](https://github.com/qooob/authentic-theme/issues/50) * Fixed minor UI bugs -####Version 6.52 (Nov 23, 2014) +#### Version 6.52 (Nov 23, 2014) * Reverted incorrectly removed stray `div` tag at the **theme_footer** * Added _Virtualmin Pro_ information popover and refresh license keys on _System Information_ * Fixed minor UI bugs -####Version 6.51 (Nov 23, 2014) +#### Version 6.51 (Nov 23, 2014) * Fixed display issues at small screen resolutions [#45](https://github.com/qooob/authentic-theme/issues/45) * Added functionality to prevent stuck update states [#46](https://github.com/qooob/authentic-theme/issues/46) * Removed stray `div` tag at the **theme_footer** to prevent possible page breaks -####Version 6.50 (Nov 21, 2014) +#### Version 6.50 (Nov 21, 2014) * Fixed positioning for new **quick-access menu** and **refresh button**. Refresh button now spins on frame reload. Both buttons now work well on mobile devices * Added _File Manager_ link on **quick-access menu** per request * Added link behavior, for/when clicking on _hostname_ in page header * Fixed minor UI bugs -####Version 6.41 (Nov 20, 2014) +#### Version 6.41 (Nov 20, 2014) * Fixed missing icons on _Virtualmin_ **Bandwidth Usage** page [#41](https://github.com/qooob/authentic-theme/issues/41) -####Version 6.40 (Nov 18, 2014) +#### Version 6.40 (Nov 18, 2014) * Added **refresh button** to refresh the page. _Attention!_ **Left click** will refresh the right frame, while **right click** will refresh the whole page * Added **quick access menu** and **refresh button** hover effect * Fixed missing **font-family: monospace;** on all **pre** tags -####Version 6.30 (Nov 15, 2014) +#### Version 6.30 (Nov 15, 2014) * Added **quick access menu** for _Webmin/Usermin/Virtualmin_. It makes things easy accessible. Menu depends on the _module/user_ permissions * Added display of **Virtualmin** version to the **System Information** * Fixed minor UI bugs -####Version 6.24 (Nov 14, 2014) +#### Version 6.24 (Nov 14, 2014) * Fixed history state toggle for **System Information** [#39](https://github.com/qooob/authentic-theme/issues/39) * Added **webprefix** to the file paths [#38](https://github.com/qooob/authentic-theme/issues/38) -####Version 6.23 (Nov 13, 2014) +#### Version 6.23 (Nov 13, 2014) * Updated to the latest _Bootstrap_ v3.3.1 * Fixed paginations misplacement and size on _Read Mail_ module [#37](https://github.com/qooob/authentic-theme/issues/37) * Fixed/added missing icons on _Read Mail_ module -####Version 6.22 (Nov 9, 2014) +#### Version 6.22 (Nov 9, 2014) * Updated to _CodeMirror_ v4.7.0 * Improved page loader * Fixed/added missing icons on _Read Mail_ module * Fixed stuck spinner when printing mail on _Read Mail_ module * Fixed minor UI bugs -####Version 6.21 (Nov 9, 2014) +#### Version 6.21 (Nov 9, 2014) * Fixed opening Webmin/Usermin at the right frame, when session is expired [#35](https://github.com/qooob/authentic-theme/issues/35) * Fixed _Read User Mail_ module, showing a stuck spinner when performing mail download -####Version 6.20 (Nov 7, 2014) +#### Version 6.20 (Nov 7, 2014) * Fixed opening window issue on **user switch** action [#31](https://github.com/qooob/authentic-theme/issues/31) * Fixed missing icons on **Read Mail** module [#33](https://github.com/qooob/authentic-theme/issues/33) * Added _Italian_, _French_, _Spanish_ translations [#26](https://github.com/qooob/authentic-theme/issues/26) -####Version 6.10 (Nov 6, 2014) +#### Version 6.10 (Nov 6, 2014) * Fixed messed up theme automatic update [#29](https://github.com/qooob/authentic-theme/issues/29) * Added option to refresh only system information and not packages, by clicking right mouse button on **refresh button** [#29](https://github.com/qooob/authentic-theme/issues/29) -####Version 6.02 (Nov 6, 2014) +#### Version 6.02 (Nov 6, 2014) * Fixed upcoming bug [#28](https://github.com/qooob/authentic-theme/issues/28) -####Version 6.01 (Nov 6, 2014) +#### Version 6.01 (Nov 6, 2014) * Fixed upcoming bug [#26](https://github.com/qooob/authentic-theme/issues/26#issuecomment-61886719) -####Version 6.00 (Nov 6, 2014) +#### Version 6.00 (Nov 6, 2014) * Fixed **refresh button** being slow on _System Information_ page [#24](https://github.com/qooob/authentic-theme/issues/24) * Fixed _System Information_ being displayed properly based on logged in users' privileges [#10](https://github.com/qooob/authentic-theme/issues/10) * Changed the way **refresh button** works on _System Information_ page. No more using **recollect.cgi** or any other server-side scripts. * Fixed dozens of small bugs -####Version 5.10 (Oct 31, 2014) +#### Version 5.10 (Oct 31, 2014) * Added **refresh button** to _System Information_ page [#23](https://github.com/qooob/authentic-theme/issues/23) * Added _System Information_ link to _Virtualmin_ left navigation bar -####Version 5.00 (Oct 30, 2014) +#### Version 5.00 (Oct 30, 2014) * Added new beautiful **ui_link** buttons in replacement for old links with **|** separator * Fixed devastating bug, that stopped the script with fatal error, as **dataTables** were called prematurely * Fixed dozens of small bugs -####Version 4.41 (Oct 28, 2014) +#### Version 4.41 (Oct 28, 2014) * Fixed an issue with **file chooser**, not selecting a _file/directory_ [#21](https://github.com/qooob/authentic-theme/issues/21) -####Version 4.40 (Oct 28, 2014) +#### Version 4.40 (Oct 28, 2014) * Fixed missing numbers for _memory_ and _local disk space_ [#20](https://github.com/qooob/authentic-theme/issues/20) -####Version 4.31 (Oct 25, 2014) +#### Version 4.31 (Oct 25, 2014) * Fixed automatic updates not working in some cases [#17](https://github.com/qooob/authentic-theme/issues/17) * Fixed rating stars not being rendered on sub-server script installer page in Virtualmin module [#18](https://github.com/qooob/authentic-theme/issues/18) -####Version 4.30 (Oct 24, 2014) +#### Version 4.30 (Oct 24, 2014) * Fixed general issue causing **buttons** submit a form with an empty values [#16](https://github.com/qooob/authentic-theme/issues/16) -####Version 4.20 (Oct 23, 2014) +#### Version 4.20 (Oct 23, 2014) * Fixed general issue causing **forms** on submit return an error in some cases [#15](https://github.com/qooob/authentic-theme/issues/15) * Fixed showing loader when clicking on **select_all/select_invert** links -####Version 4.17 (Oct 22, 2014) +#### Version 4.17 (Oct 22, 2014) * Added _Norwegian_ translation. Special thanks to _Kjetil Elde_ [#14](https://github.com/qooob/authentic-theme/issues/14) -####Version 4.16 (Oct 22, 2014) +#### Version 4.16 (Oct 22, 2014) * Fixed language files encoding [#13](https://github.com/qooob/authentic-theme/issues/13) -####Version 4.15 (Oct 21, 2014) +#### Version 4.15 (Oct 21, 2014) * Added _Polish_ translation. Special thanks to _Michał Pawlik_ [#12](https://github.com/qooob/authentic-theme/pull/12) -####Version 4.14 (Oct 20, 2014) +#### Version 4.14 (Oct 20, 2014) * Fixed general issue causing **radios** disappear in some modules, including _Linux Firewall_ [#11](https://github.com/qooob/authentic-theme/issues/11) -####Version 4.13 (Oct 18, 2014) +#### Version 4.13 (Oct 18, 2014) * Fixed tables automatic sorting by first **th**, to keep defaults set by **Webmin/Virtualmin** [#8](https://github.com/qooob/authentic-theme/issues/8) * Fixed minor loader issues * Fixed false/unclickable links in Usermin * Added CodeMirror **autofocus** on editing _textarea_ -####Version 4.12 (Oct 15, 2014) +#### Version 4.12 (Oct 15, 2014) * Added an option, upon logging in, automatically redirect to _Virtualmin_ module, in case it's installed -####Version 4.11 (Oct 13, 2014) +#### Version 4.11 (Oct 13, 2014) * Removed requirement for both, either using **Switch** module or **Feature** is no longer necessary. Replaced with simple **if/elsif/else** statements. Using **Switch** caused error messages on latest installations, e.g. _CentOS 7_, while using **Feature** caused errors on old installations -####Version 4.10 (Oct 12, 2014) +#### Version 4.10 (Oct 12, 2014) * Changed **link** named _View changelog_ in _ConfigServer Security & Firewall_ module to a **button** * Improved loader animation and behavior @@ -780,18 +792,18 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed **theme_ui_form_end** generator to wrap buttons in _span_ not in _td_, which enables support for lower resolutions [#4](https://github.com/qooob/authentic-theme/issues/4) * Removed redundant _fonts_ directory -####Version 4.00 (Oct 9, 2014) +#### Version 4.00 (Oct 9, 2014) * Fixed lost pre-login banner option * Added support for _dataTables_. Now you can easily sort table rows based on the table header. It gets easier to manage data in such modules as _Bootup and Shutdown_, _Users and Groups_ and others, containing multi-row data. It also supports _ConfigServer Security & Firewall_, where you can also easily filter _Temporary IP Entries_ and _Listening Ports_ * Added possibility to use automatic updates for **Authentic Theme**, with direct means of Webmin and its theme installation module - _no other server-side scripts are used_! Updates, when available, will be displayed in *System Information* tab.
*Warning!* In order to use automatic updates and check for new theme versions, your system _must have_ the following _Perl_ modules installed: _Net::SSLeay_. You should be able to install it from official repos.
See [FAQ](https://github.com/qooob/authentic-theme#troubleshoot) for more details * Added ability to remove the page _loader_ and see what is happening before the page actually loaded/constructed or just in case of the _loader_ getting stuck. To prematurely remove the _loader_, click on it, using mouse **double-right-click** * Removed false dependency for **virtual-server-theme/virtual-server-theme-lib.pl** -####Version 3.01 (Oct 7, 2014) +#### Version 3.01 (Oct 7, 2014) * Fixed malfunctioning **theme_ui_checkbox**, causing some _input_ fields disappear * Fixed few other small bugs -####Version 3.00 (Oct 5, 2014) +#### Version 3.00 (Oct 5, 2014) * Added popover tooltip for old **window.open** to process **help.cgi** * Added theme information version (installed/update notice) in _System Information_ (works by just comparing **VERSION.txt** files, nothing more) * Fixed error in _default.js_ script, throwing **NS_ERROR_NOT_AVAILABLE** in Firefox and other _Gecko_ browsers @@ -802,10 +814,10 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed table **vertical-align: top** for selecting hours * Fixed dozens of small bugs -####Version 2.01 (Oct 1, 2014) +#### Version 2.01 (Oct 1, 2014) * Fixed small bugs -####Version 2.00 (Oct 1, 2014) +#### Version 2.00 (Oct 1, 2014) * Added support for _Virtualmin_ module * Added support for _ConfigServer Security & Firewall_ module * Fixed/optimized images @@ -813,12 +825,12 @@ Fixed bugs [#592](https://github.com/qooob/authentic-theme/issues/592) [#593](ht * Fixed/added support for menu on mobile devices * Fixed dozens of small bugs -####Version 1.10 (Sep 24, 2014) +#### Version 1.10 (Sep 24, 2014) * Added support for highlighting edited config files, with showing line numbers * Fixed navigation menu problems, when using back (history) button * Fixed/optimized favicons dimensions -####Version 1.00 (Sep 21, 2014) +#### Version 1.00 (Sep 21, 2014) * Added full support for all elements: tables, forms, inputs, buttons and etc * Added stick menu to display which module was selected * Added optional favicons to visually distinguish Webmin/Usermin 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 cc2e3ca6a..fdd7fef55 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -##Contents +## Contents * [Changelog](https://github.com/qooob/authentic-theme/blob/master/CHANGELOG.md) -* [Download (18.32)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.32/authentic-theme-18.32.wbt.gz) +* [Download (18.40)![](https://rostovtsev.ru/pub/media/icons/download-23x14.png)](https://github.com/qooob/authentic-theme/releases/download/18.40/authentic-theme-18.40.wbt.gz) * [About](#about) * [FAQ](#faq) * [Troubleshoot](#troubleshoot) @@ -8,19 +8,19 @@ * [Donation![](https://rostovtsev.ru/pub/media/icons/heart-23x15.png)](https://github.com/qooob/authentic-theme#license) * [License](https://github.com/qooob/authentic-theme/blob/master/LICENSE) -##About +## About **Authentic** is [Webmin/](https://github.com/webmin/webmin)[Usermin/](https://github.com/webmin/usermin)[Virtualmin/](https://www.virtualmin.com/)[Cloudmin](http://webmin.com/cloudmin.html) theme based on [Bootstrap](https://github.com/twbs/bootstrap) and [Font Awesome](https://github.com/FortAwesome/Font-Awesome) that is made with _love_. It uses [CodeMirror](http://codemirror.net/) to highlight config files and show line numbers, when editing manually, [CKEditor](http://ckeditor.com/) to compose comprehensive HTML based messages and [DataTables](http://www.datatables.net/) to add advanced interaction controls to modules' tables. Theme runs using latest releases of dependent software (mentioned above), supporting all in-built modules (even ancient ones) and third-party modules, including [ConfigServer Security & Firewall](http://configserver.com/cp/csf.html). [![ScreenShot](https://raw.githubusercontent.com/qooob/authentic-theme/master/images/screenshot.png)](http://youtu.be/f_oy3qX2GXo) ![](https://rostovtsev.ru/pub/media/screenshots/screenshot-pallets-1710.png) -![](https://rostovtsev.ru/pub/media/screenshots/screenshot-content-page-18.40.png) +![](https://rostovtsev.ru/pub/media/screenshots/screenshot-content-page-18.40-final.png) -####Principles +#### Principles * Make the theme fully support all _Webmin/Usermin_ modules * Be as beautiful, fast, light and easy to use as possible * Be compatible with all platforms and support mobile devices -####Features +#### Features * Configurable theme options using _Webmin_ UI * Top-down terminal port * Favorites feature for any content page @@ -33,46 +33,46 @@ * Extensive list of customizable theme options, with ability to embed user logos, styles and scripts * Extended support for _File Manager_ and _ConfigServer Security & Firewall_ modules -####Requirements +#### Requirements * Webmin _1.830+_ (required), Usermin _1.700+_ (optional), Virtualmin _5.00+_ (optional), Cloudmin _9.00+_ (optional) -####Recommended modules +#### Recommended modules * Installed _Net::SSLeay_ module, to make automatic update notifications work -####Browser support +#### Browser support -######![](https://rostovtsev.ru/pub/media/icons/chrome-16.png) Chrome 24+ +###### ![](https://rostovtsev.ru/pub/media/icons/chrome-16.png) Chrome 24+ -######![](https://rostovtsev.ru/pub/media/icons/firefox-16.png) Firefox 5+ +###### ![](https://rostovtsev.ru/pub/media/icons/firefox-16.png) Firefox 5+ -######![](https://rostovtsev.ru/pub/media/icons/opera-16.png) Opera 18+ +###### ![](https://rostovtsev.ru/pub/media/icons/opera-16.png) Opera 18+ -######![](https://rostovtsev.ru/pub/media/icons/safari-16.png) Safari 6+ +###### ![](https://rostovtsev.ru/pub/media/icons/safari-16.png) Safari 6+ -######![](https://rostovtsev.ru/pub/media/icons/edge-16.png) Edge 20+ +###### ![](https://rostovtsev.ru/pub/media/icons/edge-16.png) Edge 20+ -######![](https://rostovtsev.ru/pub/media/icons/internet-explorer-16.png) IE 10+ +###### ![](https://rostovtsev.ru/pub/media/icons/internet-explorer-16.png) IE 10+ -###FAQ -####How to install _Authentic_ Theme? +### FAQ +#### How to install _Authentic_ Theme? -#####Webmin +##### Webmin - To install _Autentic_ Theme from repository, just `clone` it into your wherever _Webmin_ binary folder _(libexec)_ is. After that, you must rename `authentic-theme-master` directory to `authentic-theme` to make the theme work properly. Besides, you could just [download](https://github.com/qooob/authentic-theme/releases/download/18.32/authentic-theme-18.32.wbt.gz) the theme directly and install it using _Webmin_: + To install _Autentic_ Theme from repository, just `clone` it into your wherever _Webmin_ binary folder _(libexec)_ is. After that, you must rename `authentic-theme-master` directory to `authentic-theme` to make the theme work properly. Besides, you could just [download](https://github.com/qooob/authentic-theme/releases/download/18.40/authentic-theme-18.40.wbt.gz) the theme directly and install it using _Webmin_: `Webmin->Webmin Configuration->Webmin Themes->Install themes->From uploaded file` -#####Usermin +##### Usermin Use the same procedure as described above to install the theme for _Usermin_: `Webmin->Usermin Configuration->Usermin Themes->Install themes->From uploaded file` -#####Virtualmin/Cloudmin +##### Virtualmin/Cloudmin There is no need to take any additional actions. In case _Virtualmin_ or/and _Cloudmin_ modules are installed, it will be automatically detected and supported. -####How to update _Authentic_ Theme manually? +#### 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 command line, do the following: 1. Go to _Webmin_ (`cd /usr/libexec/webmin`) or _Usermin_ (`cd /usr/libexec/usermin`) directory __*__ 2. Move current version of the theme to the temporary directory (`mv authentic-theme /tmp`) @@ -80,26 +80,26 @@ Theme can be easily updated manually. Please make sure that you have `git` comma 4. Restart _Webmin_/_Usermin_ after update
__*__ *Binary folder might be different from `libexec` depending on the system. Run `whereis webmin` to figure out the correct path.* -####How to update _Authentic_ Theme automatically? +#### How to update _Authentic_ Theme automatically? The theme has inbuilt feature to notify an administrative user to install updates. To enable this feature, turn `Check for Authentic Theme updates` on in theme settings. -####How do I customize the theme? +#### How do I customize the theme? Theme has configurable options, that are located in `Webmin->Webmin Configuration->Webmin Themes`. There as well, you can upload custom _logos_ and code custom _styles.css_, _scripts.js_ and _scripts.pm_. -####How do I execute shell command using search field? +#### How do I execute shell command using search field? Type `!` in search, followed by your command. Example: `! ls -lsaZ /root`. It's required to have _Command Shell_ module available. -####How do I make the theme load faster? +#### How do I make the theme load faster? _Webmin_ has in-built option to compress static files. It's possible to enable this feature by going to `Webmin->Webmin Configuration->Web Server Options` and setting _Gzip compress static files_ option to _Use pre-compressed file and compress dynamically_. Another solution would be to install used by default [_Roboto Font_](http://www.fontsquirrel.com/fonts/download/roboto "wget http://www.fontsquirrel.com/fonts/download/roboto -O roboto.zip") locally to prevent extra load from embedding it and later setting it in the theme's settings accordingly. -###Extended support for bundled/third-party modules +### Extended support for bundled/third-party modules -####_File Manager_ +#### _File Manager_ Theme has great support for this module, by adding numerous mast-have features. Most noticeable are listing without page reload (using XHR requests) and full keyboard support, which enables you to use _File Manager_ just as normal desktop browser. -#####List of keyboard shortcuts +##### List of keyboard shortcuts * `alphanumeric typing` - quick search * `up/down, home/end` - cursor position @@ -113,7 +113,7 @@ Theme has great support for this module, by adding numerous mast-have features. * `+` - select all * `-` - deselect all * `F2` - change permissions - * `Shift+F2` - Change attributes + * `Shift+F2` - change attributes * `F3` - change ownership * `Shift+F3` - change security context * `F4` - edit where possible @@ -134,11 +134,11 @@ Theme has great support for this module, by adding numerous mast-have features. * `Ctrl+Enter/Ctrl+Shift+Enter` - save/save and close currently edited file * `Theme reload hotkey` - reload current directory -####_ConfigServer Security & Firewall_ +#### _ConfigServer Security & Firewall_ Theme only re-renders this module and adds support for code highlight, when editing files manually. -###Troubleshoot +### Troubleshoot 1. Automatic updates notification feature doesn't work or `Can't locate Net/SSLeay.pm in ..)`
This happens because _Webmin_ is trying to open a link and download the theme using _https_ protocol. `Net::SSLeay` - is high level functions for accessing web servers (by using HTTP/HTTPS). You can install it using _Perl_ module in _Webmin_ or using _command-line_. Package name is `perl-Net-SSLeay`. Besides, in case you have mentioned module installed and automatic update feature still doesn't work, you would have to also install either `LWP::Protocol::https` or `Bundle::LWP` using _CPAN_ or by package name `perl-LWP-Protocol-https` or `perl-libwww-perl` respectively; 2. Strange `Â` character is appeared in text-editor mode or other encoding issues
@@ -154,27 +154,28 @@ Theme only re-renders this module and adds support for code highlight, when edit 7. Blinking navigation menu or overall jerky theme's rendering
This could happen to GPU driver misconfiguration on your OS. For more details refer to [#453](https://github.com/qooob/authentic-theme/issues/453) -###Development -####Lead developer +### Development +#### Lead developer * [Ilia Rostovtsev](https://rostovtsev.ru)[![](https://rostovtsev.ru/pub/media/icons/stackoverflow-23x15.png)](http://stackoverflow.com/users/1455661/ilia-rostovtsev) -###Contributions +### Contributions -####Translations +#### Translations * [Richard van Laak](https://github.com/Rvanlaak) (Dutch) * [Kjetil Elde](https://github.com/w00p) (Norwegian) * [Michał Pawlik](https://github.com/majk-p) (Polish) * [Michael Keck](https://github.com/mkkeck) (German) * [Silviu-Ionut Radu](https://github.com/sealview) (Romanian) * [Ilia Rostovtsev](https://github.com/qooob) (Russian) +* [David Canalias](https://github.com/diathesaron) (Catalan) +* [Sopor Spr](https://github.com/Sopor-) (Swedish) * [7stars](https://github.com/7starsone) (Spanish, French, Portuguese) * [dreista](https://github.com/Dreista) (Chinese) * [jlndk](https://github.com/jlndk) (Danish) * [stuchy3](https://github.com/stuchy3) (Czech) -* [David Canalias](https://github.com/diathesaron) (Catalan) -###Donation +### Donation You can make a difference. Donations show appreciation. Your donations would help me to pay my bills and _excite future development_. [![](https://rostovtsev.ru/pub/media/icons/yandex-175x89.png)](http://rostovtsev.ru/pub/api/donation/yandex.html) diff --git a/VERSION.txt b/VERSION.txt index d241feed8..f581bd8b4 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -18.32 +18.40 diff --git a/authentic-init.pm b/authentic-init.pm index a08338183..3fcd11a7d 100644 --- a/authentic-init.pm +++ b/authentic-init.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -27,9 +27,41 @@ sub settings } } +sub settings_filter +{ + my (%in_data) = @_; + + delete @in_data{ grep( !/^config_portable_|^settings_/, keys %in_data ) }; + delete @in_data{ grep( !m/^\w*$/, keys %in_data ) }; + for ( values %in_data ) { s/(.*)/'$1';/ } + for ( values %in_data ) { s/\$|`*//g } + for ( values %in_data ) { s/<' . "\n"; } diff --git a/authentic-lib.pm b/authentic-lib.pm index 6f2b27a55..99e6b7a23 100644 --- a/authentic-lib.pm +++ b/authentic-lib.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -1479,13 +1479,11 @@ sub csf_mod . theme_version() . '" rel="stylesheet">' . "\n"; - if ( length $__settings{'settings_background_color'} - && $__settings{'settings_background_color'} ne 'gainsboro' ) + if ( theme_night_mode() ) { print $fh '' . "\n"; @@ -2119,8 +2117,6 @@ sub _settings 'true', 'settings_right_reload', 'true', - 'settings_window_autoscroll', - 'true', 'settings_global_passgen_format', '12|a-z,A-Z,0-9,#', '__', @@ -2778,30 +2774,10 @@ sub _settings __config_dir_available(); if ( $t eq 'save' ) { - !foreign_available("webmin") && error( $Atext{'theme_error_access_not_root'} ); - - delete @in{ grep( !/^settings_/, keys %in ) }; - for ( values %in ) { s/(.*)/'$1';/ } - for ( values %in ) { s/"/'/g } - for ( values %in ) { s/\/\/////g } - for ( values %in ) { s/'true'/true/g } - for ( values %in ) { s/'false'/false/g } - for ( values %in ) { - s/ - \G - ( - (?: ^ [^']* ' | (?!^) ) - (?: [^'\\]+ | \\. )* - ) - ' - (?! [^']* \z ) - / - $1 . "\\'" - /xseg; - } - write_file( $config_directory . "/authentic-theme/settings.js", \%in ); + my %i = settings_filter(%in, $t); + write_file( $config_directory . "/authentic-theme/settings.js", \%i ); } if ( $t eq 'restore' ) { @@ -3400,7 +3376,7 @@ sub content sub changelog() { my $changelog_data = ( read_file_contents( $root_directory . '/' . $current_theme . "/CHANGELOG.md" ) =~ - /####Version(.*?)####Version/s )[0]; + /#### Version(.*?)#### Version/s )[0]; my @changelog_version = split /\n/, $changelog_data; $changelog_data =~ s/^[^\n]*\n/\n/s; @@ -3512,14 +3488,14 @@ sub manage_theme_config my %atconfig; if ( $action eq 'save' ) { - delete @in{ grep( !/^config_portable_|^settings_/, keys %in ) }; - &write_file( get_user_home() . "/.atconfig", \%in ); + my %i = settings_filter(%in); + write_file( get_user_home() . "/.atconfig", \%i ); } elsif ( $action eq 'load' ) { my $atconfig_file = ( get_user_home() . "/.atconfig" ); if ( -f $atconfig_file ) { - $atconfig = &read_file_contents($atconfig_file); - %atconfig = $atconfig =~ /(.*?)=(.*)/g; + my %atconfig = ( settings( get_user_home() . "/.atconfig" ) ); + delete @atconfig{ grep( !/^config_portable_/, keys %atconfig ) }; get_json( \%atconfig ); } diff --git a/authentic.pm b/authentic.pm index 3e7f4bb56..ad6601254 100644 --- a/authentic.pm +++ b/authentic.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (https://github.com/qooob/authentic-theme) # Copyright 2014-2017 Ilia Rostovtsev # Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) # @@ -61,8 +61,9 @@ sub theme_header . '" data-module="' . &get_module_name() . '" data-ovo="1"' - : undef - ) . '>' . "\n"; + : undef ) + . '' + . ( index( get_env('request_uri'), '/config.cgi?' ) gt "-1" ? ' id="configCGI"' : '' ) . '>' . "\n"; if ( @_ > 1 && $_[1] ne 'stripped' ) { print '
' . "\n"; diff --git a/buttons.pm b/buttons.pm index 5c70b0ae1..2f433b782 100644 --- a/buttons.pm +++ b/buttons.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 cc5848bb2..4352d3f4b 100644 --- a/config +++ b/config @@ -5,4 +5,3 @@ framed=1 cs_table=feffff cs_header=ffffff class='thead' cs_link=376ebd - diff --git a/extensions/csf/csf.css b/extensions/csf/csf.css index 367c55017..526b601df 100644 --- a/extensions/csf/csf.css +++ b/extensions/csf/csf.css @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (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 caf0faf8e..352dae5cc 100644 --- a/extensions/csf/csf.js +++ b/extensions/csf/csf.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (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 c4411d85c..8dc83e002 100644 --- a/extensions/csf/csf.min.css +++ b/extensions/csf/csf.min.css @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (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}.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}.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-post='viewlogs'] .dataTables_wrapper .table tbody tr.odd{background-color:#fff}html[data-post='viewlogs'] .dataTables_wrapper .table tbody tr.submenu{background-color:#ffffe4}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}html[data-post='logtail'] .panel .panel-body .panel,html[data-post='loggrep'] .panel .panel-body .panel{border:1px solid #eaeaea}.__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 form .section,.csf tbody tr th{font-size:17px;font-weight:normal;padding-top:7px;padding-bottom:7px;text-align:center;vertical-align:bottom !important}.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.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-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 tbody>tr:first-child,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:17px;padding:6.5px;border-bottom:1px solid #e4e4e4;box-shadow:none}html[data-module='csf'] .panel._devcon{border-color:#eaeaea;border-top-width:3px;border-top-color:#f0f0f0;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-top:3px 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-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'] 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:#ccc !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 tbody>tr:first-child,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'] 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>tbody>tr:first-child>td,html[data-background-style='nightRider'] body.csf .table>tfoot>tr:first-child>td{border-top:1px solid #424449 !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}html[data-post='viewports'][data-background-style='nightRider'] .col_header_custom{border-top:1px solid #424449 !important;border-right:1px solid #424449 !important;border-left:1px solid #424449 !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'] .panel{color:rgba(169,174,180,0.94) !important}html[data-module='csf'][data-background-style='nightRider'] .cspinner .cspinner-icon.dark{border-top-color:#70737b;border-left-color:#5d5c5c}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=''][data-module='csf'][data-background-style='nightRider'] div#home table tr:nth-child(even) td{background-color:#2a2d31 !important} \ No newline at end of file diff --git a/extensions/csf/csf.min.js b/extensions/csf/csf.min.js index 346b950eb..3cc99058d 100644 --- a/extensions/csf/csf.min.js +++ b/extensions/csf/csf.min.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (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 a093645b7..25fdd42e4 100755 --- a/extensions/file-manager/bookmark.cgi +++ b/extensions/file-manager/bookmark.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 b51b791a3..a60b0c529 100755 --- a/extensions/file-manager/chattr.cgi +++ b/extensions/file-manager/chattr.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 17e3c8de9..538a9ce84 100755 --- a/extensions/file-manager/chcon.cgi +++ b/extensions/file-manager/chcon.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 1ce2b22c3..93d61a8e1 100755 --- a/extensions/file-manager/chmod.cgi +++ b/extensions/file-manager/chmod.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 5c3690487..043b9187a 100755 --- a/extensions/file-manager/chown.cgi +++ b/extensions/file-manager/chown.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 cd6039c14..fea41734e 100755 --- a/extensions/file-manager/compress.cgi +++ b/extensions/file-manager/compress.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 d22bdfc03..dc4976ffb 100755 --- a/extensions/file-manager/copy.cgi +++ b/extensions/file-manager/copy.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 2770bf203..57623c0f7 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.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 b6b33a2e7..f7e440485 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.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 c49673f61..c70ff1009 100755 --- a/extensions/file-manager/cut.cgi +++ b/extensions/file-manager/cut.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 4bae44841..f518ed1dd 100755 --- a/extensions/file-manager/delete.cgi +++ b/extensions/file-manager/delete.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 db5859b56..990853828 100755 --- a/extensions/file-manager/extract.cgi +++ b/extensions/file-manager/extract.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 2a2fd883c..53dfe41e0 100644 --- a/extensions/file-manager/file-manager-lib.pm +++ b/extensions/file-manager/file-manager-lib.pm @@ -1,5 +1,5 @@ # -# Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) +# Authentic Theme 18.40 (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 0a5abc146..b4edfc681 100644 --- a/extensions/file-manager/file-manager.js +++ b/extensions/file-manager/file-manager.js @@ -1,5 +1,5 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (https://github.com/qooob/authentic-theme) * Copyright 2014-2017 Ilia Rostovtsev * Licensed under MIT (https://github.com/qooob/authentic-theme/blob/master/LICENSE) */ @@ -788,9 +788,9 @@ function __f__c__m() { $('a[onclick="downFromUrlDialog()"]').trigger("click") } if (e.data("context-clipboard") == "1") { - var b = URI(c.parents("tr").find("img").parent("a").attr("href")), - f = (b.filename() ? ("/" + b.filename()) : ""); - $("body").append(''); + var b = $.url(c.parents("tr").find("img").parent("a").attr("href")), + f = (b.param("file") ? ("/" + b.param("file")) : ""); + $("body").append(''); var d = new Clipboard(".tmp-clipboard-obj"); $(".tmp-clipboard-obj").trigger("click"); $(".tmp-clipboard-obj").remove(); diff --git a/extensions/file-manager/file-manager.min.js b/extensions/file-manager/file-manager.min.js index ef143b74f..1e0d4a822 100644 --- a/extensions/file-manager/file-manager.min.js +++ b/extensions/file-manager/file-manager.min.js @@ -1,6 +1,6 @@ /*! - * Authentic Theme 18.32 (https://github.com/qooob/authentic-theme) + * Authentic Theme 18.40 (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 __f___gd(){return $(_f__table().fnGetNodes()).find("input").add($(".active form > input")).serialize()}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(n,e){if(e&&!$.isArray(e)){e=encodeURIParam(e,"path")}if(n==="extract"){}var q=$('#list_form > input[type="hidden"][name="path"]').val();if(n!="bookmark"){__f_____lo(false,true)}if(n==="copy"||n==="cut"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/"+n+".cgi?module="+$g__m__name,data:__f___gd(),dataType:"text",success:function(a){localStorage.removeItem($hostname+"-cut");localStorage.removeItem($hostname+"-copy");localStorage.setItem($hostname+"-"+n,1);$(".o__f_m-button-paste").removeClass("disabled");if(n==="copy"){messenger('   '+lang("theme_xhred_filemanager_copying_successful"),1.5,"info",n+"_info")}else{if(n==="cut"){messenger('   '+lang("theme_xhred_filemanager_cutting_successful"),1.5,"warning",n+"_warning")}}__f_____ul()},error:function(a){messenger('   '+lang("theme_xhred_filemanager_buffer_error"),10,"error",n+"_error")}})}if(n==="paste"){__f__ld__sh();$.ajax({type:"POST",url:$g__e__path+"/file-manager/paste.cgi?path="+encodeURIComponentSafe(q)+"&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",n+"_warning");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(g[0]).text())}else{if(b=="merr"){messenger('  '+lang("theme_xhred_filemanager_move_into_self"),10,"error",n+"_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(q)+"&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",n+"_warning")}else{messenger('   '+lang("theme_xhred_filemanager_pasting_and_copying_"+c+""),5,"success",n+"_success")}__f___u("upd",$(d[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,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(q)+"&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",n+"_warning")}else{messenger('   '+lang("theme_xhred_filemanager_pasting_and_replacing_"+c+""),5,"success",n+"_success")}__f___u("upd",$(d[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(d[0]).text())},error:function(d){}})}}},onEscape:function(){}})}else{if(b=="cc"){messenger('   '+lang("theme_xhred_filemanager_pasting_and_copying_"+c+""),5,"success",n+"_success");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(g[0]).text())}else{messenger('   '+lang("theme_xhred_filemanager_pasting_successful"),5,"success",n+"_success");__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(g[0]).text())}}}}},error:function(a){}})}if(n==="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,n,false,$(g[0]).text())},error:function(a){}})}if(n==="bookmark"){__f_____sl();__f_____hl_();$.ajax({type:"POST",url:$g__e__path+"/file-manager/"+e+"&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",(q?q:"/")),5,"warning","bookmarkAddRemove")}else{messenger('   '+lang("theme_xhred_filemanager_bookmark_success").replace("%value",(q?q:"/")),5,"info","bookmarkAddRemove")}},error:function(a){}})}if(n==="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",n)},error:function(a){}})}if(n==="rename"){__f__ld__sh();var h=$('#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",n+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n)},error:function(a){}})}if(n==="create_folder"){__f__ld__sh();var h=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",n+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(g[0]).text())},error:function(a){}})}if(n==="create_file"){__f__ld__sh();var h=$('#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",n+"_error");__f_____ul();return}__f___u("upd",$(g[1]).find("table.ui_columns").find(".ui_checked_columns"),1,n,false,$(g[0]).text())},error:function(a){}})}if(n==="url_download"){__f__ld__sh();var h=$('#list_form > input[type="hidden"][name="path"]').val();modal_dismiss();$.ajax({type:"POST",url:$_____link_full+"/"+__f___mn()+"/http_download.cgi",data:$("#downFromUrlForm").serialize(),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",n+"_error");__f_____ul();return}else{if($(a).find(".panel-body h3").length){messenger('   '+$(a).find(".panel-body h3").html(),10,"error",n+"_error");return}else{messenger('   '+$(a).find(".panel-body").html(),5,"success",n+"_success");__f____r("get","index.cgi?path="+(h?encodeURIComponentSafe(h):""),false,0)}}},error:function(a){}})}if(n==="search"){__f__ld__sh();var h=$('#list_form > input[type="hidden"][name="path"]').val(),o=$("#searchForm").find('input[name="query"]').val(),m=$.trim($("#searchForm").find('input[name="grepstring"]').val()),k=$.trim($("#searchForm").find('input[name="grepreplace"]').val()),p=(m&&!k?" fa-1_50x fa-file-find":m&&k?" fa-1_50x fa-find-replace":" fa-lg fa-search");modal_dismiss();if(m&&!k){messenger('   '+lang("theme_xhred_filemanager_searching_matching").replace("%value",o).replace("%text",m)+" "+lang("theme_xhred_global_please_wait"),10000,"info",n+"_preMe")}else{if(m&&k){messenger('   '+lang("theme_xhred_filemanager_searching_replacing").replace("%value",o).replace("%text",m).replace("%replace",k)+" "+lang("theme_xhred_global_please_wait"),10000,"warning",n+"_preMe")}else{messenger('   '+lang("theme_xhred_filemanager_searching").replace("%value",o)+" "+lang("theme_xhred_global_please_wait"),10000,"info",n+"_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")?"   / ":"")+'  :  `'+o+""+(m&&!k?' ['+m+"]":(m&&k)?' ['+m+' -> '+k+"]":"")+"`");var a=5000;if(__list_table_total_rows>1){if(m&&k){messenger('   '+lang("theme_xhred_filemanager_search_replaced_multi").replace("%value",__list_table_total_rows),10,"success",n+"_success");a=9000}else{messenger('   '+lang("theme_xhred_filemanager_search_founds").replace("%value",__list_table_total_rows),6,"success",n+"_success")}}else{if(__list_table_total_rows==1){if(m&&k){messenger('   '+lang("theme_xhred_filemanager_search_replaced"),6,"success",n+"_success")}else{messenger('   '+lang("theme_xhred_filemanager_search_found"),6,"success",n+"_success")}}else{messenger('   '+lang("theme_xhred_filemanager_search_no_matches"),6,"error",n+"_error")}}setTimeout(function(){messenger_hide("search_preMe")},a)},error:function(a){}})}if(n==="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",n)},error:function(a){}})}if(n==="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",n)},error:function(a){}})}if(n==="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",n)},error:function(a){}})}if(n==="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",n)},error:function(a){}})}if(n==="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",n,[n,q,e[0]+$('select option[value="'+e[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(c,e){if(e.data("context-goto")=="1"){c.parents("tr").find('a.o__f_m-follow-file[href^="index.cgi?"]').trigger("click")}if(e.data("context-open-new-tab")=="1"){__f___nt(URI.parseQuery(URI(decodeURIComponent(c.parents("tr").find('a[href*="index.cgi?path="]').attr("href"))).query())["path"].replace("//","/"),1)}if(e.data("context-select-all")=="1"){$('button[onclick="selectAll()"]').trigger("click")}if(e.data("context-deselect-all")=="1"){__f___ds_a();__r____changed()}if(e.data("context-invert-selection")=="1"){$('button[onclick="invertSelection()"]').trigger("click")}if(e.data("context-refresh")=="1"){$("button > .fa-refresh").parent("button").trigger("click")}if(e.data("context-newfile")=="1"){$('a[onclick="createFileDialog()"]').trigger("click")}if(e.data("context-newfolder")=="1"){$('a[onclick="createFolderDialog()"]').trigger("click")}if(e.data("context-newarchive")=="1"){$('a[onclick="compressDialog()"]').trigger("click")}if(e.data("context-upload")=="1"){$('a[onclick="viewReadyForUpload()"]').trigger("click")}if(e.data("context-download")=="1"){$('a[onclick="downFromUrlDialog()"]').trigger("click")}if(e.data("context-clipboard")=="1"){var b=URI(c.parents("tr").find("img").parent("a").attr("href")),f=(b.filename()?("/"+b.filename()):"");$("body").append('');var d=new Clipboard(".tmp-clipboard-obj");$(".tmp-clipboard-obj").trigger("click");$(".tmp-clipboard-obj").remove();d.destroy()}if(e.data("context-copy")=="1"){$(".o__f_m-button-copy a").trigger("click")}if(e.data("context-cut")=="1"){$(".o__f_m-button-cut a").trigger("click")}if(e.data("context-paste")=="1"){$(".o__f_m-button-paste a").trigger("click")}if(e.data("context-delete")=="1"){$(".o__f_m-button-delete").trigger("click")}if($(e).is(".file-manager-remove-bookmark")){$('.btn-group .at-o__f_m-favorites-dropdown a[href="'+$(e).parent("a").attr("href")+'"]').find(".file-manager-remove-bookmark").trigger("click");$(e).parent("a").remove();return}if(e.data("context-bookmarks")=="1"){$('a[href^="bookmark.cgi"]').trigger("click")}if(e.data("context-search")=="1"){$('a[onclick="searchDialog()"]').trigger("click")}if(e.data("context-edit")=="1"){c.parents("tr").addClass("m-active");c.parents("tr").find('a[href^="edit_file.cgi?"]').trigger("click")}if(e.data("context-rename")=="1"){c.parents("tr").find('a[onclick^="renameDialog("]').trigger("click")}if(e.data("context-download-file")=="1"){$(c.parents("tr").find('a[href^="download.cgi?"]'))[0].click()}if(e.data("context-extract")=="1"){c.parents("tr").find('a[href^="extract.cgi?"]').trigger("click")}if(e.data("context-calculate-selected-size")=="1"){__f__get_fs()}if(e.data("context-chmod")=="1"){$('a[onclick="chmodDialog()"]').trigger("click")}if(e.data("context-chown")=="1"){$('a[onclick="chownDialog()"]').trigger("click")}if(e.data("context-chattr")=="1"){$('a[onclick="chattrDialog()"]').trigger("click")}if(e.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",''+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",$('#renameForm input[name="file"]').val()).replace("%to",$('#renameForm input[name="name"]').val()),5,"info",z+"_info")}if(z==="create_folder"){messenger('   '+lang("theme_xhred_filemanager_successful_directory_creation").replace("%value",$('#createFolderForm input[name="name"]').val()),5,"info",z+"_info")}if(z==="create_file"){messenger('   '+lang("theme_xhred_filemanager_successful_file_creation").replace("%value",$('#createFileForm input[name="name"]').val()),5,"info",z+"_info")}}function f_m__bm__cm(){var b=decodeURIComponent($('#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 $.trim($(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=decodeURIComponent($('#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($(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=decodeURIComponent($('#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 $.trim($(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('
  • '+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){b.find(".breadcrumb").append('
  • ')}else{b.find(".breadcrumb").append('
  • ')}$.each($(d),function(e,f){a=a+(f!=""?"/"+f:"");if(f!=""){b.find(".breadcrumb").append('
  • '+f+'
  • ')}}).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?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?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=URI.parseQuery(URI(decodeURIComponent(n)).query())["path"].replace("//","/"),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="+encodeURIComponentSafe(e));$.each($('.modal .modal-body form input[name="path"]'),function(){$(this).val(e)});$('ul li a[href^="bookmark.cgi?path="]').attr("href","bookmark.cgi?path="+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=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="+encodeURIComponentSafe(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=encodeURIComponentSafe(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="'+o+'"] img').before('');$.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){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")}!n&&$('#list_form > input[type="hidden"][name="path"]').val(URI.parseQuery(URI(decodeURIComponent(o)).query())["path"].replace("//","/"));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="'+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,decodeURIComponent(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){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=$.trim(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('