diff options
author | MaZderMind | 2015-04-06 00:28:17 +0200 |
---|---|---|
committer | MaZderMind | 2015-04-06 00:28:17 +0200 |
commit | d8eca933a6713d0deaabe6883e5cf4939120eec0 (patch) | |
tree | 93dc04c765a3bd6f36c4f3673665402910d57946 /template/assemblies/switcher/audio.phtml | |
parent | 8f14dd9084b10c223508bc9948c5724fc2c9eb63 (diff) |
Repair Switchers to not shadow $stream in the following Templates
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/switcher/audio.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml index 271191e..ede7a0e 100644 --- a/template/assemblies/switcher/audio.phtml +++ b/template/assemblies/switcher/audio.phtml @@ -30,9 +30,9 @@ <? foreach(Stream::getAudioProtos() as $proto => $display): ?> <h3>Directlinks (<?=h($display)?>)</h3> <div class="row"> - <? $stream = $room->createStreamObject('music') ?> + <? $switcherstream = $room->createStreamObject('music') ?> <div class="col-lg-3 col-md-4 col-lg-5 col-xs-12"> - <div class="btn-group" role="group" title="<?=h($stream->getAudioTech($proto))?>"> + <div class="btn-group" role="group" title="<?=h($switcherstream->getAudioTech($proto))?>"> <div class="btn btn-primary" disabled><?=h($selection->getDisplay())?></div> <? if($room->hasTranslation()): ?> @@ -47,7 +47,7 @@ <? else: ?> - <a href="<?=h($stream->getAudioUrl($proto))?>" class="btn btn-default"> + <a href="<?=h($switcherstream->getAudioUrl($proto))?>" class="btn btn-default"> <span class="fa fa-volume-up"></span> video </a> |