fix more broken images
[disorder] / templates / choose.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004, 2005 Richard Kettlewell
5
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.
10
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.
15
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
19 USA
20 -->
21 <html>
22 <head>
23 @include:stdhead@
24 <title>@label:choose.title@</title>
25 </head>
26 <body>
27 @include{topbar}@
28 <h1 class=title>@label:choose.title@</h1>
29
30 @if{@ne{@arg:directory@}{}@}{
31 <p class=directoryname>@navigate{@arg:directory@}{/<a
32 class=directory
33 href="@url@?action=choose&#38;directory=@urlquote{@fullname@}@&#38;nonce=@nonce@">@basename@</a>}@:</p>
34 }@
35
36 @if{@isdirectories@}{
37 <div class=directories>
38 <p class=directories>
39 @label:choose.directories@
40 </p>
41 @choose{directories}{
42 <p class=directory>
43 <a class=directory href="@url@?action=choose&#38;directory=@urlquote{@file@}@&#38;nonce=@nonce@">
44 @transform{@file@}{dir}{display}@
45 </a>
46 </p>
47 }@
48 </div>
49 }@
50 @if{@isfiles@}{
51 <div class=files>
52 <p class=files>
53 @label:choose.files@
54 </p>
55 @choose{files}{
56 <p class=file>
57 @right{prefs}{<a class=imgprefs
58 href="@url@?action=prefs&#38;0_file=@urlquote{@resolve{@file@}@}@&#38;nonce=@nonce@"
59 ><img class=button
60 src="@label:images.edit@"
61 title="@label:choose.prefsverbose@"
62 alt="@label:choose.prefs@"></a>}@
63 <a class=file
64 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@&#38;nonce=@nonce@"
65 title="@label:choose.play@">@transform{@file@}{track}{display}@</a>
66 @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@
67 @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@
68 </p>
69 }@
70 </div>
71 <p class=allfiles>
72 @right{prefs}{<a class=imgprefs
73 href="@url@?action=prefs&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@"
74 ><img class=button
75 src="@label:images.edit@"
76 title="@label:choose.allprefsverbose@"
77 alt="@label:choose.allprefs@"></a>}@
78 <a class=allfiles href="@url@?action=play&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@">
79 @label:choose.playall@
80 </a>
81 </p>
82 }@
83
84 @include{topbarend}@
85 </body>
86 </html>
87 @@
88 <!--
89 Local variables:
90 mode:sgml
91 sgml-always-quote-attributes:nil
92 sgml-indent-step:1
93 sgml-indent-data:t
94 End:
95 -->