diff --git a/web/add/db/index.php b/web/add/db/index.php index 1438f9531..9f14d25f1 100644 --- a/web/add/db/index.php +++ b/web/add/db/index.php @@ -66,7 +66,8 @@ if (!empty($_POST['ok'])) { $_SESSION['error_msg'] = $error; unset($v_password); unset($output); - } else { + } + else { if (empty($v_notify)) { list($http_host, $port) = explode(':', $_SERVER["HTTP_HOST"]); if ($_POST['v_type'] == 'mysql') $db_admin_link = "http://".$http_host."/phpMyAdmin/"; @@ -93,6 +94,7 @@ if (!empty($_POST['ok'])) { } } } +} exec (VESTA_CMD."v-list-database-types 'json'", $output, $return_var); $db_types = json_decode(implode('', $output), true); unset($output); diff --git a/web/inc/i18n/en.php b/web/inc/i18n/en.php index 81b754f11..554243f3a 100644 --- a/web/inc/i18n/en.php +++ b/web/inc/i18n/en.php @@ -340,6 +340,8 @@ $LANG = array( 'SERVICE_ACTION_FAILED'=>'Error: Oparaion "%s" for service "%s" has been failed', 'Memory Usage'=>'Memory Usage', 'Bandwidth Usage'=>'Bandwidth Usage', + 'IP Address'=>'IP Address', + 'Accounts'=>'Accounts', ); /*error_reporting(E_ALL); diff --git a/web/inc/i18n/ru.php b/web/inc/i18n/ru.php index a8f0dccc2..63678cc51 100644 --- a/web/inc/i18n/ru.php +++ b/web/inc/i18n/ru.php @@ -38,6 +38,7 @@ $LANG = array( 'DOMAIN_CREATED_OK'=>'Успех: Домен %s успешно создан.', 'RECORD_CREATED_OK'=>'Успех: Запись %s.%s успешно создана.', 'ip address'=>'IP-адрес', + 'IP Address'=>'IP-адрес', 'netmask'=>'маска подсети', 'Netmask'=>'Маска подсети', 'interface'=>'интерфейс', @@ -63,6 +64,7 @@ $LANG = array( 'dns records'=>'DNS записи', 'mail domains'=>'домены с почтой', 'mail accounts'=>'почтовые аккаунты', + 'Accounts'=>'Аккаунты', 'Mail Domains'=>'Домены с Почтой', 'Mail Accounts'=>'Почтовые Аккаунты', 'accounts'=>'аккаунты', @@ -177,7 +179,7 @@ $LANG = array( 'Packages'=>'Пакеты', 'IP Addresses'=>'IP адреса', 'RRD Graphics'=>'Графики', - 'jobs'=>'Задания', + 'jobs'=>'задания', 'Reset Code'=>'Код сброса', 'disk'=>'место', 'Disk'=>'Место', diff --git a/web/templates/admin/add_web.html b/web/templates/admin/add_web.html index 531dfbe1b..37ee76eb5 100644 --- a/web/templates/admin/add_web.html +++ b/web/templates/admin/add_web.html @@ -264,7 +264,7 @@