History Clean Up

This commit is contained in:
JonatanRek
2019-08-23 13:39:42 +02:00
commit 8cf912993d
112 changed files with 11395 additions and 0 deletions

14
controls/automation.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
if (isset($_POST) && !empty($_POST)){
if (isset($_POST['modalFinal']) && $_POST['modalFinal'] == "Next") {
$ifCode = json_encode($_POST['device'], JSON_PRETTY_PRINT);
$doCode = $_POST['atSelector'];
$onDays = $_POST['atDays'];
AutomationManager::create('name', $onDays, $doCode, $ifCode);
}
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
die();
}
?>