[*] code review
This commit is contained in:
1 parent
4a9d42d0cd
commit
b267e4f912
13 files changed
+409
-1022
No files matched your search
+9
-9
@@ -6,15 +6,15 @@
|
||||
require_once __DIR__ . '/inc/header.php';
|
||||
?>
|
||||
<?php
|
||||
if(isset($_REQUEST['save']) and $_REQUEST['save'] == 'Y'):
|
||||
CCron::addTask(array(
|
||||
'active' =>$_REQUEST['active'] ? 'Y' : 'N',
|
||||
'name' => $_REQUEST['name'],
|
||||
'period' => $_REQUEST['period'],
|
||||
'command' => $_REQUEST['command'],
|
||||
'description' => $_REQUEST['description']
|
||||
)
|
||||
);
|
||||
if (isset($_REQUEST['save']) and $_REQUEST['save'] == 'Y'):
|
||||
CCron::addTask([
|
||||
'active' => $_REQUEST['active'] ? 'Y' : 'N',
|
||||
'name' => $_REQUEST['name'],
|
||||
'period' => $_REQUEST['period'],
|
||||
'command' => $_REQUEST['command'],
|
||||
'description' => $_REQUEST['description']
|
||||
]
|
||||
);
|
||||
?>
|
||||
<script>
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
Reference in new issue
Block a user