aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/slides.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-04-06 00:28:17 +0200
committerMaZderMind2015-04-06 00:28:17 +0200
commitd8eca933a6713d0deaabe6883e5cf4939120eec0 (patch)
tree93dc04c765a3bd6f36c4f3673665402910d57946 /template/assemblies/switcher/slides.phtml
parent8f14dd9084b10c223508bc9948c5724fc2c9eb63 (diff)
Repair Switchers to not shadow $stream in the following Templates
Diffstat (limited to 'template/assemblies/switcher/slides.phtml')
-rw-r--r--template/assemblies/switcher/slides.phtml6
1 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml
index f3281b9..a401729 100644
--- a/template/assemblies/switcher/slides.phtml
+++ b/template/assemblies/switcher/slides.phtml
@@ -30,9 +30,9 @@
<? foreach(Stream::getSlidesProtos() as $proto => $display): ?>
<h3>Directlinks (<?=h($display)?>)</h3>
<div class="row">
- <? $stream = $room->createStreamObject('slides') ?>
+ <? $switcherstream = $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($stream->getSlidesTech($proto))?>">
+ <div class="btn-group" role="group" title="<?=h($switcherstream->getSlidesTech($proto))?>">
<div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div>
<? if($room->hasTranslation()): ?>
@@ -47,7 +47,7 @@
<? else: ?>
- <a href="<?=h($stream->getSlidesUrl($proto))?>" class="btn btn-default">
+ <a href="<?=h($switcherstream->getSlidesUrl($proto))?>" class="btn btn-default">
<span class="fa fa-picture-o"></span>
slides
</a>