2019-08-23 11:39:42 +00:00
|
|
|
<?php
|
|
|
|
if (isset($_POST) && !empty($_POST)){
|
|
|
|
|
|
|
|
if (isset($_POST['modalFinal']) && $_POST['modalFinal'] == "Next") {
|
|
|
|
$subDeviceIds = $_POST['devices'];
|
|
|
|
foreach ($subDeviceIds as $subDeviceId) {
|
|
|
|
DashboardManager::Add($subDeviceId);
|
|
|
|
}
|
|
|
|
}
|
2019-10-11 14:26:23 +00:00
|
|
|
header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')));
|
2019-08-23 11:39:42 +00:00
|
|
|
die();
|
|
|
|
}
|
|
|
|
?>
|