diff options
author | MaZderMind | 2015-03-15 19:13:25 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-29 21:42:01 +0200 |
commit | ea4b6c7699a7fbb7be3d9e5ce86c84a36b63f569 (patch) | |
tree | c919029a8b12e43c363b898a1ff9f7adf5c3312b /template/assemblies/header.phtml | |
parent | 97fe6bf0af2989abbaaba138df3c54c4e55af3c9 (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/header.phtml')
-rw-r--r-- | template/assemblies/header.phtml | 12 |
1 files changed, 6 insertions, 6 deletions
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> |