1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01//EN">
3 This file is part of DisOrder.
4 Copyright (C)
2004,
2005 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
24 <title>@if{@isplaying@}{@playing{@part:title@}@}{@label:playing.title@}@
</title>
27 @include{@label{menu}@}@
28 <h1 class=title
>@label:playing.title@
</h1>
30 @#{extra control buttons for the management page}@
37 href=
"@url@?action=resume&nonce=@nonce@&mgmt=true"
38 title=
"@label:playing.resumeverbose@">@label:playing.pause@
</a>
41 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.enabled@">
46 href=
"@url@?action=pause&nonce=@nonce@&mgmt=true"
47 title=
"@label:playing.pauseverbose@">@label:playing.pause@
</a>
50 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.disabled@">
52 @if{@random-enabled@}{
53 <!-- random played enabled --
>
56 href=
"@url@?action=random-disable&nonce=@nonce@&mgmt=true"
57 title=
"@label:playing.randomdisableverbose@">@label:playing.random@
</a>
60 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.enabled@">
62 <!-- random played disabled --
>
65 href=
"@url@?action=random-enable&nonce=@nonce@&mgmt=true"
66 title=
"@label:playing.randomenableverbose@">@label:playing.random@
</a>
69 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.disabled@">
72 <!-- playing enabled --
>
75 href=
"@url@?action=disable&nonce=@nonce@&mgmt=true"
76 title=
"@label:playing.disableverbose@">@label:playing.playing@
</a>
79 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.enabled@">
81 <!-- playing disabled --
>
84 href=
"@url@?action=enable&nonce=@nonce@&mgmt=true"
85 title=
"@label:playing.enableverbose@">@label:playing.playing@
</a>
88 <img width=
16 height=
16 class=imgbutton
src=
"@label:images.disabled@">
90 <form class=volume
action=
"@url@" method=POST
91 enctype=
"multipart/form-data" accept-charset=utf-
8>
93 @label:playing.volume@
95 href=
"@url@?action=volume&delta=-@label:volume.resolution@&back=@urlquote{@thisurl@?mgmt=true}@">
96 <img class=button
src=
"@label:images.down@"
97 alt=
"@label:volume.reduce@" title=
"@label:volume.reduceverbose@">
99 @label:volume.left@
<input size=
3 name=left type=text
value=
"@volume:left@">
100 @label:volume.right@
<input size=
3 name=right type=text
value=
"@volume:right@">
101 <input name=nonce type=hidden
value=
"@nonce@">
102 <input name=back type=hidden
value=
"@thisurl@?mgmt=true">
103 <button class=search name=action type=submit value=volume
>
107 href=
"@url@?action=volume&delta=@label:volume.resolution@&back=@urlquote{@thisurl@?mgmt=true}@">
108 <img class=button
src=
"@label:images.up@"
109 alt=
"@label:volume.increase@" title=
"@label:volume.increaseverbose@">
115 @#{only display the table if there is something to put in it}@
116 @if{@or{@isplaying@}{@isqueue@}@}{
117 <table class=playing
>
119 <th class=when
>@label:heading.when@
</th>
120 <th class=who
>@label:heading.who@
</th>
121 <th class=artist
>@label:heading.artist@
</th>
122 <th class=album
>@label:heading.album@
</th>
123 <th class=title
>@label:heading.title@
</th>
124 <th class=length
>@label:heading.length@
</th>
125 <th class=button
> </th>
127 <th class=imgbutton
> </th>
128 <th class=imgbutton
> </th>
129 <th class=imgbutton
> </th>
130 <th class=imgbutton
> </th>
134 <tr class=nowplaying
>
135 <td colspan=@if{@arg:mgmt@}{
11}{
7}@ class=nowplaying
>@label:playing.now@
</td>
139 <td class=when
>@when@
</td>
140 <td class=who
>@if{@eq{@who@}{}@}{@if{@eq{@state@}{random}@}{@label:playing.randomtrack@}{
}@}{@who@}@
</td>
141 <td class=artist
><a class=directory
142 href=
"@url@?action=choose&directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@"
143 title=
"@label:playing.artistverbose@">@part{short}{artist}@
</a></td>
144 <td class=album
><a class=directory
145 href=
"@url@?action=choose&directory=@urlquote{@dirname{@part:path@}@}@"
146 title=
"@label:playing.albumverbose@">@part{short}{album}@
</a></td>
147 <td class=title
><span
148 title=
"@part{title}@">@part{short}{title}@
</span></td>
149 <td class=length
>@length@
</td>
150 <td class=imgbutton
>@if{@scratchable@}{
<a class=imgbutton
151 href=
"@url@?action=scratch&nonce=@nonce@&id=@id@&mgmt=@arg:mgmt@"><img
152 class=button
src=
"@label:images.scratch@"
153 title=
"@label:playing.scratchverbose@"
154 alt=
"@label:playing.scratch@"></a>}{
<img
155 class=button
src=
"@label:images.noscratch@"
156 title=
"@label:playing.scratchverbose@"
157 alt=
"@label:playing.scratch@">}@
</td>
159 <td class=imgbutton
> </td>
160 <td class=imgbutton
> </td>
161 <td class=imgbutton
> </td>
162 <td class=imgbutton
> </td>
168 <td colspan=@if{@arg:mgmt@}{
11}{
7}@ class=next
>@label:playing.next@
</td>
172 <td class=when
>@when@
</td>
173 <td class=who
>@if{@eq{@who@}{}@}{@if{@eq{@state@}{random}@}{@label:queue.randomtrack@}{
}@}{@who@}@
</td>
175 title=
"@part{artist}@"
177 href=
"@url@?action=choose&directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@">@part{short}{artist}@
</a></td>
179 title=
"@part{album}@"
181 href=
"@url@?action=choose&directory=@urlquote{@dirname{@part:path@}@}@">@part{short}{album}@
</a></td>
182 <td class=title
><span
183 title=
"@part{title}@">@part{short}{title}@
</span></td>
184 <td class=length
>@length@
</td>
185 <td class=imgbutton
>@if{@removable@}{
<a class=imgbutton
186 href=
"@url@?action=remove&nonce=@nonce@&id=@id@&mgmt=@arg:mgmt@"><img
187 class=button
src=
"@label:images.scratch@"
188 title=
"@label:playing.removeverbose@"
189 alt=
"@label:playing.remove@"></a>}{
}@
</td>
192 {
<td class=imgbutton
>
194 class=button
src=
"@label:images.noupall@"
195 title=
"@label:playing.upallverbose@" alt=
"">
198 class=button
src=
"@label:images.noup@"
199 title=
"@label:playing.upverbose@" alt=
"">}
200 {
<td class=imgbutton
>
202 href=
"@url@?action=move&nonce=@nonce@&id=@id@&delta=2147483647&mgmt=true"><img
203 class=button
src=
"@label:images.upall@"
204 title=
"@label:playing.upallverbose@"
205 alt=
"@label:playing.upall@"></a>
208 href=
"@url@?action=move&nonce=@nonce@&id=@id@&delta=1&mgmt=true"><img
209 class=button
src=
"@label:images.up@"
210 title=
"@label:playing.upverbose@" alt=
"@label:playing.up@"></a>}@
212 {
<td class=imgbutton
>
214 class=button
src=
"@label:images.nodown@"
215 title=
"@label:playing.downverbose@" alt=
"">
218 class=button
src=
"@label:images.nodownall@"
219 title=
"@label:playing.downallverbose@" alt=
"">}
220 {
<td class=imgbutton
>
221 <a class=imgbutton
href=
"@url@?action=move&nonce=@nonce@&id=@id@&delta=-1&mgmt=true"><img
222 class=button
src=
"@label:images.down@"
223 title=
"@label:playing.downverbose@"
224 alt=
"@label:playing.down@">
226 <a class=imgbutton
href=
"@url@?action=move&nonce=@nonce@&id=@id@&delta=-2147483647&mgmt=true"><img
227 class=button
src=
"@label:images.downall@"
228 title=
"@label:playing.downallverbose@"
229 alt=
"@label:playing.downall@">}@
</a>
236 @include{@label{menu}@end}@
243 sgml-always-quote-attributes:nil