aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/banner.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-03-15 19:13:25 +0100
committerMaZderMind2015-03-29 21:42:01 +0200
commitea4b6c7699a7fbb7be3d9e5ce86c84a36b63f569 (patch)
treec919029a8b12e43c363b898a1ff9f7adf5c3312b /template/assemblies/banner.phtml
parent97fe6bf0af2989abbaaba138df3c54c4e55af3c9 (diff)
Move get/set-Calls into ModelBase and abstract all access into a Model
Conflicts: model/Overview.php model/Room.php model/StreamList.php tests/ModelTestbase.php
Diffstat (limited to 'template/assemblies/banner.phtml')
-rw-r--r--template/assemblies/banner.phtml9
1 files changed, 5 insertions, 4 deletions
diff --git a/template/assemblies/banner.phtml b/template/assemblies/banner.phtml
index 02db100..f818b30 100644
--- a/template/assemblies/banner.phtml
+++ b/template/assemblies/banner.phtml
@@ -1,4 +1,5 @@
-<? if(has('CONFERENCE.BANNER_HTML')) ?>
-<div class="banner">
- <?=get('CONFERENCE.BANNER_HTML')?>
-</div>
+<? if($conference->hasBannerHtml()): ?>
+ <div class="banner">
+ <?=$conference->getBannerHtml()?>
+ </div>
+<? endif ?>