DEBUGMODE in FRONTEND
This commit is contained in:
		@@ -52,6 +52,7 @@ class Automation extends Template
 | 
			
		||||
 | 
			
		||||
		$template = new Template('automation');
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
			$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Automation');
 | 
			
		||||
		$template->prepare('langMng', $langMng);
 | 
			
		||||
		$template->prepare('userManager', $userManager);
 | 
			
		||||
 
 | 
			
		||||
@@ -81,6 +81,7 @@ class Dashboard extends Template
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
			$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Nástěnka');
 | 
			
		||||
		$template->prepare('langMng', $langMng);
 | 
			
		||||
		$template->prepare('dashboard', $dashboard);
 | 
			
		||||
 
 | 
			
		||||
@@ -177,6 +177,7 @@ class Home extends Template
 | 
			
		||||
 | 
			
		||||
		$rooms = RoomManager::getAllRooms();
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
		$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Home');
 | 
			
		||||
		$template->prepare('rooms', $rooms);
 | 
			
		||||
		$template->prepare('langMng', $langMng);
 | 
			
		||||
 
 | 
			
		||||
@@ -15,6 +15,8 @@ class Login extends Template
 | 
			
		||||
		$template->prepare('title', 'Home');
 | 
			
		||||
		$template->prepare('lang', $lang);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		$template->render();
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -15,6 +15,7 @@ class Rooms extends Template
 | 
			
		||||
		$template = new Template('rooms');
 | 
			
		||||
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
			$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Rooms');
 | 
			
		||||
		$template->prepare('lang', $lang);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -12,6 +12,7 @@ class Scene extends Template
 | 
			
		||||
 | 
			
		||||
		$template = new Template('scene');
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
			$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Scény');
 | 
			
		||||
		$template->prepare('langMng', $langMng);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -24,6 +24,7 @@ class Setting extends Template
 | 
			
		||||
 | 
			
		||||
		$template = new Template('setting');
 | 
			
		||||
		$template->prepare('baseDir', BASEDIR);
 | 
			
		||||
			$template->prepare('debugMod', DEBUGMOD);
 | 
			
		||||
		$template->prepare('title', 'Automation');
 | 
			
		||||
		$template->prepare('langMng', $langMng);
 | 
			
		||||
		$template->prepare('automations', $automations);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user