Skip to content

Commit 136cc17

Browse files
author
Serghey Rodin
committed
filemanager improvements
1 parent 03381b8 commit 136cc17

32 files changed

+66
-20
lines changed

web/css/styles.min.css

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,10 +1169,16 @@ div.l-content > div.l-separator:nth-of-type(4) {
11691169
vertical-align: middle;
11701170
}
11711171

1172+
.l-sort-toolbar.subtitle {
1173+
padding-left: 96px;
1174+
}
1175+
1176+
11721177
.l-sort-toolbar td:first-of-type {
11731178
padding-left: 40px;
11741179
}
11751180

1181+
11761182
.l-sort-toolbar td.step-right:first-of-type {
11771183
padding-right: 20px;
11781184
}
@@ -1963,18 +1969,18 @@ body.mobile .l-unit-toolbar__col--right {
19631969
background-position: -1px -442px;
19641970
}
19651971
.actions-panel__configure:hover a {
1966-
background-color: #afafac;
1972+
background-color: #55c9c0;
19671973
color: #fff;
19681974
}
19691975
.actions-panel__configure:active a {
1970-
background-color: #55c9c0;
1976+
background-color: #afafac;
19711977
color: #fff;
19721978
}
19731979
.actions-panel__configure:hover a i {
1974-
background-position: -41px -442px;
1980+
background-position: -81px -442px;
19751981
}
19761982
.actions-panel__configure:active a i {
1977-
background-position: -81px -442px;
1983+
background-position: -41px -442px;
19781984
}
19791985
.actions-panel__configure--active a {
19801986
background-color: #55c9c0;
@@ -2524,6 +2530,17 @@ a.vst-text:active b{
25242530
.vst-textinput:disabled {
25252531
background-color: #f1f1f1;
25262532
}
2533+
.vst-textinput.console{
2534+
font-size: 13px;
2535+
width: 630px;
2536+
height: 300px;
2537+
font-family:"Lucida Console", Monaco, monospace;
2538+
white-space: pre;
2539+
}
2540+
#advanced-options .console{
2541+
width: 833px;
2542+
height: 600px;
2543+
}
25272544
.generate {
25282545
color: #2C9491;
25292546
text-decoration: underline;

web/file_manager/fm_core.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,9 +237,6 @@ function unpackItem($item, $dir, $target_dir, $filename) {
237237
}
238238

239239
function renameFile($item, $target_name) {
240-
// $item = $this->formatFullPath($dir . '/' . $item);
241-
// $dst_item = $this->formatFullPath($dir . '/' . $target_name);
242-
243240
$item = $this->formatFullPath($item);
244241
$dst_item = $this->formatFullPath($target_name);
245242

@@ -366,7 +363,7 @@ public function parseListing($raw) {
366363
'owner' => $info[$this->info_positions['OWNER']],
367364
'group' => $info[$this->info_positions['GROUP']],
368365
'size' => $info[$this->info_positions['SIZE']],
369-
'name' => $info[$this->info_positions['NAME']]
366+
'name' => htmlspecialchars($info[$this->info_positions['NAME']], ENT_QUOTES)
370367
);
371368
}
372369

web/inc/i18n/ar.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
'DNS Support' => 'إضافةإلى بيانات DNS (افتراضي)',
286286
'Mail Support' => 'إضافة إلى نطاقات البريد (افتراضي)',
287287
'Advanced options' => 'المزيد من الخيارات المتقدمة',
288+
'Basic options' => 'Basic options',
288289
'Aliases' => 'الأسماء البديلة (تعمل عمل الاسم الرئيسي)',
289290
'SSL Certificate' => 'شهادة أمان SSL',
290291
'SSL Key' => 'مفتاح شهادة أمان SSL',

web/inc/i18n/bs.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
'DNS Support' => 'DNS podrška',
286286
'Mail Support' => 'Mail podrška',
287287
'Advanced options' => 'Dodatne opcije',
288+
'Basic options' => 'Basic options',
288289
'Aliases' => 'Aliasi',
289290
'SSL Certificate' => 'SSL certifikat',
290291
'SSL Key' => 'SSL Key',

web/inc/i18n/cn.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
'DNS Support' => 'DNS支持',
286286
'Mail Support' => 'Mail支持',
287287
'Advanced options' => '高级选项',
288+
'Basic options' => 'Basic options',
288289
'Aliases' => '别名',
289290
'SSL Certificate' => 'SSL证书',
290291
'SSL Key' => 'SSL Key',

web/inc/i18n/cz.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@
286286
'DNS Support' => 'DNS podpora',
287287
'Mail Support' => 'Mail podpora',
288288
'Advanced options' => 'Pokročilé nastavení',
289+
'Basic options' => 'Basic options',
289290
'Aliases' => 'Aliasy',
290291
'SSL Certificate' => 'SSL certifikát',
291292
'SSL Key' => 'SSL klíč',

web/inc/i18n/da.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@
287287
'DNS Support' => 'DNS Support',
288288
'Mail Support' => 'Mail Support',
289289
'Advanced options' => 'Avancerede Indstillinger',
290+
'Basic options' => 'Basic options',
290291
'Aliases' => 'Aliaser',
291292
'SSL Certificate' => 'SSL Certifikat',
292293
'SSL Key' => 'SSL Key',

web/inc/i18n/de.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
'DNS Support' => 'DNS Unterstützung',
286286
'Mail Support' => 'Mail Unterstützung',
287287
'Advanced options' => 'Erweiterte Optionen',
288+
'Basic options' => 'Basic options',
288289
'Aliases' => 'Aliase',
289290
'SSL Certificate' => 'SSL Zertifikat',
290291
'SSL Key' => 'SSL Schlüssel',

web/inc/i18n/el.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@
286286
'DNS Support' => 'Υποστήριξη DNS',
287287
'Mail Support' => 'Υποστήριξη Mail',
288288
'Advanced options' => 'Προχωρημένες επιλογές',
289+
'Basic options' => 'Basic options',
289290
'Aliases' => 'Ψευδώνυμα',
290291
'SSL Certificate' => 'Πιστοποιητικό SSL',
291292
'SSL Key' => 'Κλειδί SSL',

web/inc/i18n/en.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@
285285
'DNS Support' => 'DNS Support',
286286
'Mail Support' => 'Mail Support',
287287
'Advanced options' => 'Advanced options',
288+
'Basic options' => 'Basic options',
288289
'Aliases' => 'Aliases',
289290
'SSL Certificate' => 'SSL Certificate',
290291
'SSL Key' => 'SSL Key',

0 commit comments

Comments
 (0)