aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/header.phtml
blob: a213dd31f2fddabdd1115c532c6be4d54195743e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
	<div class="container">
		<div class="navbar-header">
			<a class="navbar-brand" href="">
				<i class="icon"></i>
				<?=h($conference->getTitle())?>
			</a>
		</div>

		<div class="nav navbar-form navbar-right button-wrapper">
			<? if(startswith('//', @$GLOBALS['CONFIG']['BASEURL'])): ?>
				<a class="form-control btn btn-ssl btn-<?= ssl() ? 'success' : 'warning' ?>" href="<?=h(ssl() ? $httpurl : $httpsurl)?>">
					<span class="fa fa-<?= ssl() ? 'lock' : 'unlock-alt' ?>"></span>
					TLS
				</a>
			<? endif ?>

			<? if(!$conference->hasEnded() && isset($feedback) && $feedback->isEnabled()): ?>
				<a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>">
					<span class="fa fa-bullhorn"></span>
				</a>
			<? endif ?>
			<? if($conference->hasReleases()): ?>
				<a class="form-control btn btn-default" href="<?=h($conference->getReleasesUrl())?>">
					<span class="fa fa-video-camera"></span>
				</a>
			<? endif ?>
			<? if(!$conference->isClosed()): ?>
				<a class="form-control btn btn-default" href="about/">
					<span class="fa fa-info"></span>
				</a>
			<? endif ?>
		</div>
	</div>
</nav>