user function

This commit is contained in:
Serghey Rodin 2012-07-01 01:10:56 +03:00
commit e734d14637
43 changed files with 1280 additions and 54 deletions

View file

@ -12,7 +12,7 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
top_panel($user,$TAB);
// Data
if ($_SESSION['user'] == 'admin') {
//if ($_SESSION['user'] == 'admin') {
exec (VESTA_CMD."v_list_user_backups $user json", $output, $return_var);
check_error($return_var);
@ -22,7 +22,7 @@ if ($_SESSION['user'] == 'admin') {
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/menu_backup.html');
include($_SERVER['DOCUMENT_ROOT'].'/templates/admin/list_backup.html');
}
//}
// Footer
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');