new improved template scheme

This commit is contained in:
Serghey Rodin 2013-05-10 11:04:40 +03:00
commit fd4e68bb8c
96 changed files with 1395 additions and 1425 deletions

View file

@ -134,6 +134,9 @@ $LANG['en'] = array(
'Databases' => 'Databases',
'User Directories' => 'User Directories',
'Template' => 'Template',
'Web Template' => 'Apache Template',
'Proxy Template' => 'Nginx Template',
'DNS Template' => 'DNS Template',
'Web Domains' => 'Web Domains',
'SSL Domains' => 'SSL Domains',
'Web Aliases' => 'Web Aliases',
@ -151,8 +154,8 @@ $LANG['en'] = array(
'template' => 'template',
'SSL Support' => 'SSL Support',
'SSL Home Directory' => 'SSL Home',
'Nginx Support' => 'Nginx Support',
'Nginx Extentions' => 'Nginx Extentions',
'Proxy Support' => 'Nginx Support',
'Proxy Extentions' => 'Nginx Extentions',
'Web Statistics' => 'Web Statistics',
'Additional FTP Account' => 'Additional FTP',
'SOA' => 'SOA',
@ -231,8 +234,6 @@ $LANG['en'] = array(
'Mail Support' => 'Mail Support',
'Advanced options' => 'Advanced options',
'Aliases' => 'Aliases',
'Apache template' => 'Apache template',
'Nginx template' => 'Nginx template',
'SSL Certificate' => 'SSL Certificate',
'SSL Key' => 'SSL Key',
'SSL Certificate Authority / Intermediate' => 'SSL Certificate Authority / Intermediate',

View file

@ -133,6 +133,9 @@ $LANG['es'] = array(
'Databases' => 'Base de Datos',
'User Directories' => 'Directorios de Usuario',
'Template' => 'Plantilla',
'Web Template' => 'Plantilla Apache',
'Proxy Template' => 'Plantilla Nginx',
'DNS Template' => 'Plantilla DNS',
'Web Domains' => 'Dominios Web',
'SSL Domains' => 'Dominios SSL',
'Web Aliases' => 'Alias Web',
@ -150,8 +153,8 @@ $LANG['es'] = array(
'template' => 'plantilla',
'SSL Support' => 'Soporte SSL',
'SSL Home Directory' => 'SSL Home',
'Nginx Support' => 'Soporte Nginx',
'Nginx Extentions' => 'Extensiones Nginx',
'Proxy Support' => 'Soporte Nginx',
'Proxy Extentions' => 'Extensiones Nginx',
'Web Statistics' => 'Estadísticas Web',
'Additional FTP Account' => 'Cuenta Adicional FTP',
'SOA' => 'SOA',
@ -230,8 +233,6 @@ $LANG['es'] = array(
'Mail Support' => 'Soporte para Correo',
'Advanced options' => 'Opciones Avanzadas',
'Aliases' => 'Aliases',
'Apache template' => 'Plantilla Apache',
'Nginx template' => 'Plantilla Nginx',
'SSL Certificate' => 'Certificado SSL',
'SSL Key' => 'Llave SSL',
'SSL Certificate Authority / Intermediate' => 'Certificado SSL Autoridad / Intermedio',

View file

@ -135,6 +135,9 @@ $LANG['ro'] = array(
'Databases' => 'Baze de date',
'User Directories' => 'Directoare utilizator',
'Template' => 'Șablon',
'Web Template' => 'Șablonul Apache',
'Proxy Template' => 'Șablonul Nginx',
'DNS Template' => 'Șablonul DNS',
'Web Domains' => 'Web domenii',
'SSL Domains' => 'SSL domenii',
'Web Aliases' => 'Web aliasuri',
@ -152,8 +155,8 @@ $LANG['ro'] = array(
'template' => 'șablon',
'SSL Support' => 'Support SSL',
'SSL Home Directory' => 'Mapa SSL',
'Nginx Support' => 'Support Nginx',
'Nginx Extentions' => 'Extensii Nginx',
'Proxy Support' => 'Support Nginx',
'Proxy Extentions' => 'Extensii Nginx',
'Web Statistics' => 'Statistici web',
'Additional FTP Account' => 'Cont suplimentar FTP',
'SOA' => 'SOA',
@ -232,8 +235,6 @@ $LANG['ro'] = array(
'Mail Support' => 'Support E-mail',
'Advanced options' => 'Opțiuni avansate',
'Aliases' => 'Aliasuri',
'Apache template' => 'Șablonul Apache',
'Nginx template' => 'Șablonul Nginx',
'SSL Certificate' => 'Certificat SSL',
'SSL Key' => 'Cheia SSL',
'SSL Certificate Authority / Intermediate' => 'SSL Intermediar / Certificate Authority',

View file

@ -135,6 +135,9 @@ $LANG['ru'] = array(
'Databases' => 'Базы данных',
'User Directories' => 'Папки пользователя',
'Template' => 'Шаблон',
'Web Template' => 'Шаблон Apache',
'Proxy Template' => 'Шаблон Nginx',
'DNS Template' => 'DNS Template',
'Web Domains' => 'Веб домены',
'SSL Domains' => 'SSL домены',
'Web Aliases' => 'Веб алиасы',
@ -152,8 +155,8 @@ $LANG['ru'] = array(
'template' => 'шаблон',
'SSL Support' => 'Поддержка SSL',
'SSL Home Directory' => 'Директория SSL',
'Nginx Support' => 'Поддержка Nginx',
'Nginx Extentions' => 'Обработка Nginx',
'Proxy Support' => 'Поддержка Nginx',
'Proxy Extentions' => 'Обработка Nginx',
'Web Statistics' => 'Статистика сайта',
'Additional FTP Account' => 'Дополнительный ftp',
'SOA' => 'SOA',
@ -232,8 +235,6 @@ $LANG['ru'] = array(
'Mail Support' => 'Поддержка почты',
'Advanced options' => 'Дополнительные опции',
'Aliases' => 'Алиасы',
'Apache template' => 'Шаблон Apache',
'Nginx template' => 'Шаблон для Nginx',
'SSL Certificate' => 'SSL сертификат',
'SSL Key' => 'Ключ SSL сертификата',
'SSL Certificate Authority / Intermediate' => 'Центр сертификации SSL / Intermediate',

View file

@ -135,6 +135,9 @@ $LANG['ua'] = array(
'Databases' => 'Бази даних',
'User Directories' => 'Теки Користувача',
'Template' => 'Шаблон',
'Web Template' => 'Шаблон Apache',
'Proxy Template' => 'Шаблон Nginx',
'DNS Template' => 'Шаблон DNS',
'Web Domains' => 'Веб домени',
'SSL Domains' => 'SSL домени',
'Web Aliases' => 'Веб аліаси',
@ -152,8 +155,8 @@ $LANG['ua'] = array(
'template' => 'шаблон',
'SSL Support' => 'Підтримка SSL',
'SSL Home Directory' => 'Тека SSL',
'Nginx Support' => 'Підтримка Nginx',
'Nginx Extentions' => 'Опрацювання Nginx',
'Proxy Support' => 'Підтримка Nginx',
'Proxy Extentions' => 'Опрацювання Nginx',
'Web Statistics' => 'Статистика сайту',
'Additional FTP Account' => 'Додатковий ftp',
'SOA' => 'SOA',
@ -232,8 +235,6 @@ $LANG['ua'] = array(
'Mail Support' => 'Підтримка пошти',
'Advanced options' => 'Додаткові опції',
'Aliases' => 'Аліаси',
'Apache template' => 'Шаблон Apache',
'Nginx template' => 'Шаблон Nginx',
'SSL Certificate' => 'SSL сертификат',
'SSL Key' => 'Ключ SSL сертифікату',
'SSL Certificate Authority / Intermediate' => 'Центр сертифікації SSL / Intermediate',

View file

@ -150,17 +150,17 @@ function humanize_usage($usage) {
if ( $usage > 1000 ) {
$usage = $usage / 1000 ;
$usage = number_format($usage, 2);
$usage = $usage." ".__('pb');
$usage = $usage."".__('pb');
} else {
$usage = number_format($usage, 2);
$usage = $usage." ".__('tb');
$usage = $usage."".__('tb');
}
} else {
$usage = number_format($usage, 2);
$usage = $usage." ".__('gb');
$usage = $usage."".__('gb');
}
} else {
$usage = $usage." ".__('mb');
$usage = $usage."".__('mb');
}
return $usage;
}