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> |
27 | @include{@label{menu}@}@ |
28 | <h1 class=title>@label:choose.title@</h1> |
29 | |
30 | @if{@ne{@arg:directory@}{}@}{ |
31 | <p class=directoryname>@navigate{@arg:directory@}{/<a |
32 | class=directory |
b415c101 |
33 | href="@url@?action=choose&directory=@urlquote{@fullname@}@&nonce=@nonce@">@basename@</a>}@:</p> |
460b9539 |
34 | }@ |
35 | |
36 | @if{@isdirectories@}{ |
37 | <div class=directories> |
38 | <p class=directories> |
39 | @label:choose.directories@ |
40 | </p> |
41 | @choose{directories}{ |
42 | <p class=directory> |
b415c101 |
43 | <a class=directory href="@url@?action=choose&directory=@urlquote{@file@}@&nonce=@nonce@"> |
460b9539 |
44 | @transform{@file@}{dir}{display}@ |
45 | </a> |
46 | </p> |
47 | }@ |
48 | </div> |
49 | }@ |
50 | @if{@isfiles@}{ |
51 | <div class=files> |
52 | <p class=files> |
53 | @label:choose.files@ |
54 | </p> |
55 | @choose{files}{ |
56 | <p class=file> |
b415c101 |
57 | <a class=imgprefs href="@url@?action=prefs&0_file=@urlquote{@resolve{@file@}@}@&nonce=@nonce@"> |
460b9539 |
58 | <img class=button src="@label:images.edit@" |
59 | title="@label:choose.prefsverbose@" alt="@label:choose.prefs@"> |
60 | </a> |
b415c101 |
61 | <a class=file href="@url@?action=play&file=@urlquote{@file@}@&back=@urlquote{@thisurl@}@&nonce=@nonce@"> |
460b9539 |
62 | @transform{@file@}{track}{display}@ |
63 | </a> |
64 | @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@ |
65 | @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@ |
66 | </p> |
67 | }@ |
68 | </div> |
69 | <p class=allfiles> |
b415c101 |
70 | <a class=imgprefs href="@url@?action=prefs&directory=@urlquote{@arg:directory@}@&nonce=@nonce@&back=@urlquote{@thisurl@}@"> |
460b9539 |
71 | <img class=button src="@label:images.edit@" |
72 | title="@label:choose.allprefsverbose@" alt="@label:choose.allprefs@"> |
73 | </a> |
b415c101 |
74 | <a class=allfiles href="@url@?action=play&directory=@urlquote{@arg:directory@}@&nonce=@nonce@&back=@urlquote{@thisurl@}@"> |
460b9539 |
75 | @label:choose.playall@ |
76 | </a> |
77 | </p> |
78 | }@ |
79 | |
80 | @include{@label{menu}@end}@ |
81 | </body> |
82 | </html> |
83 | @@ |
84 | <!-- |
85 | Local variables: |
86 | mode:sgml |
87 | sgml-always-quote-attributes:nil |
88 | sgml-indent-step:1 |
89 | sgml-indent-data:t |
90 | End: |
91 | --> |