i18n user page

This commit is contained in:
Serghey Rodin 2013-01-20 02:16:00 +02:00
parent 26c8b72163
commit d00a64bbc8
12 changed files with 150 additions and 145 deletions

View file

@ -3,6 +3,8 @@
// Init
error_reporting(NULL);
session_start();
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
$TAB = 'USER';
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
@ -13,6 +15,9 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
// Panel
top_panel($user,$TAB);
$lang = 'ru_RU.utf8';
setlocale(LC_ALL, $lang);
// Data
if ($_SESSION['user'] == 'admin') {
$cmd = "v-list-user '".$user."' json";