mirror of
https://github.com/myvesta/vesta
synced 2025-07-15 01:23:23 -07:00
filemanager improvements
This commit is contained in:
parent
03381b828f
commit
136cc17873
32 changed files with 68 additions and 22 deletions
29
web/css/styles.min.css
vendored
29
web/css/styles.min.css
vendored
|
@ -1169,10 +1169,16 @@ div.l-content > div.l-separator:nth-of-type(4) {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.l-sort-toolbar.subtitle {
|
||||||
|
padding-left: 96px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.l-sort-toolbar td:first-of-type {
|
.l-sort-toolbar td:first-of-type {
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.l-sort-toolbar td.step-right:first-of-type {
|
.l-sort-toolbar td.step-right:first-of-type {
|
||||||
padding-right: 20px;
|
padding-right: 20px;
|
||||||
}
|
}
|
||||||
|
@ -1963,18 +1969,18 @@ body.mobile .l-unit-toolbar__col--right {
|
||||||
background-position: -1px -442px;
|
background-position: -1px -442px;
|
||||||
}
|
}
|
||||||
.actions-panel__configure:hover a {
|
.actions-panel__configure:hover a {
|
||||||
background-color: #afafac;
|
|
||||||
color: #fff;
|
|
||||||
}
|
|
||||||
.actions-panel__configure:active a {
|
|
||||||
background-color: #55c9c0;
|
background-color: #55c9c0;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
.actions-panel__configure:active a {
|
||||||
|
background-color: #afafac;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
.actions-panel__configure:hover a i {
|
.actions-panel__configure:hover a i {
|
||||||
background-position: -41px -442px;
|
background-position: -81px -442px;
|
||||||
}
|
}
|
||||||
.actions-panel__configure:active a i {
|
.actions-panel__configure:active a i {
|
||||||
background-position: -81px -442px;
|
background-position: -41px -442px;
|
||||||
}
|
}
|
||||||
.actions-panel__configure--active a {
|
.actions-panel__configure--active a {
|
||||||
background-color: #55c9c0;
|
background-color: #55c9c0;
|
||||||
|
@ -2524,6 +2530,17 @@ a.vst-text:active b{
|
||||||
.vst-textinput:disabled {
|
.vst-textinput:disabled {
|
||||||
background-color: #f1f1f1;
|
background-color: #f1f1f1;
|
||||||
}
|
}
|
||||||
|
.vst-textinput.console{
|
||||||
|
font-size: 13px;
|
||||||
|
width: 630px;
|
||||||
|
height: 300px;
|
||||||
|
font-family:"Lucida Console", Monaco, monospace;
|
||||||
|
white-space: pre;
|
||||||
|
}
|
||||||
|
#advanced-options .console{
|
||||||
|
width: 833px;
|
||||||
|
height: 600px;
|
||||||
|
}
|
||||||
.generate {
|
.generate {
|
||||||
color: #2C9491;
|
color: #2C9491;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
|
@ -237,9 +237,6 @@ class FileManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
function renameFile($item, $target_name) {
|
function renameFile($item, $target_name) {
|
||||||
// $item = $this->formatFullPath($dir . '/' . $item);
|
|
||||||
// $dst_item = $this->formatFullPath($dir . '/' . $target_name);
|
|
||||||
|
|
||||||
$item = $this->formatFullPath($item);
|
$item = $this->formatFullPath($item);
|
||||||
$dst_item = $this->formatFullPath($target_name);
|
$dst_item = $this->formatFullPath($target_name);
|
||||||
|
|
||||||
|
@ -366,7 +363,7 @@ class FileManager {
|
||||||
'owner' => $info[$this->info_positions['OWNER']],
|
'owner' => $info[$this->info_positions['OWNER']],
|
||||||
'group' => $info[$this->info_positions['GROUP']],
|
'group' => $info[$this->info_positions['GROUP']],
|
||||||
'size' => $info[$this->info_positions['SIZE']],
|
'size' => $info[$this->info_positions['SIZE']],
|
||||||
'name' => $info[$this->info_positions['NAME']]
|
'name' => htmlspecialchars($info[$this->info_positions['NAME']], ENT_QUOTES)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['ar'] = array(
|
||||||
'DNS Support' => 'إضافةإلى بيانات DNS (افتراضي)',
|
'DNS Support' => 'إضافةإلى بيانات DNS (افتراضي)',
|
||||||
'Mail Support' => 'إضافة إلى نطاقات البريد (افتراضي)',
|
'Mail Support' => 'إضافة إلى نطاقات البريد (افتراضي)',
|
||||||
'Advanced options' => 'المزيد من الخيارات المتقدمة',
|
'Advanced options' => 'المزيد من الخيارات المتقدمة',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'الأسماء البديلة (تعمل عمل الاسم الرئيسي)',
|
'Aliases' => 'الأسماء البديلة (تعمل عمل الاسم الرئيسي)',
|
||||||
'SSL Certificate' => 'شهادة أمان SSL',
|
'SSL Certificate' => 'شهادة أمان SSL',
|
||||||
'SSL Key' => 'مفتاح شهادة أمان SSL',
|
'SSL Key' => 'مفتاح شهادة أمان SSL',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['bs'] = array(
|
||||||
'DNS Support' => 'DNS podrška',
|
'DNS Support' => 'DNS podrška',
|
||||||
'Mail Support' => 'Mail podrška',
|
'Mail Support' => 'Mail podrška',
|
||||||
'Advanced options' => 'Dodatne opcije',
|
'Advanced options' => 'Dodatne opcije',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliasi',
|
'Aliases' => 'Aliasi',
|
||||||
'SSL Certificate' => 'SSL certifikat',
|
'SSL Certificate' => 'SSL certifikat',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['cn'] = array(
|
||||||
'DNS Support' => 'DNS支持',
|
'DNS Support' => 'DNS支持',
|
||||||
'Mail Support' => 'Mail支持',
|
'Mail Support' => 'Mail支持',
|
||||||
'Advanced options' => '高级选项',
|
'Advanced options' => '高级选项',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => '别名',
|
'Aliases' => '别名',
|
||||||
'SSL Certificate' => 'SSL证书',
|
'SSL Certificate' => 'SSL证书',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['cz'] = array(
|
||||||
'DNS Support' => 'DNS podpora',
|
'DNS Support' => 'DNS podpora',
|
||||||
'Mail Support' => 'Mail podpora',
|
'Mail Support' => 'Mail podpora',
|
||||||
'Advanced options' => 'Pokročilé nastavení',
|
'Advanced options' => 'Pokročilé nastavení',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliasy',
|
'Aliases' => 'Aliasy',
|
||||||
'SSL Certificate' => 'SSL certifikát',
|
'SSL Certificate' => 'SSL certifikát',
|
||||||
'SSL Key' => 'SSL klíč',
|
'SSL Key' => 'SSL klíč',
|
||||||
|
|
|
@ -287,6 +287,7 @@ $LANG['da'] = array(
|
||||||
'DNS Support' => 'DNS Support',
|
'DNS Support' => 'DNS Support',
|
||||||
'Mail Support' => 'Mail Support',
|
'Mail Support' => 'Mail Support',
|
||||||
'Advanced options' => 'Avancerede Indstillinger',
|
'Advanced options' => 'Avancerede Indstillinger',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliaser',
|
'Aliases' => 'Aliaser',
|
||||||
'SSL Certificate' => 'SSL Certifikat',
|
'SSL Certificate' => 'SSL Certifikat',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['de'] = array(
|
||||||
'DNS Support' => 'DNS Unterstützung',
|
'DNS Support' => 'DNS Unterstützung',
|
||||||
'Mail Support' => 'Mail Unterstützung',
|
'Mail Support' => 'Mail Unterstützung',
|
||||||
'Advanced options' => 'Erweiterte Optionen',
|
'Advanced options' => 'Erweiterte Optionen',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliase',
|
'Aliases' => 'Aliase',
|
||||||
'SSL Certificate' => 'SSL Zertifikat',
|
'SSL Certificate' => 'SSL Zertifikat',
|
||||||
'SSL Key' => 'SSL Schlüssel',
|
'SSL Key' => 'SSL Schlüssel',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['el'] = array(
|
||||||
'DNS Support' => 'Υποστήριξη DNS',
|
'DNS Support' => 'Υποστήριξη DNS',
|
||||||
'Mail Support' => 'Υποστήριξη Mail',
|
'Mail Support' => 'Υποστήριξη Mail',
|
||||||
'Advanced options' => 'Προχωρημένες επιλογές',
|
'Advanced options' => 'Προχωρημένες επιλογές',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Ψευδώνυμα',
|
'Aliases' => 'Ψευδώνυμα',
|
||||||
'SSL Certificate' => 'Πιστοποιητικό SSL',
|
'SSL Certificate' => 'Πιστοποιητικό SSL',
|
||||||
'SSL Key' => 'Κλειδί SSL',
|
'SSL Key' => 'Κλειδί SSL',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['en'] = array(
|
||||||
'DNS Support' => 'DNS Support',
|
'DNS Support' => 'DNS Support',
|
||||||
'Mail Support' => 'Mail Support',
|
'Mail Support' => 'Mail Support',
|
||||||
'Advanced options' => 'Advanced options',
|
'Advanced options' => 'Advanced options',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliases',
|
'Aliases' => 'Aliases',
|
||||||
'SSL Certificate' => 'SSL Certificate',
|
'SSL Certificate' => 'SSL Certificate',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['es'] = array(
|
||||||
'DNS Support' => 'Soporte para DNS',
|
'DNS Support' => 'Soporte para DNS',
|
||||||
'Mail Support' => 'Soporte para Correo',
|
'Mail Support' => 'Soporte para Correo',
|
||||||
'Advanced options' => 'Opciones Avanzadas',
|
'Advanced options' => 'Opciones Avanzadas',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliases',
|
'Aliases' => 'Aliases',
|
||||||
'SSL Certificate' => 'Certificado SSL',
|
'SSL Certificate' => 'Certificado SSL',
|
||||||
'SSL Key' => 'Llave SSL',
|
'SSL Key' => 'Llave SSL',
|
||||||
|
|
|
@ -287,6 +287,7 @@ $LANG['fa'] = array(
|
||||||
'DNS Support' => 'پشتیبانی DNS',
|
'DNS Support' => 'پشتیبانی DNS',
|
||||||
'Mail Support' => 'پشتیبانی ایمیل',
|
'Mail Support' => 'پشتیبانی ایمیل',
|
||||||
'Advanced options' => 'گزینه های پیشرفته',
|
'Advanced options' => 'گزینه های پیشرفته',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'نام مستعار',
|
'Aliases' => 'نام مستعار',
|
||||||
'SSL Certificate' => 'گواهینامه SSL',
|
'SSL Certificate' => 'گواهینامه SSL',
|
||||||
'SSL Key' => 'کلید SSL',
|
'SSL Key' => 'کلید SSL',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['fi'] = array(
|
||||||
'DNS Support' => 'Tarvitsee DNS:n',
|
'DNS Support' => 'Tarvitsee DNS:n',
|
||||||
'Mail Support' => 'Tarvitsee Sähköpostin',
|
'Mail Support' => 'Tarvitsee Sähköpostin',
|
||||||
'Advanced options' => 'Lisäasetukset',
|
'Advanced options' => 'Lisäasetukset',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliakset',
|
'Aliases' => 'Aliakset',
|
||||||
'SSL Certificate' => 'SSL-sertifikaatti',
|
'SSL Certificate' => 'SSL-sertifikaatti',
|
||||||
'SSL Key' => 'SSL-avain',
|
'SSL Key' => 'SSL-avain',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['fr'] = array(
|
||||||
'DNS Support' => 'Support DNS',
|
'DNS Support' => 'Support DNS',
|
||||||
'Mail Support' => 'Support Email',
|
'Mail Support' => 'Support Email',
|
||||||
'Advanced options' => 'Options avancées',
|
'Advanced options' => 'Options avancées',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Alias',
|
'Aliases' => 'Alias',
|
||||||
'SSL Certificate' => 'Certificat SSL',
|
'SSL Certificate' => 'Certificat SSL',
|
||||||
'SSL Key' => 'Clé SSL',
|
'SSL Key' => 'Clé SSL',
|
||||||
|
|
|
@ -289,6 +289,7 @@ $LANG['hu'] = array(
|
||||||
'DNS Support' => 'DNS támogatás',
|
'DNS Support' => 'DNS támogatás',
|
||||||
'Mail Support' => 'Mail támogatás',
|
'Mail Support' => 'Mail támogatás',
|
||||||
'Advanced options' => 'Haladó beállítások',
|
'Advanced options' => 'Haladó beállítások',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliaszok',
|
'Aliases' => 'Aliaszok',
|
||||||
'SSL Certificate' => 'SSL igazolás',
|
'SSL Certificate' => 'SSL igazolás',
|
||||||
'SSL Key' => 'SSL kulcs',
|
'SSL Key' => 'SSL kulcs',
|
||||||
|
|
|
@ -288,6 +288,7 @@ $LANG['id'] = array(
|
||||||
'DNS Support' => 'Dukungan DNS',
|
'DNS Support' => 'Dukungan DNS',
|
||||||
'Mail Support' => 'Dukungan Mail',
|
'Mail Support' => 'Dukungan Mail',
|
||||||
'Advanced options' => 'Opsi lanjutan',
|
'Advanced options' => 'Opsi lanjutan',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Alias',
|
'Aliases' => 'Alias',
|
||||||
'SSL Certificate' => 'Sertifikat SSL',
|
'SSL Certificate' => 'Sertifikat SSL',
|
||||||
'SSL Key' => 'Kunci SSL',
|
'SSL Key' => 'Kunci SSL',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['it'] = array(
|
||||||
'DNS Support' => 'Supporto DNS',
|
'DNS Support' => 'Supporto DNS',
|
||||||
'Mail Support' => 'Supporto Mail',
|
'Mail Support' => 'Supporto Mail',
|
||||||
'Advanced options' => 'Opzioni Avanzate',
|
'Advanced options' => 'Opzioni Avanzate',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Alias Dominio',
|
'Aliases' => 'Alias Dominio',
|
||||||
'SSL Certificate' => 'Certificato SSL',
|
'SSL Certificate' => 'Certificato SSL',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['ja'] = array(
|
||||||
'DNS Support' => 'DNSのサポート',
|
'DNS Support' => 'DNSのサポート',
|
||||||
'Mail Support' => 'メールのサポート',
|
'Mail Support' => 'メールのサポート',
|
||||||
'Advanced options' => '詳細設定',
|
'Advanced options' => '詳細設定',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'エイリアス',
|
'Aliases' => 'エイリアス',
|
||||||
'SSL Certificate' => 'SSL証明書',
|
'SSL Certificate' => 'SSL証明書',
|
||||||
'SSL Key' => 'SSL鍵',
|
'SSL Key' => 'SSL鍵',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['nl'] = array(
|
||||||
'DNS Support' => 'DNS Ondersteuning',
|
'DNS Support' => 'DNS Ondersteuning',
|
||||||
'Mail Support' => 'Mail Ondersteuning',
|
'Mail Support' => 'Mail Ondersteuning',
|
||||||
'Advanced options' => 'Geavanceerde opties',
|
'Advanced options' => 'Geavanceerde opties',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliassen',
|
'Aliases' => 'Aliassen',
|
||||||
'SSL Certificate' => 'SSL Certificaat',
|
'SSL Certificate' => 'SSL Certificaat',
|
||||||
'SSL Key' => 'SSL Sleutel',
|
'SSL Key' => 'SSL Sleutel',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['no'] = array(
|
||||||
'DNS Support' => 'DNS Støtte',
|
'DNS Support' => 'DNS Støtte',
|
||||||
'Mail Support' => 'Mail Støtte',
|
'Mail Support' => 'Mail Støtte',
|
||||||
'Advanced options' => 'Avanserte Instillinger',
|
'Advanced options' => 'Avanserte Instillinger',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliaser',
|
'Aliases' => 'Aliaser',
|
||||||
'SSL Certificate' => 'SSL Sertifikat',
|
'SSL Certificate' => 'SSL Sertifikat',
|
||||||
'SSL Key' => 'SSL Nøkkel',
|
'SSL Key' => 'SSL Nøkkel',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['pl'] = array(
|
||||||
'DNS Support' => 'Wsparcie dla DNS',
|
'DNS Support' => 'Wsparcie dla DNS',
|
||||||
'Mail Support' => 'Wsparcie dla poczty email',
|
'Mail Support' => 'Wsparcie dla poczty email',
|
||||||
'Advanced options' => 'Ustawienia zaawansowane',
|
'Advanced options' => 'Ustawienia zaawansowane',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliasy',
|
'Aliases' => 'Aliasy',
|
||||||
'SSL Certificate' => 'Certyfikat SSL',
|
'SSL Certificate' => 'Certyfikat SSL',
|
||||||
'SSL Key' => 'Klucz SSL',
|
'SSL Key' => 'Klucz SSL',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['pt-BR'] = array(
|
||||||
'DNS Support' => 'Suporte a DNS',
|
'DNS Support' => 'Suporte a DNS',
|
||||||
'Mail Support' => 'Suporte a Email',
|
'Mail Support' => 'Suporte a Email',
|
||||||
'Advanced options' => 'Opções Avançadas',
|
'Advanced options' => 'Opções Avançadas',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Apelidos',
|
'Aliases' => 'Apelidos',
|
||||||
'SSL Certificate' => 'Certificado SSL',
|
'SSL Certificate' => 'Certificado SSL',
|
||||||
'SSL Key' => 'Chave SSL',
|
'SSL Key' => 'Chave SSL',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['pt'] = array(
|
||||||
'DNS Support' => 'Suporte a DNS',
|
'DNS Support' => 'Suporte a DNS',
|
||||||
'Mail Support' => 'Suporte a Email',
|
'Mail Support' => 'Suporte a Email',
|
||||||
'Advanced options' => 'Opções Avançadas',
|
'Advanced options' => 'Opções Avançadas',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Apelidos',
|
'Aliases' => 'Apelidos',
|
||||||
'SSL Certificate' => 'Certificado SSL',
|
'SSL Certificate' => 'Certificado SSL',
|
||||||
'SSL Key' => 'Chave SSL',
|
'SSL Key' => 'Chave SSL',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['ro'] = array(
|
||||||
'DNS Support' => 'Support DNS',
|
'DNS Support' => 'Support DNS',
|
||||||
'Mail Support' => 'Support E-mail',
|
'Mail Support' => 'Support E-mail',
|
||||||
'Advanced options' => 'Opțiuni avansate',
|
'Advanced options' => 'Opțiuni avansate',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Aliasuri',
|
'Aliases' => 'Aliasuri',
|
||||||
'SSL Certificate' => 'Certificat SSL',
|
'SSL Certificate' => 'Certificat SSL',
|
||||||
'SSL Key' => 'Cheia SSL',
|
'SSL Key' => 'Cheia SSL',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['ru'] = array(
|
||||||
'DNS Support' => 'Поддержка DNS',
|
'DNS Support' => 'Поддержка DNS',
|
||||||
'Mail Support' => 'Поддержка почты',
|
'Mail Support' => 'Поддержка почты',
|
||||||
'Advanced options' => 'Дополнительные опции',
|
'Advanced options' => 'Дополнительные опции',
|
||||||
|
'Basic options' => 'Базовые опции',
|
||||||
'Aliases' => 'Алиасы',
|
'Aliases' => 'Алиасы',
|
||||||
'SSL Certificate' => 'SSL сертификат',
|
'SSL Certificate' => 'SSL сертификат',
|
||||||
'SSL Key' => 'Ключ SSL сертификата',
|
'SSL Key' => 'Ключ SSL сертификата',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['se'] = array(
|
||||||
'DNS Support' => 'DNS-stöd',
|
'DNS Support' => 'DNS-stöd',
|
||||||
'Mail Support' => 'Mail-stöd',
|
'Mail Support' => 'Mail-stöd',
|
||||||
'Advanced options' => 'Avancerade inställningar',
|
'Advanced options' => 'Avancerade inställningar',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Alias',
|
'Aliases' => 'Alias',
|
||||||
'SSL Certificate' => 'SSL-certifikat',
|
'SSL Certificate' => 'SSL-certifikat',
|
||||||
'SSL Key' => 'SSL-nyckel',
|
'SSL Key' => 'SSL-nyckel',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['tr'] = array(
|
||||||
'DNS Support' => 'DNS Desteği',
|
'DNS Support' => 'DNS Desteği',
|
||||||
'Mail Support' => 'Mail Desteği',
|
'Mail Support' => 'Mail Desteği',
|
||||||
'Advanced options' => 'Gelişmiş seçenekler',
|
'Advanced options' => 'Gelişmiş seçenekler',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Takma adlar (Alias)',
|
'Aliases' => 'Takma adlar (Alias)',
|
||||||
'SSL Certificate' => 'SSL Sertifikası',
|
'SSL Certificate' => 'SSL Sertifikası',
|
||||||
'SSL Key' => 'SSL Anahtarı (Key)',
|
'SSL Key' => 'SSL Anahtarı (Key)',
|
||||||
|
|
|
@ -288,6 +288,7 @@ $LANG['tw'] = array(
|
||||||
'DNS Support' => 'DNS支援',
|
'DNS Support' => 'DNS支援',
|
||||||
'Mail Support' => '信箱支援',
|
'Mail Support' => '信箱支援',
|
||||||
'Advanced options' => '進階選項',
|
'Advanced options' => '進階選項',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => '次網域',
|
'Aliases' => '次網域',
|
||||||
'SSL Certificate' => 'SSL憑證',
|
'SSL Certificate' => 'SSL憑證',
|
||||||
'SSL Key' => 'SSL密鑰',
|
'SSL Key' => 'SSL密鑰',
|
||||||
|
|
|
@ -286,6 +286,7 @@ $LANG['ua'] = array(
|
||||||
'DNS Support' => 'Підтримка DNS',
|
'DNS Support' => 'Підтримка DNS',
|
||||||
'Mail Support' => 'Підтримка пошти',
|
'Mail Support' => 'Підтримка пошти',
|
||||||
'Advanced options' => 'Додаткові опції',
|
'Advanced options' => 'Додаткові опції',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Аліаси',
|
'Aliases' => 'Аліаси',
|
||||||
'SSL Certificate' => 'SSL сертификат',
|
'SSL Certificate' => 'SSL сертификат',
|
||||||
'SSL Key' => 'Ключ SSL сертифікату',
|
'SSL Key' => 'Ключ SSL сертифікату',
|
||||||
|
|
|
@ -285,6 +285,7 @@ $LANG['vi'] = array(
|
||||||
'DNS Support' => 'Hỗ trỡ DNS',
|
'DNS Support' => 'Hỗ trỡ DNS',
|
||||||
'Mail Support' => 'Hỗ trợ email',
|
'Mail Support' => 'Hỗ trợ email',
|
||||||
'Advanced options' => 'Cấu hình nâng cao',
|
'Advanced options' => 'Cấu hình nâng cao',
|
||||||
|
'Basic options' => 'Basic options',
|
||||||
'Aliases' => 'Ánh xạ',
|
'Aliases' => 'Ánh xạ',
|
||||||
'SSL Certificate' => 'Chứng chỉ SSL',
|
'SSL Certificate' => 'Chứng chỉ SSL',
|
||||||
'SSL Key' => 'SSL Key',
|
'SSL Key' => 'SSL Key',
|
||||||
|
|
|
@ -651,10 +651,13 @@ FM.generate_listing = function(reply, box) {
|
||||||
|
|
||||||
var t_index = tab + '_' + i;
|
var t_index = tab + '_' + i;
|
||||||
|
|
||||||
|
o.name = o.name.replace('"', '\"');
|
||||||
|
o.full_path = o.full_path.replace('"', '\"');
|
||||||
|
|
||||||
var tpl = Tpl.get('entry_line', 'FM');
|
var tpl = Tpl.get('entry_line', 'FM');
|
||||||
tpl.set(':CL_ACTION_1', cl_act);
|
tpl.set(':CL_ACTION_1', cl_act);
|
||||||
tpl.set(':SOURCE', $.toJSON(o));
|
|
||||||
tpl.set(':NAME', o.name);
|
tpl.set(':NAME', o.name);
|
||||||
|
tpl.set(':SOURCE', $.toJSON(o));
|
||||||
tpl.set(':PERMISSIONS', o.permissions);
|
tpl.set(':PERMISSIONS', o.permissions);
|
||||||
tpl.set(':OWNER', o.owner);
|
tpl.set(':OWNER', o.owner);
|
||||||
tpl.set(':SIZE_VALUE', o.type == 'f' ? FM.humanFileSizeValue(o.size) : ' ');
|
tpl.set(':SIZE_VALUE', o.type == 'f' ? FM.humanFileSizeValue(o.size) : ' ');
|
||||||
|
@ -1265,15 +1268,15 @@ FM.confirmRename = function() {
|
||||||
|
|
||||||
var src = selected.find('.source').val();
|
var src = selected.find('.source').val();
|
||||||
src = $.parseJSON(src);
|
src = $.parseJSON(src);
|
||||||
|
|
||||||
var target_name = $('#rename-title').val();
|
var target_name = $('#rename-title').val();
|
||||||
|
|
||||||
if (target_name.trim().length == 0) {
|
if (target_name.trim().length == 0) {
|
||||||
return FM.displayError(
|
return FM.displayError(
|
||||||
App.Constants.FM_FILE_NAME_CANNOT_BE_EMPTY
|
App.Constants.FM_FILE_NAME_CANNOT_BE_EMPTY
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
var action = FM.isItemFile(src) ? 'rename_file' : 'rename_directory';
|
var action = FM.isItemFile(src) ? 'rename_file' : 'rename_directory';
|
||||||
|
|
||||||
var params = {
|
var params = {
|
||||||
|
@ -1281,7 +1284,7 @@ FM.confirmRename = function() {
|
||||||
target_name: target_name,
|
target_name: target_name,
|
||||||
dir: FM['TAB_' + tab + '_CURRENT_PATH'] + '/'
|
dir: FM['TAB_' + tab + '_CURRENT_PATH'] + '/'
|
||||||
};
|
};
|
||||||
|
|
||||||
App.Ajax.request(action, params, function(reply) {
|
App.Ajax.request(action, params, function(reply) {
|
||||||
if (reply.result == true) {
|
if (reply.result == true) {
|
||||||
FM.popupClose();
|
FM.popupClose();
|
||||||
|
@ -1842,7 +1845,6 @@ FM.confirmUnpackItem = function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
FM.confirmPackItem = function () {
|
FM.confirmPackItem = function () {
|
||||||
|
|
||||||
var tab = FM.getTabLetter(FM.CURRENT_TAB);
|
var tab = FM.getTabLetter(FM.CURRENT_TAB);
|
||||||
var box = FM['TAB_' + tab];
|
var box = FM['TAB_' + tab];
|
||||||
var selected = $(FM['TAB_' + tab] ).find('.dir.active, .dir.selected');
|
var selected = $(FM['TAB_' + tab] ).find('.dir.active, .dir.selected');
|
||||||
|
@ -1857,13 +1859,12 @@ FM.confirmPackItem = function () {
|
||||||
src = $.parseJSON(src);
|
src = $.parseJSON(src);
|
||||||
|
|
||||||
if (FM.isItemPseudo(src)) {
|
if (FM.isItemPseudo(src)) {
|
||||||
return FM.displayError(
|
return FM.displayError(
|
||||||
App.Constants.FM_NO_FILE_OR_DIRECTORY_SELECTED
|
App.Constants.FM_NO_FILE_OR_DIRECTORY_SELECTED
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (selected.length > 0) {
|
if (selected.length > 0) {
|
||||||
var files_arr = [];
|
var files_arr = [];
|
||||||
$.each(selected, function(i, o) {
|
$.each(selected, function(i, o) {
|
||||||
|
@ -1898,7 +1899,6 @@ FM.confirmPackItem = function () {
|
||||||
if (reply.result == true) {
|
if (reply.result == true) {
|
||||||
FM.popupClose();
|
FM.popupClose();
|
||||||
FM.open(FM['TAB_' + tab + '_CURRENT_PATH'], FM['TAB_' + tab]);
|
FM.open(FM['TAB_' + tab + '_CURRENT_PATH'], FM['TAB_' + tab]);
|
||||||
/// FM.open(FM['TAB_' + opposite_tab + '_CURRENT_PATH'], FM['TAB_' + opposite_tab]);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
FM.showError('unpack_item', reply.message);
|
FM.showError('unpack_item', reply.message);
|
||||||
|
|
|
@ -548,6 +548,10 @@ $(document).ready(function(){
|
||||||
|
|
||||||
VE.navigation.init();
|
VE.navigation.init();
|
||||||
|
|
||||||
|
|
||||||
|
$('.button').attr('title','ctrl+Enter');
|
||||||
|
$('.button.cancel').attr('title','ctrl+Backspace');
|
||||||
|
|
||||||
VE.core.register();
|
VE.core.register();
|
||||||
if (location.href.search(/list/) != -1) {
|
if (location.href.search(/list/) != -1) {
|
||||||
var shift_select_ref = $('body').finderSelect({
|
var shift_select_ref = $('body').finderSelect({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue