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