From db0a85ea97096af4529b0ea3b903d182144c1310 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Mon, 3 Nov 2014 21:53:30 +0100 Subject: experimental program view --- template/assemblies/program.phtml | 38 ++++++++++++++++++++++++++++++++++++++ template/room.phtml | 8 ++++---- 2 files changed, 42 insertions(+), 4 deletions(-) create mode 100644 template/assemblies/program.phtml (limited to 'template') diff --git a/template/assemblies/program.phtml b/template/assemblies/program.phtml new file mode 100644 index 0000000..9575d8c --- /dev/null +++ b/template/assemblies/program.phtml @@ -0,0 +1,38 @@ + +$room = 'Grossbaustelle BER'; + +foreach($program[$room] as $event) +{ + $width += intval(isset($event['duration']) ? $event['duration'] : 5); +} +?> + +