mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 22:04:00 -07:00
fixed history log page
This commit is contained in:
parent
745ff25d39
commit
7816834a32
1 changed files with 7 additions and 10 deletions
|
@ -12,8 +12,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
||||||
top_panel($user,$TAB);
|
top_panel($user,$TAB);
|
||||||
|
|
||||||
// Data
|
// Data
|
||||||
if ($_SESSION['user'] == 'admin') {
|
|
||||||
|
|
||||||
exec (VESTA_CMD."v-list-user-log $user json", $output, $return_var);
|
exec (VESTA_CMD."v-list-user-log $user json", $output, $return_var);
|
||||||
check_error($return_var);
|
check_error($return_var);
|
||||||
$data = json_decode(implode('', $output), true);
|
$data = json_decode(implode('', $output), true);
|
||||||
|
@ -22,7 +20,6 @@ if ($_SESSION['user'] == 'admin') {
|
||||||
|
|
||||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_log.html');
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_log.html');
|
||||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_log.html');
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_log.html');
|
||||||
}
|
|
||||||
|
|
||||||
// Footer
|
// Footer
|
||||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue