Format-Texts in Switcher

This commit is contained in:
MaZderMind 2015-03-01 18:28:16 +01:00
parent c094ad5e73
commit 58cf88be64
4 changed files with 4 additions and 4 deletions

View file

@ -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): ?>

View file

@ -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">

View file

@ -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): ?>

View file

@ -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): ?>