7b8e7863b5ecbd179ec8a5773b161beffd95a3ee
[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 @#{always have the first-letter bar, if choosealpha enabled}@
31 @if{@eq{@label:sidebar.choosewhich@}{choosealpha}@}{
32
33 <p class=choosealpha>
34 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?a">A</a> |
35 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?b">B</a> |
36 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?c">C</a> |
37 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?d">D</a> |
38 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?e">E</a> |
39 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?f">F</a> |
40 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?g">G</a> |
41 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?h">H</a> |
42 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?i">I</a> |
43 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?j">J</a> |
44 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?k">K</a> |
45 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?l">L</a> |
46 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?m">M</a> |
47 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?n">N</a> |
48 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?o">O</a> |
49 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?p">P</a> |
50 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?q">Q</a> |
51 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?r">R</a> |
52 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?s">S</a> |
53 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(?!the [^t])t">T</a> |
54 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?u">U</a> |
55 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?v">V</a> |
56 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?w">W</a> |
57 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?x">X</a> |
58 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?y">Y</a> |
59 <a class=choosealpha href="@url@?action=choose&#38;regexp=^(the )?z">Z</a> |
60 <a class=choosealpha href="@url@?action=choose&#38;regexp=^[^a-z]">*</a>
61 </p>
62 }@
63
64 @if{@ne{@arg:directory@}{}@}{
65 <p class=directoryname>@navigate{@arg:directory@}{/<a
66 class=directory
67 href="@url@?action=choose&#38;directory=@urlquote{@fullname@}@&#38;nonce=@nonce@">@basename@</a>}@:</p>
68 }@
69
70 @if{@isdirectories@}{
71 <div class=directories>
72 <p class=directories>
73 @label:choose.directories@
74 </p>
75 @choose{directories}{
76 <p class=directory>
77 <a class=directory href="@url@?action=choose&#38;directory=@urlquote{@file@}@&#38;nonce=@nonce@">
78 @transform{@file@}{dir}{display}@
79 </a>
80 </p>
81 }@
82 </div>
83 }@
84 @if{@isfiles@}{
85 <div class=files>
86 <p class=files>
87 @label:choose.files@
88 </p>
89 @choose{files}{
90 <p class=file>
91 @right{prefs}{<a class=imgprefs
92 href="@url@?action=prefs&#38;0_file=@urlquote{@resolve{@file@}@}@&#38;nonce=@nonce@"
93 ><img class=button
94 src="@@image:edit@"
95 title="@label:choose.prefsverbose@"
96 alt="@label:choose.prefs@"></a>}@
97 <a class=file
98 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@&#38;nonce=@nonce@"
99 title="@label:choose.play@">@transform{@file@}{track}{display}@</a>
100 @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@
101 @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@
102 </p>
103 }@
104 </div>
105 <p class=allfiles>
106 @right{prefs}{<a class=imgprefs
107 href="@url@?action=prefs&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@"
108 ><img class=button
109 src="@@image:edit@"
110 title="@label:choose.allprefsverbose@"
111 alt="@label:choose.allprefs@"></a>}@
112 <a class=allfiles href="@url@?action=play&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;back=@urlquote{@thisurl@}@">
113 @label:choose.playall@
114 </a>
115 </p>
116 }@
117
118 @include{topbarend}@
119 </body>
120 </html>
121 @@
122 <!--
123 Local variables:
124 mode:sgml
125 sgml-always-quote-attributes:nil
126 sgml-indent-step:1
127 sgml-indent-data:t
128 End:
129 -->