aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/slides.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'template/assemblies/switcher/slides.phtml')
-rw-r--r--template/assemblies/switcher/slides.phtml5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml
index a5f5082..f3281b9 100644
--- a/template/assemblies/switcher/slides.phtml
+++ b/template/assemblies/switcher/slides.phtml
@@ -30,8 +30,9 @@
<? foreach(Stream::getSlidesProtos() as $proto => $display): ?>
<h3>Directlinks (<?=h($display)?>)</h3>
<div class="row">
+ <? $stream = $room->createStreamObject('slides') ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
- <div class="btn-group" role="group" title="<?=h(get("FORMAT.slides"))?>">
+ <div class="btn-group" role="group" title="<?=h($stream->getSlidesTech($proto))?>">
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
<? if($room->hasTranslation()): ?>
@@ -46,7 +47,7 @@
<? else: ?>
- <a href="<?=h($room->createStreamObject('slides')->getSlidesUrl($proto))?>" class="btn btn-default">
+ <a href="<?=h($stream->getSlidesUrl($proto))?>" class="btn btn-default">
<span class="fa fa-picture-o"></span>
slides
</a>