diff options
Diffstat (limited to 'template/assemblies')
-rw-r--r-- | template/assemblies/banner.phtml | 9 | ||||
-rw-r--r-- | template/assemblies/footer.phtml | 4 | ||||
-rw-r--r-- | template/assemblies/header.phtml | 12 |
3 files changed, 13 insertions, 12 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 ?> diff --git a/template/assemblies/footer.phtml b/template/assemblies/footer.phtml index 2c5ab5d..619eff8 100644 --- a/template/assemblies/footer.phtml +++ b/template/assemblies/footer.phtml @@ -1,6 +1,6 @@ <footer> - <? if(has('CONFERENCE.FOOTER_HTML')): ?> - <?= get('CONFERENCE.FOOTER_HTML') ?> + <? if($conference->hasFooterHtml()): ?> + <?= $conference->getFooterHtml() ?> <? else: ?> by <a href="https://c3voc.de">c3voc</a> <? endif ?> diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index 50eb9cb..cb6b991 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -3,22 +3,22 @@ <div class="navbar-header"> <a class="navbar-brand" href=""> <i class="icon"></i> - <?=h(get('CONFERENCE.TITLE', 'C3Voc Streaming'))?> + <?=h($conference->getTitle())?> </a> </div> <div class="nav navbar-form navbar-right button-wrapper"> - <? if(has('FEEDBACK')): ?> - <a class="form-control btn btn-default" href="feedback/"> + <? if($feedback->isEnabled()): ?> + <a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>"> <span class="fa fa-bullhorn"></span> </a> <? endif ?> - <? if(has('OVERVIEW.RELEASES')): ?> - <a class="form-control btn btn-default" href="<?=h(get('OVERVIEW.RELEASES'))?>"> + <? if($conference->hasReleases()): ?> + <a class="form-control btn btn-default" href="<?=h($conference->getReleasesUrl())?>"> <span class="fa fa-video-camera"></span> </a> <? endif ?> - <a class="form-control btn btn-default" href="about/"> + <a class="form-control btn btn-default" href="<?=h($conference->getAboutUrl())?>"> <span class="fa fa-info"></span> </a> </div> |