chiark / gitweb /
don't include obsolete options.transform
[disorder] / templates / new.html
CommitLineData
78efa64e
RK
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
4Copyright (C) 2004, 2005, 2007 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:new.title@</title>
25 </head>
26 <body>
27@include{@label{menu}@}@
28 <h1 class=title>@label:new.title@</h1>
29
30@#{only display the table if there is something to put in it}@
31@if{@isnew@}{
32 <table class=new>
33 <tr class=headings>
34 <th class=artist>@label:heading.artist@</th>
35 <th class=album>@label:heading.album@</th>
36 <th class=title>@label:heading.title@</th>
37 <th class=length>@label:heading.length@</th>
38 <th class=button>&nbsp;</th>
39 </tr>
40 @new{
41 <tr class=@parity@>
61507e3c
RK
42 <td class=artist><a
43 title="@part{artist}@"
44 class=directory
45 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@">@part{short}{artist}@</a></td>
46 <td class=album><a
47 title="@part{album}@"
48 class=directory
49 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@part:path@}@}@">@part{short}{album}@</a></td>
78efa64e 50 <td class=title><a
61507e3c
RK
51 title="@part{title}@"
52 class=file
53 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@&#38;nonce=@nonce@">@part{short}{title}@</a></td>
78efa64e
RK
54 <td class=length>@length@</td>
55 <td class=imgbutton><a class=imgbutton
56 href="@url@?action=prefs&#38;nonce=@nonce@&#38;0_file=@urlquote{@file@}@"><img
57 class=button src="@label:images.edit@"
58 title="@label:choose.prefsverbose@"
59 alt="@label:choose.prefs@"></a></td>
60 </tr>
61 }@
62 </table>
63}@
64
65@include{@label{menu}@end}@
66 </body>
67</html>
68@@
69<!--
70Local variables:
71mode:sgml
72sgml-always-quote-attributes:nil
73sgml-indent-step:1
74sgml-indent-data:t
75End:
76-->