mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
refactoring ip section: new html formating
This commit is contained in:
parent
f1253a0fd3
commit
3e477ced56
10 changed files with 490 additions and 306 deletions
|
@ -48,7 +48,7 @@ if ($_SESSION['user'] == 'admin') {
|
|||
$v_status = 'active';
|
||||
}
|
||||
|
||||
exec (VESTA_CMD."v_list_users 'json'", $output, $return_var);
|
||||
exec (VESTA_CMD."v_list_sys_users 'json'", $output, $return_var);
|
||||
$users = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
||||
|
@ -110,7 +110,6 @@ if ($_SESSION['user'] == 'admin') {
|
|||
}
|
||||
}
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_edit_ip.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/edit_ip.html');
|
||||
unset($_SESSION['error_msg']);
|
||||
unset($_SESSION['ok_msg']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue