aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies/switcher/music.phtml
blob: df1fbf20f0982db263d9310116de60b76e312d55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="container-fluid">
	<h3>Directlinks</h3>
	<div class="formats row">

		<? 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" 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">
							<span class="fa fa-music"></span>
							music
						</a>

				</div>
			</div>
		<? endforeach ?>

	</div>
</div>