File tree Expand file tree Collapse file tree 3 files changed +18
-4
lines changed
Expand file tree Collapse file tree 3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -2250,7 +2250,7 @@ div.l-content > div.l-separator:nth-of-type(4) {
22502250 height : 16px ;
22512251 overflow : hidden;
22522252 padding-top : 6px ;
2253- width : 620 px ;
2253+ width : 593 px ;
22542254}
22552255
22562256.vst-ok {
Original file line number Diff line number Diff line change 1515 $panel = json_decode(implode('', $output), true);
1616}
1717*/
18+
19+
20+
1821/*
1922// Check user session
2023if ((!isset($_SESSION['user'])) && (!defined('NO_AUTH_REQUIRED'))) {
2427}
2528*/
2629
30+ // Check module activation
31+ if (!$ _SESSION ['FILEMANAGER_KEY ' ]) {
32+ $ _SESSION ['request_uri ' ] = $ _SERVER ['REQUEST_URI ' ];
33+ header ("Location: /login/ " );
34+ exit ;
35+ }
36+
37+
2738?>
2839
2940<title>Edit file <?= htmlspecialchars ($ _REQUEST ['path ' ]) ?> </title>
Original file line number Diff line number Diff line change 267267 var src = $(item).find('.source').val();
268268 src = $.parseJSON(src);
269269 var tab = FM.getTabLetter(FM.CURRENT_TAB);
270+
270271 if (FM.itemIsArchieve(src)) {
271- $('.menu-'+tab+' .extract-btn').show();
272- }
273- else {
272+ if($('.menu-'+tab+' .archive.button').first().is(':visible'))
273+ $('.menu-'+tab+' .extract-btn').first().show();
274+ else
275+ $('.menu-'+tab+' .extract-btn.small').show();
276+ } else {
274277 $('.menu-'+tab+' .extract-btn').hide();
275278 }
276279 }
You can’t perform that action at this time.
0 commit comments