aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--model/Conference.php7
-rw-r--r--template/page.phtml5
2 files changed, 12 insertions, 0 deletions
diff --git a/model/Conference.php b/model/Conference.php
index 8d387a0..0ce0a55 100644
--- a/model/Conference.php
+++ b/model/Conference.php
@@ -225,4 +225,11 @@ class Conference extends ModelBase
public function getExtraFiles() {
return $this->get('EXTRA_FILES', []);
}
+
+ public function hasAdditionalHtml() {
+ return $this->has('CONFERENCE.ADDITIONAL_HTML');
+ }
+ public function getAdditionalHtml() {
+ return $this->get('CONFERENCE.ADDITIONAL_HTML');
+ }
}
diff --git a/template/page.phtml b/template/page.phtml
index 016debf..93dfe02 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -85,5 +85,10 @@
data-frontend-url="<?=h($subtitles->getFrontendURL())?>"
></span>
<? endif ?>
+
+
+ <? if($conference->hasAdditionalHtml()): ?>
+ <?= $conference->getAdditionalHtml() ?>
+ <? endif ?>
</body>
</html>