Commit | Line | Data |
---|---|---|
460b9539 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | <!-- | |
3 | This file is part of DisOrder. | |
3225872d | 4 | Copyright (C) 2004-2008 Richard Kettlewell |
460b9539 | 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}@ |
3225872d | 28 | <h1>@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> | |
3225872d | 34 | <a title="Directories starting with 'a'" |
3effdc30 | 35 | href="@url@?action=choose&regexp=^(the )?a">A</a> | |
3225872d | 36 | <a title="Directories starting with 'b'" |
3effdc30 | 37 | href="@url@?action=choose&regexp=^(the )?b">B</a> | |
3225872d | 38 | <a title="Directories starting with 'c'" |
3effdc30 | 39 | href="@url@?action=choose&regexp=^(the )?c">C</a> | |
3225872d | 40 | <a title="Directories starting with 'd'" |
3effdc30 | 41 | href="@url@?action=choose&regexp=^(the )?d">D</a> | |
3225872d | 42 | <a title="Directories starting with 'e'" |
3effdc30 | 43 | href="@url@?action=choose&regexp=^(the )?e">E</a> | |
3225872d | 44 | <a title="Directories starting with 'f'" |
3effdc30 | 45 | href="@url@?action=choose&regexp=^(the )?f">F</a> | |
3225872d | 46 | <a title="Directories starting with 'g'" |
3effdc30 | 47 | href="@url@?action=choose&regexp=^(the )?g">G</a> | |
3225872d | 48 | <a title="Directories starting with 'h'" |
3effdc30 | 49 | href="@url@?action=choose&regexp=^(the )?h">H</a> | |
3225872d | 50 | <a title="Directories starting with 'i'" |
3effdc30 | 51 | href="@url@?action=choose&regexp=^(the )?i">I</a> | |
3225872d | 52 | <a title="Directories starting with 'j'" |
3effdc30 | 53 | href="@url@?action=choose&regexp=^(the )?j">J</a> | |
3225872d | 54 | <a title="Directories starting with 'k'" |
3effdc30 | 55 | href="@url@?action=choose&regexp=^(the )?k">K</a> | |
3225872d | 56 | <a title="Directories starting with 'l'" |
3effdc30 | 57 | href="@url@?action=choose&regexp=^(the )?l">L</a> | |
3225872d | 58 | <a title="Directories starting with 'm'" |
3effdc30 | 59 | href="@url@?action=choose&regexp=^(the )?m">M</a> | |
3225872d | 60 | <a title="Directories starting with 'n'" |
3effdc30 | 61 | href="@url@?action=choose&regexp=^(the )?n">N</a> | |
3225872d | 62 | <a title="Directories starting with 'o'" |
3effdc30 | 63 | href="@url@?action=choose&regexp=^(the )?o">O</a> | |
3225872d | 64 | <a title="Directories starting with 'p'" |
3effdc30 | 65 | href="@url@?action=choose&regexp=^(the )?p">P</a> | |
3225872d | 66 | <a title="Directories starting with 'q'" |
3effdc30 | 67 | href="@url@?action=choose&regexp=^(the )?q">Q</a> | |
3225872d | 68 | <a title="Directories starting with 'r'" |
3effdc30 | 69 | href="@url@?action=choose&regexp=^(the )?r">R</a> | |
3225872d | 70 | <a title="Directories starting with 's'" |
3effdc30 | 71 | href="@url@?action=choose&regexp=^(the )?s">S</a> | |
3225872d | 72 | <a title="Directories starting with 't'" |
3effdc30 | 73 | href="@url@?action=choose&regexp=^(?!the [^t])t">T</a> | |
3225872d | 74 | <a title="Directories starting with 'u'" |
3effdc30 | 75 | href="@url@?action=choose&regexp=^(the )?u">U</a> | |
3225872d | 76 | <a title="Directories starting with 'v'" |
3effdc30 | 77 | href="@url@?action=choose&regexp=^(the )?v">V</a> | |
3225872d | 78 | <a title="Directories starting with 'w'" |
3effdc30 | 79 | href="@url@?action=choose&regexp=^(the )?w">W</a> | |
3225872d | 80 | <a title="Directories starting with 'x'" |
3effdc30 | 81 | href="@url@?action=choose&regexp=^(the )?x">X</a> | |
3225872d | 82 | <a title="Directories starting with 'y'" |
3effdc30 | 83 | href="@url@?action=choose&regexp=^(the )?y">Y</a> | |
3225872d | 84 | <a title="Directories starting with 'z'" |
3effdc30 | 85 | href="@url@?action=choose&regexp=^(the )?z">Z</a> | |
3225872d | 86 | <a title="Directories starting with anything else" |
3effdc30 | 87 | href="@url@?action=choose&regexp=^[^a-z]">*</a> |
328248ba | 88 | </p> |
89 | }@ | |
460b9539 | 90 | |
91 | @if{@ne{@arg:directory@}{}@}{ | |
92 | <p class=directoryname>@navigate{@arg:directory@}{/<a | |
da68af53 | 93 | href="@url@?action=choose&directory=@urlquote{@fullname@}@">@basename@</a>}@:</p> |
460b9539 | 94 | }@ |
95 | ||
96 | @if{@isdirectories@}{ | |
3225872d RK |
97 | <div class=directories><div class=filesdirectories> |
98 | <p class=heading> | |
460b9539 | 99 | @label:choose.directories@ |
100 | </p> | |
101 | @choose{directories}{ | |
3225872d RK |
102 | <p class=entry> |
103 | <a | |
da68af53 | 104 | href="@url@?action=choose&directory=@urlquote{@file@}@" |
52ca8a32 | 105 | title="@label:choose.directory@"> |
106 | <img class=button | |
107 | src="@image:directory@" | |
108 | alt=""> | |
460b9539 | 109 | @transform{@file@}{dir}{display}@ |
110 | </a> | |
111 | </p> | |
112 | }@ | |
3225872d | 113 | </div></div> |
460b9539 | 114 | }@ |
115 | @if{@isfiles@}{ | |
3225872d RK |
116 | <div class=files><div class=filesdirectories> |
117 | <p class=heading> | |
460b9539 | 118 | @label:choose.files@ |
119 | </p> | |
120 | @choose{files}{ | |
3225872d | 121 | <p class=entry> |
6e261971 | 122 | @right{prefs}{<a class=imgprefs |
da68af53 | 123 | href="@url@?action=prefs&0_file=@urlquote{@resolve{@file@}@}@" |
6e261971 | 124 | ><img class=button |
21c8e53a | 125 | src="@image:edit@" |
6e261971 | 126 | title="@label:choose.prefsverbose@" |
127 | alt="@label:choose.prefs@"></a>}@ | |
3225872d | 128 | <a |
da68af53 | 129 | href="@url@?action=play&file=@urlquote{@file@}@&back=@urlquote{@thisurl@}@" |
78efa64e | 130 | title="@label:choose.play@">@transform{@file@}{track}{display}@</a> |
460b9539 | 131 | @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@ |
132 | @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@ | |
133 | </p> | |
134 | }@ | |
3225872d | 135 | <p class=all> |
21c8e53a | 136 | @right{prefs}{<a class=imgprefs |
da68af53 | 137 | href="@url@?action=prefs&directory=@urlquote{@arg:directory@}@&back=@urlquote{@thisurl@}@" |
21c8e53a | 138 | ><img class=button |
52ca8a32 | 139 | src="@image:edit@" |
21c8e53a | 140 | title="@label:choose.allprefsverbose@" |
141 | alt="@label:choose.allprefs@"></a>}@ | |
3225872d | 142 | <a class=button href="@url@?action=play&directory=@urlquote{@arg:directory@}@&back=@urlquote{@thisurl@}@"> |
21c8e53a | 143 | @label:choose.playall@ |
144 | </a> | |
145 | </p> | |
3225872d | 146 | </div></div> |
460b9539 | 147 | }@ |
148 | ||
e12da4d9 | 149 | @include{topbarend}@ |
460b9539 | 150 | </body> |
151 | </html> | |
152 | @@ | |
153 | <!-- | |
154 | Local variables: | |
155 | mode:sgml | |
156 | sgml-always-quote-attributes:nil | |
157 | sgml-indent-step:1 | |
158 | sgml-indent-data:t | |
159 | End: | |
160 | --> |