460b9539 |
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> |
e12da4d9 |
27 | @include{topbar}@ |
460b9539 |
28 | <h1 class=title>@label:choose.title@</h1> |
328248ba |
29 | |
30 | @#{always have the first-letter bar, if choosealpha enabled}@ |
31 | @if{@eq{@label:sidebar.choosewhich@}{choosealpha}@}{ |
32 | |
33 | <p class=choosealpha> |
3effdc30 |
34 | <a class=choosealpha |
35 | title="Directories starting with 'a'" |
36 | href="@url@?action=choose&regexp=^(the )?a">A</a> | |
37 | <a class=choosealpha |
38 | title="Directories starting with 'b'" |
39 | href="@url@?action=choose&regexp=^(the )?b">B</a> | |
40 | <a class=choosealpha |
41 | title="Directories starting with 'c'" |
42 | href="@url@?action=choose&regexp=^(the )?c">C</a> | |
43 | <a class=choosealpha |
44 | title="Directories starting with 'd'" |
45 | href="@url@?action=choose&regexp=^(the )?d">D</a> | |
46 | <a class=choosealpha |
47 | title="Directories starting with 'e'" |
48 | href="@url@?action=choose&regexp=^(the )?e">E</a> | |
49 | <a class=choosealpha |
50 | title="Directories starting with 'f'" |
51 | href="@url@?action=choose&regexp=^(the )?f">F</a> | |
52 | <a class=choosealpha |
53 | title="Directories starting with 'g'" |
54 | href="@url@?action=choose&regexp=^(the )?g">G</a> | |
55 | <a class=choosealpha |
56 | title="Directories starting with 'h'" |
57 | href="@url@?action=choose&regexp=^(the )?h">H</a> | |
58 | <a class=choosealpha |
59 | title="Directories starting with 'i'" |
60 | href="@url@?action=choose&regexp=^(the )?i">I</a> | |
61 | <a class=choosealpha |
62 | title="Directories starting with 'j'" |
63 | href="@url@?action=choose&regexp=^(the )?j">J</a> | |
64 | <a class=choosealpha |
65 | title="Directories starting with 'k'" |
66 | href="@url@?action=choose&regexp=^(the )?k">K</a> | |
67 | <a class=choosealpha |
68 | title="Directories starting with 'l'" |
69 | href="@url@?action=choose&regexp=^(the )?l">L</a> | |
70 | <a class=choosealpha |
71 | title="Directories starting with 'm'" |
72 | href="@url@?action=choose&regexp=^(the )?m">M</a> | |
73 | <a class=choosealpha |
74 | title="Directories starting with 'n'" |
75 | href="@url@?action=choose&regexp=^(the )?n">N</a> | |
76 | <a class=choosealpha |
77 | title="Directories starting with 'o'" |
78 | href="@url@?action=choose&regexp=^(the )?o">O</a> | |
79 | <a class=choosealpha |
80 | title="Directories starting with 'p'" |
81 | href="@url@?action=choose&regexp=^(the )?p">P</a> | |
82 | <a class=choosealpha |
83 | title="Directories starting with 'q'" |
84 | href="@url@?action=choose&regexp=^(the )?q">Q</a> | |
85 | <a class=choosealpha |
86 | title="Directories starting with 'r'" |
87 | href="@url@?action=choose&regexp=^(the )?r">R</a> | |
88 | <a class=choosealpha |
89 | title="Directories starting with 's'" |
90 | href="@url@?action=choose&regexp=^(the )?s">S</a> | |
91 | <a class=choosealpha |
92 | title="Directories starting with 't'" |
93 | href="@url@?action=choose&regexp=^(?!the [^t])t">T</a> | |
94 | <a class=choosealpha |
95 | title="Directories starting with 'u'" |
96 | href="@url@?action=choose&regexp=^(the )?u">U</a> | |
97 | <a class=choosealpha |
98 | title="Directories starting with 'v'" |
99 | href="@url@?action=choose&regexp=^(the )?v">V</a> | |
100 | <a class=choosealpha |
101 | title="Directories starting with 'w'" |
102 | href="@url@?action=choose&regexp=^(the )?w">W</a> | |
103 | <a class=choosealpha |
104 | title="Directories starting with 'x'" |
105 | href="@url@?action=choose&regexp=^(the )?x">X</a> | |
106 | <a class=choosealpha |
107 | title="Directories starting with 'y'" |
108 | href="@url@?action=choose&regexp=^(the )?y">Y</a> | |
109 | <a class=choosealpha |
110 | title="Directories starting with 'z'" |
111 | href="@url@?action=choose&regexp=^(the )?z">Z</a> | |
112 | <a class=choosealpha |
113 | title="Directories starting with anything else" |
114 | href="@url@?action=choose&regexp=^[^a-z]">*</a> |
328248ba |
115 | </p> |
116 | }@ |
460b9539 |
117 | |
118 | @if{@ne{@arg:directory@}{}@}{ |
119 | <p class=directoryname>@navigate{@arg:directory@}{/<a |
52ca8a32 |
120 | class=thisdirectory |
da68af53 |
121 | href="@url@?action=choose&directory=@urlquote{@fullname@}@">@basename@</a>}@:</p> |
460b9539 |
122 | }@ |
123 | |
124 | @if{@isdirectories@}{ |
125 | <div class=directories> |
126 | <p class=directories> |
127 | @label:choose.directories@ |
128 | </p> |
129 | @choose{directories}{ |
130 | <p class=directory> |
52ca8a32 |
131 | <a class=directory |
da68af53 |
132 | href="@url@?action=choose&directory=@urlquote{@file@}@" |
52ca8a32 |
133 | title="@label:choose.directory@"> |
134 | <img class=button |
135 | src="@image:directory@" |
136 | alt=""> |
460b9539 |
137 | @transform{@file@}{dir}{display}@ |
138 | </a> |
139 | </p> |
140 | }@ |
141 | </div> |
142 | }@ |
143 | @if{@isfiles@}{ |
144 | <div class=files> |
145 | <p class=files> |
146 | @label:choose.files@ |
147 | </p> |
148 | @choose{files}{ |
149 | <p class=file> |
6e261971 |
150 | @right{prefs}{<a class=imgprefs |
da68af53 |
151 | href="@url@?action=prefs&0_file=@urlquote{@resolve{@file@}@}@" |
6e261971 |
152 | ><img class=button |
21c8e53a |
153 | src="@image:edit@" |
6e261971 |
154 | title="@label:choose.prefsverbose@" |
155 | alt="@label:choose.prefs@"></a>}@ |
78efa64e |
156 | <a class=file |
da68af53 |
157 | href="@url@?action=play&file=@urlquote{@file@}@&back=@urlquote{@thisurl@}@" |
78efa64e |
158 | title="@label:choose.play@">@transform{@file@}{track}{display}@</a> |
460b9539 |
159 | @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@ |
160 | @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@ |
161 | </p> |
162 | }@ |
21c8e53a |
163 | <p class=allfiles> |
164 | @right{prefs}{<a class=imgprefs |
da68af53 |
165 | href="@url@?action=prefs&directory=@urlquote{@arg:directory@}@&back=@urlquote{@thisurl@}@" |
21c8e53a |
166 | ><img class=button |
52ca8a32 |
167 | src="@image:edit@" |
21c8e53a |
168 | title="@label:choose.allprefsverbose@" |
169 | alt="@label:choose.allprefs@"></a>}@ |
da68af53 |
170 | <a class=allfiles href="@url@?action=play&directory=@urlquote{@arg:directory@}@&back=@urlquote{@thisurl@}@"> |
21c8e53a |
171 | @label:choose.playall@ |
172 | </a> |
173 | </p> |
460b9539 |
174 | </div> |
460b9539 |
175 | }@ |
176 | |
e12da4d9 |
177 | @include{topbarend}@ |
460b9539 |
178 | </body> |
179 | </html> |
180 | @@ |
181 | <!-- |
182 | Local variables: |
183 | mode:sgml |
184 | sgml-always-quote-attributes:nil |
185 | sgml-indent-step:1 |
186 | sgml-indent-data:t |
187 | End: |
188 | --> |