chiark / gitweb /
more templates plus support code changes
[disorder] / templates / choose.tmpl
CommitLineData
460b9539 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
3225872d 4Copyright (C) 2004-2008 Richard Kettlewell
460b9539 5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with this program; if not, write to the Free Software
18Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19USA
20-->
21<html>
22 <head>
0d0253c9 23@stdhead{choose}
460b9539 24 </head>
25 <body>
0d0253c9 26@stdmenu{choose}
3225872d 27 <h1>@label:choose.title@</h1>
328248ba 28
29 @#{always have the first-letter bar, if choosealpha enabled}@
30 @if{@eq{@label:sidebar.choosewhich@}{choosealpha}@}{
31
32 <p class=choosealpha>
3225872d 33 <a title="Directories starting with 'a'"
3effdc30 34 href="@url@?action=choose&#38;regexp=^(the )?a">A</a> |
3225872d 35 <a title="Directories starting with 'b'"
3effdc30 36 href="@url@?action=choose&#38;regexp=^(the )?b">B</a> |
3225872d 37 <a title="Directories starting with 'c'"
3effdc30 38 href="@url@?action=choose&#38;regexp=^(the )?c">C</a> |
3225872d 39 <a title="Directories starting with 'd'"
3effdc30 40 href="@url@?action=choose&#38;regexp=^(the )?d">D</a> |
3225872d 41 <a title="Directories starting with 'e'"
3effdc30 42 href="@url@?action=choose&#38;regexp=^(the )?e">E</a> |
3225872d 43 <a title="Directories starting with 'f'"
3effdc30 44 href="@url@?action=choose&#38;regexp=^(the )?f">F</a> |
3225872d 45 <a title="Directories starting with 'g'"
3effdc30 46 href="@url@?action=choose&#38;regexp=^(the )?g">G</a> |
3225872d 47 <a title="Directories starting with 'h'"
3effdc30 48 href="@url@?action=choose&#38;regexp=^(the )?h">H</a> |
3225872d 49 <a title="Directories starting with 'i'"
3effdc30 50 href="@url@?action=choose&#38;regexp=^(the )?i">I</a> |
3225872d 51 <a title="Directories starting with 'j'"
3effdc30 52 href="@url@?action=choose&#38;regexp=^(the )?j">J</a> |
3225872d 53 <a title="Directories starting with 'k'"
3effdc30 54 href="@url@?action=choose&#38;regexp=^(the )?k">K</a> |
3225872d 55 <a title="Directories starting with 'l'"
3effdc30 56 href="@url@?action=choose&#38;regexp=^(the )?l">L</a> |
3225872d 57 <a title="Directories starting with 'm'"
3effdc30 58 href="@url@?action=choose&#38;regexp=^(the )?m">M</a> |
3225872d 59 <a title="Directories starting with 'n'"
3effdc30 60 href="@url@?action=choose&#38;regexp=^(the )?n">N</a> |
3225872d 61 <a title="Directories starting with 'o'"
3effdc30 62 href="@url@?action=choose&#38;regexp=^(the )?o">O</a> |
3225872d 63 <a title="Directories starting with 'p'"
3effdc30 64 href="@url@?action=choose&#38;regexp=^(the )?p">P</a> |
3225872d 65 <a title="Directories starting with 'q'"
3effdc30 66 href="@url@?action=choose&#38;regexp=^(the )?q">Q</a> |
3225872d 67 <a title="Directories starting with 'r'"
3effdc30 68 href="@url@?action=choose&#38;regexp=^(the )?r">R</a> |
3225872d 69 <a title="Directories starting with 's'"
3effdc30 70 href="@url@?action=choose&#38;regexp=^(the )?s">S</a> |
3225872d 71 <a title="Directories starting with 't'"
3effdc30 72 href="@url@?action=choose&#38;regexp=^(?!the [^t])t">T</a> |
3225872d 73 <a title="Directories starting with 'u'"
3effdc30 74 href="@url@?action=choose&#38;regexp=^(the )?u">U</a> |
3225872d 75 <a title="Directories starting with 'v'"
3effdc30 76 href="@url@?action=choose&#38;regexp=^(the )?v">V</a> |
3225872d 77 <a title="Directories starting with 'w'"
3effdc30 78 href="@url@?action=choose&#38;regexp=^(the )?w">W</a> |
3225872d 79 <a title="Directories starting with 'x'"
3effdc30 80 href="@url@?action=choose&#38;regexp=^(the )?x">X</a> |
3225872d 81 <a title="Directories starting with 'y'"
3effdc30 82 href="@url@?action=choose&#38;regexp=^(the )?y">Y</a> |
3225872d 83 <a title="Directories starting with 'z'"
3effdc30 84 href="@url@?action=choose&#38;regexp=^(the )?z">Z</a> |
3225872d 85 <a title="Directories starting with anything else"
3effdc30 86 href="@url@?action=choose&#38;regexp=^[^a-z]">*</a>
328248ba 87 </p>
88 }@
460b9539 89
90 @if{@ne{@arg:directory@}{}@}{
91 <p class=directoryname>@navigate{@arg:directory@}{/<a
da68af53 92 href="@url@?action=choose&#38;directory=@urlquote{@fullname@}@">@basename@</a>}@:</p>
460b9539 93 }@
94
95 @if{@isdirectories@}{
3225872d
RK
96 <div class=directories><div class=filesdirectories>
97 <p class=heading>
460b9539 98 @label:choose.directories@
99 </p>
100 @choose{directories}{
3225872d
RK
101 <p class=entry>
102 <a
da68af53 103 href="@url@?action=choose&#38;directory=@urlquote{@file@}@"
52ca8a32 104 title="@label:choose.directory@">
105 <img class=button
106 src="@image:directory@"
107 alt="">
460b9539 108 @transform{@file@}{dir}{display}@
109 </a>
110 </p>
111 }@
3225872d 112 </div></div>
460b9539 113 }@
114 @if{@isfiles@}{
3225872d
RK
115 <div class=files><div class=filesdirectories>
116 <p class=heading>
460b9539 117 @label:choose.files@
118 </p>
119 @choose{files}{
3225872d 120 <p class=entry>
6e261971 121 @right{prefs}{<a class=imgprefs
da68af53 122 href="@url@?action=prefs&#38;0_file=@urlquote{@resolve{@file@}@}@"
6e261971 123 ><img class=button
21c8e53a 124 src="@image:edit@"
6e261971 125 title="@label:choose.prefsverbose@"
126 alt="@label:choose.prefs@"></a>}@
3225872d 127 <a
da68af53 128 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@"
78efa64e 129 title="@label:choose.play@">@transform{@file@}{track}{display}@</a>
460b9539 130 @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@
131 @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@
132 </p>
133 }@
3225872d 134 <p class=all>
21c8e53a 135 @right{prefs}{<a class=imgprefs
da68af53 136 href="@url@?action=prefs&#38;directory=@urlquote{@arg:directory@}@&#38;back=@urlquote{@thisurl@}@"
21c8e53a 137 ><img class=button
52ca8a32 138 src="@image:edit@"
21c8e53a 139 title="@label:choose.allprefsverbose@"
140 alt="@label:choose.allprefs@"></a>}@
3225872d 141 <a class=button href="@url@?action=play&#38;directory=@urlquote{@arg:directory@}@&#38;back=@urlquote{@thisurl@}@">
21c8e53a 142 @label:choose.playall@
143 </a>
144 </p>
3225872d 145 </div></div>
460b9539 146 }@
147
0d0253c9 148@credits
460b9539 149 </body>
150</html>
0d0253c9 151@discard{
460b9539 152Local variables:
153mode:sgml
154sgml-always-quote-attributes:nil
155sgml-indent-step:1
156sgml-indent-data:t
0d0253c9
RK
157indent-tabs-mode:nil
158fill-column:79
460b9539 159End:
0d0253c9 160}@#