1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
3 This file is part of DisOrder.
4 Copyright (C) 2004-2008 Richard Kettlewell
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
26 @include{stdhead.tmpl}@#
27 <title>@if{@isplaying}
28 {@playing{@part{@id}{title}}}
29 {@label{playing.title}}</title>
33 <h1>@label{playing.title}</h1>
35 @# Extra control buttons for the management page
42 href="@url?action=resume@back"
43 title="@label{playing.resumeverbose}">@label{playing.pause}</a>
45 <img width=16 height=16 class=imgbutton src="@image{enabled}">
49 href="@url?action=pause@back"
50 title="@label{playing.pauseverbose}">@label{playing.pause}</a>
52 <img width=16 height=16 class=imgbutton src="@image{disabled}">
55 @# Random play enabled
57 href="@url?action=random-disable@back"
58 title="@label{playing.randomdisableverbose}">@label{playing.random}</a>
60 <img width=16 height=16 class=imgbutton src="@image{enabled}">
62 @# Random play disabled
64 href="@url?action=random-enable@back"
65 title="@label{playing.randomenableverbose}">@label{playing.random}</a>
67 <img width=16 height=16 class=imgbutton src="@image{disabled}">
72 href="@url?action=disable@back"
73 title="@label{playing.disableverbose}">@label{playing.playing}</a>
75 <img width=16 height=16 class=imgbutton src="@image{enabled}">
79 href="@url?action=enable@back"
80 title="@label{playing.enableverbose}">@label{playing.playing}</a>
82 <img width=16 height=16 class=imgbutton src="@image{disabled}">
85 <form class=volume action="@url" method=POST
86 enctype="multipart/form-data" accept-charset=utf-8>
88 @label{playing.volume}
92 href="@url?action=volume&delta=-@label{volume.resolution}@back">
93 <img class=button src="@image{down}"
94 alt="@label{volume.reduce}"
95 title="@label{volume.reduceverbose}">
98 <img class=button src="@image{nodown}">
100 @# Volume value widgets
101 @label{volume.left} <input size=3 name=left type=text value="@volume:left@">
102 @label{volume.right} <input size=3 name=right type=text value="@volume:right@">
103 <input name=back type=hidden value="@thisurl@?back=manage">
106 <button class=search name=submit type=submit>
108 </button><input name=action type=hidden value=volume>
110 @# Volume down button
113 href="@url?action=volume&delta=@label{volume.resolution}@back">
116 alt="@label{volume.increase}"
117 title="@label{volume.increaseverbose}">
120 <img class=button src="@image{noup}">
128 @# Only display the table if there is something to put in it
129 @if{@or{@isplaying}{@isqueue}}{
130 <table class=playing>
132 <th class=when>@label{heading.when}</th>
133 <th class=who>@label{heading.who}</th>
134 <th class=artist>@label{heading.artist}</th>
135 <th class=album>@label{heading.album}</th>
136 <th class=title>@label{heading.title}</th>
137 <th class=length>@label{heading.length}</th>
138 <th class=button> </th>
140 <th class=imgbutton> </th>
141 <th class=imgbutton> </th>
142 <th class=imgbutton> </th>
143 <th class=imgbutton> </th>
147 <tr class=nowplaying>
148 <td colspan=@ifmanage{11}{7}>@label{playing.now}</td>
151 <td class=when>@mwhen{playing}{@id}</td>
152 <td class=who>@mwho{playing}{@id}</td>
153 <td class=artist>@martist{playing}{@track}</td>
154 <td class=album>@malbum{playing}{@track}</td>
155 <td class=title>@mtitle{playing}{@track}</td>
156 <td class=length>@length{@id}</td>
157 <td class=imgbutton>@mremove{playing}{@id}</td>
159 <td class=imgbutton> </td>
160 <td class=imgbutton> </td>
161 <td class=imgbutton> </td>
162 <td class=imgbutton> </td>
168 <td colspan=@ifmanage{11}{7}@>@label{playing.next}</td>
173 <td class=when>@mwhen{queue}{@id}</td>
174 <td class=who>@mwho{queue}{@id}</td>
175 <td class=artist>@martist{queue}{@track}</td>
176 <td class=album>@malbum{queue}{@track}</td>
177 <td class=title>@mtitle{queue}{@track}</td>
178 <td class=length>@length</td>
179 <td class=imgbutton>@mremove{queue}{@id}</td>
181 @if{@eq{@arg{action}}{manage}}{
183 {@not{@movable@}@}@}{
184 <!-- cannot move up -->
187 class=button src="@image{noupall}"
188 title="@label{playing.upallverbose}" alt="">
191 class=button src="@image{noup}"
192 title="@label{playing.upverbose}" alt="">
197 href="@url?action=move&id=@id@&delta=2147483647@back"><img
198 class=button src="@image{upall}"
199 title="@label{playing.upallverbose}"
200 alt="@label{playing.upall}"></a>
203 href="@url?action=move&id=@id@&delta=1@back"><img
204 class=button src="@image{up}"
205 title="@label{playing.upverbose}" alt="@label{playing.up}"></a>
209 {@not{@movable@}@}@}{
210 <!-- cannot move down -->
213 class=button src="@image{nodownall}"
214 title="@label{playing.downallverbose}" alt="">
217 class=button src="@image{nodown}"
218 title="@label{playing.downverbose}" alt="">
220 <!-- can move down -->
223 href="@url?action=move&id=@id@&delta=-2147483647@back"><img
224 class=button src="@image{downall}"
225 title="@label{playing.downallverbose}"
226 alt="@label{playing.downall}"></a>
229 href="@url?action=move&id=@id@&delta=-1@back"><img
230 class=button src="@image{down}"
231 title="@label{playing.downverbose}" alt="@label{playing.down}"></a>
239 @include{topbarend.tmpl}@#
245 sgml-always-quote-attributes:nil