UI update

This commit is contained in:
Serghey Rodin 2015-06-03 02:31:03 +03:00
commit 527e4a9a62
139 changed files with 2046 additions and 124 deletions

View file

@ -346,6 +346,7 @@ $LANG['ar'] = array(
'ranges are acceptable' => 'نطاقات مقبولة',
'CDIR format is supported' => 'ويدعم صيغة CIDR',
'unlimited' => 'unlimited',
'1 account' => '1 حساب',
'%s accounts' => 'حسابات %s',
'1 domain' => '1 نطاق',

View file

@ -343,6 +343,7 @@ $LANG['bs'] = array(
'ranges are acceptable' => 'rasponi su prihvatljivi',
'CIDR format is supported' => 'CIDR format je podržan',
'unlimited' => 'unlimited',
'1 account' => '1 račun',
'%s accounts' => '%s računa',
'1 domain' => '1 domena',

View file

@ -348,6 +348,7 @@ $LANG['cn'] = array(
'ranges are acceptable' => '範圍是可以接受的',
'CIDR format is supported' => '支持CIDR格式',
'unlimited' => 'unlimited',
'1 account' => '1 账户',
'%s accounts' => '%s 账户',
'1 domain' => '1 域名',

View file

@ -349,6 +349,7 @@ $LANG['cz'] = array(
'ranges are acceptable' => 'rozsahy jsou přijatelné',
'CIDR format is supported' => 'Formát CIDR je podporován',
'unlimited' => 'unlimited',
'1 account' => '1 účet',
'%s accounts' => '%s účtů',
'1 domain' => '1 doména',

View file

@ -348,6 +348,7 @@ $LANG['de'] = array(
'ranges are acceptable' => 'Bereiche akzeptabel',
'CIDR format is supported' => 'CIDR-Format wird unterstützt',
'unlimited' => 'unlimited',
'1 account' => '1 Konto',
'%s accounts' => '%s Konten',
'1 domain' => '1 Domäne',

View file

@ -349,6 +349,7 @@ $LANG['el'] = array(
'ranges are acceptable' => 'εύρος είναι αποδεκτό',
'CIDR format is supported' => 'To format CIDR υποστηρίζεται',
'unlimited' => 'unlimited',
'1 account' => '1 λογαριασμός',
'%s accounts' => '%s λογαριασμοί',
'1 domain' => '1 domain',

View file

@ -348,6 +348,7 @@ $LANG['en'] = array(
'ranges are acceptable' => 'ranges are acceptable',
'CIDR format is supported' => 'CIDR format is supported',
'unlimited' => 'unlimited',
'1 account' => '1 account',
'%s accounts' => '%s accounts',
'1 domain' => '1 domain',

View file

@ -348,6 +348,7 @@ $LANG['es'] = array(
'ranges are acceptable' => 'rangos son aceptables',
'CIDR format is supported' => 'Formato CIDR se admite',
'unlimited' => 'unlimited',
'1 account' => '1 cuenta',
'%s accounts' => '%s cuentas',
'1 domain' => '1 dominio',
@ -467,4 +468,5 @@ $LANG['es'] = array(
'RESET_CODE_SENT' => 'El código de cambio de contraseña fue enviado a su correo<br>',
'MAIL_RESET_SUBJECT' => 'Cambio de Contraseña en %s',
'PASSWORD_RESET_REQUEST' => "Para cambiar su contraseña del panel, por favor siga este link:\nhttps://%s/reset/?action=confirm&user=%s&code=%s\n\nAlternativamente, puede dirigirse a https://%s/reset/?action=code&user=%s e ingresar el siguiente código de cambio:\n%s\n\nSi usted no ha solicitado un cambio de contraseña, por favor ignore este mensaje y acepte nuestras disculpas.\n\n--\nPanel de Control Vesta\n",
'unlimited' => 'ES test'
);

View file

@ -352,6 +352,7 @@ $LANG['fi'] = array(
'ranges are acceptable' => 'vaihteluvälit ovat hyväksyttäviä',
'CIDR format is supported' => 'CIDR muotoa tuetaan',
'unlimited' => 'unlimited',
'1 account' => '1 tili',
'%s accounts' => '%s tiliä',
'1 domain' => '1 domain',

View file

@ -350,6 +350,7 @@ $LANG['fr'] = array(
'ranges are acceptable' => 'plages sont acceptables',
'CIDR format is supported' => 'Le format CIDR est pris en charge',
'unlimited' => 'unlimited',
'1 account' => '1 compte',
'%s accounts' => '%s comptes',
'1 domain' => '1 domaine',

View file

@ -350,6 +350,7 @@ $LANG['hu'] = array(
'ranges are acceptable' => 'tartományok megengedett',
'CIDR format is supported' => 'CIDR formátum támogatott',
'unlimited' => 'unlimited',
'1 account' => '1 fiók',
'%s accounts' => '%s fiók',
'1 domain' => '1 domain',

View file

@ -351,6 +351,7 @@ $LANG['id'] = array(
'ranges are acceptable' => 'rentang diperbolehkan',
'CIDR format is supported' => 'Format CIDR didukung',
'unlimited' => 'unlimited',
'1 account' => '1 pengguna',
'%s accounts' => '%s pengguna',
'1 domain' => '1 domain',

View file

@ -349,6 +349,7 @@ $LANG['it'] = array(
'ranges are acceptable' => 'gamme sono ammessi',
'CIDR format is supported' => 'formato CIDR e supportato',
'unlimited' => 'unlimited',
'1 account' => '1 account',
'%s accounts' => '%s account',
'1 domain' => '1 dominio',

View file

@ -349,6 +349,7 @@ $LANG['nl'] = array(
'ranges are acceptable' => 'marges zijn toegestaan',
'CIDR format is supported' => 'CIDR-indeling wordt ondersteund',
'unlimited' => 'unlimited',
'1 account' => '1 account',
'%s accounts' => '%s accounts',
'1 domain' => '1 domein',

View file

@ -349,6 +349,7 @@ $LANG['no'] = array(
'ranges are acceptable' => 'områder er tillatt',
'CIDR format is supported' => 'CIDR-format støttes',
'unlimited' => 'unlimited',
'1 account' => '1 konto',
'%s accounts' => '%s kontoer',
'1 domain' => '1 domene',

View file

@ -348,6 +348,7 @@ $LANG['pt'] = array(
'ranges are acceptable' => 'gamas são permitidos',
'CIDR format is supported' => 'formato CIDR é suportada',
'unlimited' => 'unlimited',
'1 account' => '1 conta',
'%s accounts' => '%s contas',
'1 domain' => '1 domínio',

View file

@ -350,6 +350,7 @@ $LANG['ro'] = array(
'ranges are acceptable' => 'intervale sunt acceptabile',
'CIDR format is supported' => 'format CIDR este suportat',
'unlimited' => 'unlimited',
'1 account' => '1 utilizator',
'%s accounts' => '%s utilizatori',
'1 domain' => '1 domeniu',

View file

@ -350,6 +350,7 @@ $LANG['ru'] = array(
'ranges are acceptable' => 'можно использовать диапазоны',
'CIDR format is supported' => 'поддерживается формат CIDR',
'unlimited' => 'неограничено',
'1 account' => ' пользователей на странице: 1',
'%s accounts' => 'пользователей на странице: %s',
'1 domain' => 'доменов на странице: 1',

View file

@ -346,6 +346,7 @@ $LANG['se'] = array(
'ranges are acceptable' => 'spannet är acceptabelt',
'CIDR format is supported' => 'Stöd finns för CIDR-format',
'unlimited' => 'unlimited',
'1 account' => '1 konto',
'%s accounts' => '%s konton',
'1 domain' => '1 domän',

View file

@ -348,6 +348,7 @@ $LANG['tr'] = array(
'ranges are acceptable' => 'kabul edilebilir aralıklar',
'CIDR format is supported' => 'CIDR formatı destekleniyor',
'unlimited' => 'unlimited',
'1 account' => '1 hesap',
'%s accounts' => '%s hesap',
'1 domain' => '1 alan adı',

View file

@ -348,6 +348,7 @@ $LANG['tw'] = array(
'ranges are acceptable' => '可使用範圍',
'CIDR format is supported' => 'CIDR 格式是支援的',
'unlimited' => 'unlimited',
'1 account' => '1 帳號',
'%s accounts' => '%s 帳號',
'1 domain' => '1 網域',

View file

@ -350,6 +350,7 @@ $LANG['ua'] = array(
'ranges are acceptable' => 'дозволені діапазони',
'CIDR format is supported' => 'формат CIDR підтримується',
'unlimited' => 'unlimited',
'1 account' => ' 1 акаунт',
'%s accounts' => '%s акаунтів',
'1 domain' => '1 домен',

View file

@ -13,10 +13,15 @@ if ((!isset($_SESSION['user'])) && (!defined('NO_AUTH_REQUIRED'))) {
$_SESSION['request_uri'] = $_SERVER['REQUEST_URI'];
header("Location: /login/");
exit;
}
if (isset($_SESSION['user'])) {
require_once($_SERVER['DOCUMENT_ROOT'].'/inc/i18n/'.$_SESSION['language'].'.php');
if(!isset($_SESSION['token'])){
$token = uniqid(mt_rand(), true);
$_SESSION['token'] = $token;
}
}
@ -277,7 +282,7 @@ function display_error_block() {
});
</script>
<div id="dialog-message" title="">
<p>'. $_SESSION['error_msg'] .'</p>
<p>'. htmlentities($_SESSION['error_msg']) .'</p>
</div>
</div>'."\n";
unset($_SESSION['error_msg']);