aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaZderMind2015-03-01 18:28:16 +0100
committerMaZderMind2015-03-01 18:28:16 +0100
commit58cf88be643a114c56762b559073e2a62b483c63 (patch)
tree77006f7dd32dcefc077505da620a7b7fcefc62d1
parentc094ad5e731ce6d9631d481f3974251af7f2dcc5 (diff)
Format-Texts in Switcher
-rw-r--r--template/assemblies/switcher/audio.phtml2
-rw-r--r--template/assemblies/switcher/music.phtml2
-rw-r--r--template/assemblies/switcher/slides.phtml2
-rw-r--r--template/assemblies/switcher/video.phtml2
4 files changed, 4 insertions, 4 deletions
diff --git a/template/assemblies/switcher/audio.phtml b/template/assemblies/switcher/audio.phtml
index a062854..53131d3 100644
--- a/template/assemblies/switcher/audio.phtml
+++ b/template/assemblies/switcher/audio.phtml
@@ -29,7 +29,7 @@
<? foreach(array_intersect($formats, array('audio-mp3', 'audio-opus', 'audio-ogg')) as $format): ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
<? $proto = substr($format, 6) ?>
- <div class="btn-group" role="group">
+ <div class="btn-group" role="group" title="<?=h(get("FORMAT.$format"))?>">
<div class="btn btn-primary" disabled><?=h(strtoupper($proto))?></div>
<? if($has_translation): ?>
diff --git a/template/assemblies/switcher/music.phtml b/template/assemblies/switcher/music.phtml
index b844ae8..df1fbf2 100644
--- a/template/assemblies/switcher/music.phtml
+++ b/template/assemblies/switcher/music.phtml
@@ -5,7 +5,7 @@
<? foreach(array_intersect($formats, array('music-mp3', 'music-opus', 'music-ogg')) as $format): ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
<? $proto = substr($format, 6) ?>
- <div class="btn-group" role="group">
+ <div class="btn-group" role="group" title="<?=h(get("FORMAT.$format"))?>">
<div class="btn btn-primary" disabled><?=h(strtoupper($proto))?></div>
<a href="<?=h(link_stream('music', $room, $proto))?>" class="btn btn-default">
diff --git a/template/assemblies/switcher/slides.phtml b/template/assemblies/switcher/slides.phtml
index f713ab9..7355da0 100644
--- a/template/assemblies/switcher/slides.phtml
+++ b/template/assemblies/switcher/slides.phtml
@@ -27,7 +27,7 @@
<? foreach(array_intersect($protos, array('rtmp', 'hls')) as $proto): ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
- <div class="btn-group" role="group">
+ <div class="btn-group" role="group" title="<?=h(get("FORMAT.slides"))?>">
<div class="btn btn-primary" disabled><?=h(strtoupper($proto))?></div>
<? if($has_translation): ?>
diff --git a/template/assemblies/switcher/video.phtml b/template/assemblies/switcher/video.phtml
index 2017b2e..5a35657 100644
--- a/template/assemblies/switcher/video.phtml
+++ b/template/assemblies/switcher/video.phtml
@@ -45,7 +45,7 @@
<? if(!startswith($proto, $format)) continue ?>
<? $res = substr($format, -2) ?>
<div class="col-lg-3 col-md-4 col-lg-5 col-xs-12">
- <div class="btn-group" role="group">
+ <div class="btn-group" role="group" title="<?=h(get("FORMAT.$format"))?>">
<div class="btn btn-primary" disabled><?=h(strtoupper($res))?></div>
<? if($has_translation): ?>