chiark / gitweb /
document search next/prev buttons
[disorder] / templates / choose.html
CommitLineData
460b9539 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
4Copyright (C) 2004, 2005 Richard Kettlewell
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>
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&#38;directory=@urlquote{@fullname@}@&#38;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&#38;directory=@urlquote{@file@}@&#38;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&#38;0_file=@urlquote{@resolve{@file@}@}@&#38;nonce=@nonce@">
460b9539 58 <img class=button src="@label:images.edit@"
59 title="@label:choose.prefsverbose@" alt="@label:choose.prefs@">
60 </a>
78efa64e
RK
61 <a class=file
62 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@&#38;nonce=@nonce@"
63 title="@label:choose.play@">@transform{@file@}{track}{display}@</a>
460b9539 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&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;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&#38;directory=@urlquote{@arg:directory@}@&#38;nonce=@nonce@&#38;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<!--
85Local variables:
86mode:sgml
87sgml-always-quote-attributes:nil
88sgml-indent-step:1
89sgml-indent-data:t
90End:
91-->