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 method=POST
87 enctype="multipart/form-data" accept-charset=utf-8>
89 @label{playing.volume}
93 href="@url?action=volume&delta=-@label{volume.resolution}@back">
94 <img class=button src="@image{down}"
95 alt="@label{volume.reduce}"
96 title="@label{volume.reduceverbose}">
99 <img class=button src="@image{nodown}">
101 @# Volume value widgets
102 @label{volume.left} <input size=3 name=left
103 type=text value="@volume:left@">
104 @label{volume.right} <input size=3 name=right type
105 text value="@volume:right@">
106 <input name=back type=hidden value="@thisurl@?back=manage">
109 <button class=search name=submit type=submit>
112 <input name=action type=hidden value=volume>
114 @# Volume down button
117 href="@url?action=volume&delta=@label{volume.resolution}@back">
120 alt="@label{volume.increase}"
121 title="@label{volume.increaseverbose}">
124 <img class=button src="@image{noup}">
132 @# Only display the table if there is something to put in it
133 @if{@or{@isplaying}{@isqueue}}{
134 <table class=playing>
136 <th class=when>@label{heading.when}</th>
137 <th class=who>@label{heading.who}</th>
138 <th class=artist>@label{heading.artist}</th>
139 <th class=album>@label{heading.album}</th>
140 <th class=title>@label{heading.title}</th>
141 <th class=length>@label{heading.length}</th>
142 <th class=button> </th>
144 <th class=imgbutton> </th>
145 <th class=imgbutton> </th>
146 <th class=imgbutton> </th>
147 <th class=imgbutton> </th>
151 <tr class=nowplaying>
152 <td colspan=@ifmanage{11}{7}>@label{playing.now}</td>
157 <td class=when>@mwhen{playing}{@id}</td>
158 <td class=who>@mwho{playing}{@id}</td>
159 <td class=artist>@martist{playing}{@track}</td>
160 <td class=album>@malbum{playing}{@track}</td>
161 <td class=title>@mtitle{playing}{@track}</td>
162 <td class=length>@length{@id}</td>
163 <td class=imgbutton>@mremove{playing}{@id}</td>
165 <td class=imgbutton> </td>
166 <td class=imgbutton> </td>
167 <td class=imgbutton> </td>
168 <td class=imgbutton> </td>
174 <td colspan=@ifmanage{11}{7}@>@label{playing.next}</td>
179 <td class=when>@mwhen{queue}{@id}</td>
180 <td class=who>@mwho{queue}{@id}</td>
181 <td class=artist>@martist{queue}{@track}</td>
182 <td class=album>@malbum{queue}{@track}</td>
183 <td class=title>@mtitle{queue}{@track}</td>
184 <td class=length>@length</td>
185 <td class=imgbutton>@mremove{queue}{@id}</td>
187 <td class=imgbutton>@mmove{@id}{upall}{2147483647}</td>
188 <td class=imgbutton>@mmove{@id}{up}{1}</td>
189 <td class=imgbutton>@mmove{@id}{down}{-1}</td>
190 <td class=imgbutton>@mmove{@id}{downall}{-2147483647}</td>
197 @include{topbarend.tmpl}@#
203 sgml-always-quote-attributes:nil