mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
i18n + service manager + web updater
This commit is contained in:
parent
3612d08933
commit
6e631c32a1
84 changed files with 1806 additions and 1458 deletions
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
// Init
|
||||
error_reporting(NULL);
|
||||
session_start();
|
||||
|
||||
$TAB = 'CRON';
|
||||
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
|
||||
|
||||
// Main include
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
// Header
|
||||
|
@ -12,9 +12,6 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
|
|||
// Panel
|
||||
top_panel($user,$TAB);
|
||||
|
||||
$lang = 'ru_RU.utf8';
|
||||
setlocale(LC_ALL, $lang);
|
||||
|
||||
// Data
|
||||
exec (VESTA_CMD."v-list-cron-jobs $user json", $output, $return_var);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
@ -27,5 +24,9 @@ if ($_SESSION['user'] == 'admin') {
|
|||
include($_SERVER['DOCUMENT_ROOT'].'/templates/user/list_cron.html');
|
||||
}
|
||||
|
||||
// Back uri
|
||||
$_SESSION['back'] = $_SERVER['REQUEST_URI'];
|
||||
|
||||
// Footer
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/templates/footer.html');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue