diff options
author | MaZderMind | 2015-07-03 13:21:09 +0200 |
---|---|---|
committer | MaZderMind | 2015-07-03 13:21:09 +0200 |
commit | a0069a0b6c2b28c1760c26d5e713337917cab933 (patch) | |
tree | 3208b7ee0ce0d16cea976653d2976176ff4ee434 /template/assemblies/header.phtml | |
parent | 01510fa8bdd2f5920a1121b2b7f7b5a2487623e1 (diff) |
TLS Switching button
Diffstat (limited to 'template/assemblies/header.phtml')
-rw-r--r-- | template/assemblies/header.phtml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml index cdffea7..9043c82 100644 --- a/template/assemblies/header.phtml +++ b/template/assemblies/header.phtml @@ -8,6 +8,13 @@ </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() ? 'http:' : 'https:').$GLOBALS['CONFIG']['BASEURL'])?>"> + <span class="fa fa-<?= ssl() ? 'lock' : 'unlock-alt' ?>"></span> + TLS + </a> + <? endif ?> + <? if(!$conference->isClosed() && $feedback->isEnabled()): ?> <a class="form-control btn btn-default" href="<?=h($feedback->getUrl())?>"> <span class="fa fa-bullhorn"></span> |