diff --git a/web/edit/cron/index.php b/web/edit/cron/index.php index 309b5774..50bce954 100644 --- a/web/edit/cron/index.php +++ b/web/edit/cron/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Edit as someone else? if (($_SESSION['user'] == 'admin') && (!empty($_GET['user']))) { $user=escapeshellarg($_GET['user']); diff --git a/web/edit/db/index.php b/web/edit/db/index.php index d41ccc7b..713f13a8 100644 --- a/web/edit/db/index.php +++ b/web/edit/db/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - if (empty($_GET['database'])) { header("Location: /list/db/"); exit; diff --git a/web/edit/dns/index.php b/web/edit/dns/index.php index 51262fc0..ad03b4ac 100644 --- a/web/edit/dns/index.php +++ b/web/edit/dns/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/dns/"); diff --git a/web/edit/ip/index.php b/web/edit/ip/index.php index 00fa176f..ebef99f1 100644 --- a/web/edit/ip/index.php +++ b/web/edit/ip/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/mail/index.php b/web/edit/mail/index.php index cfb71c98..bc123383 100644 --- a/web/edit/mail/index.php +++ b/web/edit/mail/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/mail/"); diff --git a/web/edit/package/index.php b/web/edit/package/index.php index 1bfc92ff..f67c6db7 100644 --- a/web/edit/package/index.php +++ b/web/edit/package/index.php @@ -13,9 +13,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/user/index.php b/web/edit/user/index.php index 25ae2de9..d8deef67 100644 --- a/web/edit/user/index.php +++ b/web/edit/user/index.php @@ -10,10 +10,6 @@ include($_SERVER['DOCUMENT_ROOT']."/inc/main.php"); // Header include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); - -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Are you admin? if ($_SESSION['user'] == 'admin') { diff --git a/web/edit/web/index.php b/web/edit/web/index.php index 36a31367..efbba4d8 100644 --- a/web/edit/web/index.php +++ b/web/edit/web/index.php @@ -14,9 +14,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html'); // Panel top_panel($user,$TAB); -$lang = 'ru_RU.utf8'; -setlocale(LC_ALL, $lang); - // Check user argument? if (empty($_GET['domain'])) { header("Location: /list/web/"); @@ -28,7 +25,6 @@ if (($_SESSION['user'] == 'admin') && (!empty($_GET['user']))) { $user=escapeshellarg($_GET['user']); } - // Check domain $v_domain = escapeshellarg($_GET['domain']); exec (VESTA_CMD."v-list-web-domain ".$user." ".$v_domain." json", $output, $return_var);