From a0b2129479ba10561811847c0651df8b55c8a6ba Mon Sep 17 00:00:00 2001
From: MaZderMind
Date: Sun, 8 Nov 2015 15:15:53 +0100
Subject: Support an All-Conference-Closed Screen and mutliple Schedules &
Relive-URLs
---
template/allclosed.phtml | 14 ++++++++++++++
template/assemblies/header.phtml | 2 +-
template/assemblies/upcoming.phtml | 21 +++++++++++++++++++++
template/closed.phtml | 22 +---------------------
template/embed.phtml | 2 +-
template/page.phtml | 28 +++++++++++++++-------------
6 files changed, 53 insertions(+), 36 deletions(-)
create mode 100644 template/allclosed.phtml
create mode 100644 template/assemblies/upcoming.phtml
(limited to 'template')
diff --git a/template/allclosed.phtml b/template/allclosed.phtml
new file mode 100644
index 0000000..31947a7
--- /dev/null
+++ b/template/allclosed.phtml
@@ -0,0 +1,14 @@
+
+ if($next): ?>
+
See you soon at =h($next['name'])?>
+
+ endif ?>
+
+
+ You can watch most of our Recordings at =h($conference->getReleasesUrl())?>.
+
+
+
+
+ include("$assemblies/upcoming.phtml") ?>
+
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index f57054c..a213dd3 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -15,7 +15,7 @@
endif ?>
- if(!$conference->hasEnded() && $feedback->isEnabled()): ?>
+ if(!$conference->hasEnded() && isset($feedback) && $feedback->isEnabled()): ?>
diff --git a/template/assemblies/upcoming.phtml b/template/assemblies/upcoming.phtml
new file mode 100644
index 0000000..7d9ffac
--- /dev/null
+++ b/template/assemblies/upcoming.phtml
@@ -0,0 +1,21 @@
+ foreach($events as $event): ?>
+
+
+
+
+
+ =h($event['location'])?>
+ =h($event['start_date'])?> – =h($event['end_date'])?>
+
+
+
+
+ endforeach ?>
diff --git a/template/closed.phtml b/template/closed.phtml
index 6ca7416..0b56e74 100644
--- a/template/closed.phtml
+++ b/template/closed.phtml
@@ -29,25 +29,5 @@
- foreach($events as $event): ?>
-
-
-
-
-
- =h($event['location'])?>
- =h($event['start_date'])?> – =h($event['end_date'])?>
-
-
-
-
- endforeach ?>
+ include("$assemblies/upcoming.phtml") ?>
diff --git a/template/embed.phtml b/template/embed.phtml
index dd8629a..f99ece1 100644
--- a/template/embed.phtml
+++ b/template/embed.phtml
@@ -1 +1 @@
- require('assemblies/player/'.$stream->getPlayerType().'.phtml') ?>
+ require("$assemblies/player/".$stream->getPlayerType().'.phtml') ?>
diff --git a/template/page.phtml b/template/page.phtml
index 37f192a..ac639a2 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -29,20 +29,20 @@
-
-
+
+
-
+
-
-
-
-
-
+
+
+
+
+
-
-
+
+
if(!@$naked): ?>
@@ -55,8 +55,10 @@
include("$assemblies/footer.phtml") ?>
endif ?>
-
+ if(isset($schedule)): ?>
+
+ endif ?>