aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-03-03 12:54:44 +0100
committerMaZderMind2015-03-03 12:54:44 +0100
commit1e6d220ce629e5855adc8bb8cc400d283ae55d01 (patch)
tree623268ee5130c211ad9c3899364ff59d9ef71f35
parent8ea351c65fcddf796b3a893874a557d12e74637d (diff)
Configurable Header
-rw-r--r--template/assemblies/header.phtml18
1 files changed, 11 insertions, 7 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index ab2cf58..50eb9cb 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -3,17 +3,21 @@
<div class="navbar-header">
<a class="navbar-brand" href="">
<i class="icon"></i>
- <?=h(get('CONFERENCE.TITLE', 'C3Voc'))?> Streaming
+ <?=h(get('CONFERENCE.TITLE', 'C3Voc Streaming'))?>
</a>
</div>
<div class="nav navbar-form navbar-right button-wrapper">
- <a class="form-control btn btn-default" href="feedback/">
- <span class="fa fa-bullhorn"></span>
- </a>
- <a class="form-control btn btn-default" href="//media.ccc.de/browse/congress/2014/index.html">
- <span class="fa fa-video-camera"></span>
- </a>
+ <? if(has('FEEDBACK')): ?>
+ <a class="form-control btn btn-default" href="feedback/">
+ <span class="fa fa-bullhorn"></span>
+ </a>
+ <? endif ?>
+ <? if(has('OVERVIEW.RELEASES')): ?>
+ <a class="form-control btn btn-default" href="<?=h(get('OVERVIEW.RELEASES'))?>">
+ <span class="fa fa-video-camera"></span>
+ </a>
+ <? endif ?>
<a class="form-control btn btn-default" href="about/">
<span class="fa fa-info"></span>
</a>