From cb48ba9b7068302414b18435505a041d22bd9e4b Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 8 Mar 2015 13:42:58 +0100 Subject: Introduce Models abstracting the Config away from Views & Templates --- template/overview.phtml | 67 +++++++++++++++++++++++++++++-------------------- 1 file changed, 40 insertions(+), 27 deletions(-) (limited to 'template') diff --git a/template/overview.phtml b/template/overview.phtml index 37fb154..7916cdb 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -7,7 +7,7 @@ - foreach(get('OVERVIEW.GROUPS') as $group => $rooms): ?> + foreach($overview->getGroups() as $group => $rooms): ?>