FTP -> GIT (SYNC)
This commit is contained in:
		
							
								
								
									
										14
									
								
								app/controls/dashboard.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								app/controls/dashboard.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
<?php
 | 
			
		||||
if (isset($_POST) && !empty($_POST)){
 | 
			
		||||
 | 
			
		||||
	if (isset($_POST['modalFinal']) && $_POST['modalFinal'] == "Next") {
 | 
			
		||||
		$subDeviceIds = $_POST['devices'];
 | 
			
		||||
		foreach ($subDeviceIds as $subDeviceId) {
 | 
			
		||||
			DashboardManager::Add($subDeviceId);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	header('Location: /vasek/home/' . strtolower(basename(__FILE__, '.php')), TRUE);
 | 
			
		||||
	die();
 | 
			
		||||
}
 | 
			
		||||
?>
 | 
			
		||||
		Reference in New Issue
	
	Block a user