mirror of
https://github.com/myvesta/vesta
synced 2025-07-16 10:03:23 -07:00
i18n user page
This commit is contained in:
parent
26c8b72163
commit
d00a64bbc8
12 changed files with 150 additions and 145 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue