mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
added spacer for empty listing
This commit is contained in:
parent
b8b77d123b
commit
72066c5291
14 changed files with 47 additions and 6 deletions
|
@ -14,7 +14,11 @@ top_panel($user,$TAB);
|
|||
// Data
|
||||
if ($_SESSION['user'] == 'admin') {
|
||||
|
||||
exec (VESTA_CMD."v_list_users json", $output, $return_var);
|
||||
if ($user == 'admin') {
|
||||
exec (VESTA_CMD."v_list_users json", $output, $return_var);
|
||||
} else {
|
||||
exec (VESTA_CMD."v_list_user ".$user." json", $output, $return_var);
|
||||
}
|
||||
check_error($return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
$data = array_reverse($data);
|
||||
|
@ -24,5 +28,6 @@ if ($_SESSION['user'] == 'admin') {
|
|||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_user.html');
|
||||
}
|
||||
|
||||
|
||||
// Footer
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue