aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2016-09-03 19:50:34 +0200
committerMaZderMind2016-09-03 19:55:40 +0200
commit4e8fed0b773ad33e50017f498d40440592b7c4ef (patch)
tree256c9ac062e565933e85a7ccd212dca5f8852a84 /template
parent6ee36da3d945b9b412eddf97aba90c65b5664afa (diff)
accept ?forceopen=yes to force a conference open
Diffstat (limited to '')
-rw-r--r--template/assemblies/header.phtml4
-rw-r--r--template/page.phtml6
2 files changed, 7 insertions, 3 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index b2d4215..c4d92e7 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -1,7 +1,7 @@
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
- <a class="navbar-brand" href="">
+ <a class="navbar-brand" href="<?=$conference->getLink()?>">
<i class="icon"></i>
<?=h($conference->getTitle())?> Streaming
</a>
@@ -25,7 +25,7 @@
<span class="fa fa-video-camera"></span>
</a>
<? endif ?>
- <a class="form-control btn btn-default about" title="About" href="about/">
+ <a class="form-control btn btn-default about" title="About" href="<?=$conference->getAboutLink()?>">
<span class="fa fa-info"></span>
</a>
</div>
diff --git a/template/page.phtml b/template/page.phtml
index 3969c12..b62f372 100644
--- a/template/page.phtml
+++ b/template/page.phtml
@@ -16,7 +16,11 @@
<title><?=h($title)?> – <?=h($conference->getTitle())?> Streaming</title>
- <meta name="robots" content="index,follow" />
+ <? if($conference->isPreviewEnabled()): ?>
+ <meta name="robots" content="noindex,nofollow" />
+ <? else: ?>
+ <meta name="robots" content="index,follow" />
+ <? endif ?>
<? if(isset($refresh)): ?>
<meta http-equiv="refresh" content="<?=h($refresh)?>; URL=<?=h($canonicalurl)?>" />