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
27 <h1>@label:choose.title@</h1>
29 @if{@eq{@label{menu.choosewhich}}{choosealpha}}
32 <a title="Directories starting with 'a'"
33 href="@url?action=choose&regexp=^(the )?a">A</a> |
34 <a title="Directories starting with 'b'"
35 href="@url?action=choose&regexp=^(the )?b">B</a> |
36 <a title="Directories starting with 'c'"
37 href="@url?action=choose&regexp=^(the )?c">C</a> |
38 <a title="Directories starting with 'd'"
39 href="@url?action=choose&regexp=^(the )?d">D</a> |
40 <a title="Directories starting with 'e'"
41 href="@url?action=choose&regexp=^(the )?e">E</a> |
42 <a title="Directories starting with 'f'"
43 href="@url?action=choose&regexp=^(the )?f">F</a> |
44 <a title="Directories starting with 'g'"
45 href="@url?action=choose&regexp=^(the )?g">G</a> |
46 <a title="Directories starting with 'h'"
47 href="@url?action=choose&regexp=^(the )?h">H</a> |
48 <a title="Directories starting with 'i'"
49 href="@url?action=choose&regexp=^(the )?i">I</a> |
50 <a title="Directories starting with 'j'"
51 href="@url?action=choose&regexp=^(the )?j">J</a> |
52 <a title="Directories starting with 'k'"
53 href="@url?action=choose&regexp=^(the )?k">K</a> |
54 <a title="Directories starting with 'l'"
55 href="@url?action=choose&regexp=^(the )?l">L</a> |
56 <a title="Directories starting with 'm'"
57 href="@url?action=choose&regexp=^(the )?m">M</a> |
58 <a title="Directories starting with 'n'"
59 href="@url?action=choose&regexp=^(the )?n">N</a> |
60 <a title="Directories starting with 'o'"
61 href="@url?action=choose&regexp=^(the )?o">O</a> |
62 <a title="Directories starting with 'p'"
63 href="@url?action=choose&regexp=^(the )?p">P</a> |
64 <a title="Directories starting with 'q'"
65 href="@url?action=choose&regexp=^(the )?q">Q</a> |
66 <a title="Directories starting with 'r'"
67 href="@url?action=choose&regexp=^(the )?r">R</a> |
68 <a title="Directories starting with 's'"
69 href="@url?action=choose&regexp=^(the )?s">S</a> |
70 <a title="Directories starting with 't'"
71 href="@url?action=choose&regexp=^(?!the [^t])t">T</a> |
72 <a title="Directories starting with 'u'"
73 href="@url?action=choose&regexp=^(the )?u">U</a> |
74 <a title="Directories starting with 'v'"
75 href="@url?action=choose&regexp=^(the )?v">V</a> |
76 <a title="Directories starting with 'w'"
77 href="@url?action=choose&regexp=^(the )?w">W</a> |
78 <a title="Directories starting with 'x'"
79 href="@url?action=choose&regexp=^(the )?x">X</a> |
80 <a title="Directories starting with 'y'"
81 href="@url?action=choose&regexp=^(the )?y">Y</a> |
82 <a title="Directories starting with 'z'"
83 href="@url?action=choose&regexp=^(the )?z">Z</a> |
84 <a title="Directories starting with anything else"
85 href="@url?action=choose&regexp=^[^a-z]">*</a>
89 @# Always have a search form
93 enctype="multipart/form-data" accept-charset=utf-8>
94 <p class=search>Enter search terms:
95 <input class=query name=query type=text value="@argq{query}"
97 <button class=search name=submit type=submit>
100 <input name=action type=hidden value=search>
104 @if{@ne{@arg{query}}{}}
106 @# There's a search query
109 <th class=artist>@label{heading.artist}</th>
110 <th class=album>@label{heading.album}</th>
111 <th class=title>@label{heading.title}</th>
112 <th class=length>@label{heading.length}</th>
114 <th class=button> </th>}
116 @search{@arg{query}}{
118 <td class=artist>@martist{search}{@track}</td>
119 <td class=album>@malbum{search}{@track}</td>
120 <td class=title>@mtitle{search}{@track}</td>
121 <td class=length>@length{@id}</td>
125 href="@url?action=prefs&0_file=@urlquote{@track}">
126 <img class=button src="@image{edit}"
127 title="@label{choose.prefsverbose}"
128 alt="@label{choose.prefs}">
137 @# TODO navigation...
139 <div class=directories>
140 <div class=filesdirectories>
141 @dirs{@arg{dir}}{@arg{re}}{
143 <a href="@url?action=choose&dir=@urlquote{@track}">
144 <img class=button src="@image{directory}" alt="">
151 @define{sometracks}{template}{}
154 <div class=filesdirectories>
155 @dirs{@arg{dir}}{@arg{re}}{
157 @define{sometracks}{template}{@template}@#
160 href="@url?action=prefs&0_file=@urlquote{@resolve{@track}}">
163 title="@label:choose.prefsverbose@"
164 alt="@label:choose.prefs@">
167 <a href="@url?action=play&file=@urlquote{@track}&back=@urlquote{@thisurl}"
168 title="@label{choose.play}">
171 @if{@eq{@trackstate{@track}}{playing}}
173 @if{@eq{@trackstate{@track}}{queued}}
180 href="@url?action=prefs&dir=@urlquote{@arg{dir}}">
183 title="@label:choose.allprefsverbose@"
184 alt="@label:choose.allprefs@">
187 href="@url?action=play&dir=@urlquote{@arg{dir}}"&back=@urlquote{@thisurl}">
188 @label{choose.playall}
202 sgml-always-quote-attributes:nil