mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -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
|
@ -15,14 +15,11 @@ top_panel($user,$TAB);
|
|||
|
||||
// Data
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
|
||||
exec (VESTA_CMD."v_list_sys_ips json", $output, $return_var);
|
||||
check_error($return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data);
|
||||
unset($output);
|
||||
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_ip.html');
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_ip.html');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue