mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
Format-Texts in Switcher
This commit is contained in:
parent
c094ad5e73
commit
58cf88be64
4 changed files with 4 additions and 4 deletions
|
@ -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): ?>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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): ?>
|
||||
|
|
|
@ -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): ?>
|
||||
|
||||
|
|
Loading…
Reference in a new issue