chiark / gitweb /
more templates plus support code changes
[disorder] / templates / new.tmpl
CommitLineData
78efa64e
RK
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
8f9616f1 4Copyright (C) 2004-2008 Richard Kettlewell
78efa64e
RK
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{new}
78efa64e
RK
24 </head>
25 <body>
0d0253c9 26@stdmenu{new}
3225872d 27 <h1>@label:new.title@</h1>
78efa64e
RK
28
29@#{only display the table if there is something to put in it}@
30@if{@isnew@}{
31 <table class=new>
32 <tr class=headings>
33 <th class=artist>@label:heading.artist@</th>
34 <th class=album>@label:heading.album@</th>
35 <th class=title>@label:heading.title@</th>
36 <th class=length>@label:heading.length@</th>
d7ce365e 37@right{prefs}{
38 <th class=button>&nbsp;</th>}@
78efa64e
RK
39 </tr>
40 @new{
41 <tr class=@parity@>
a31780f6 42 <td class=artist>@right{play}{<a class=directory
61507e3c 43 title="@part{artist}@"
a31780f6 44 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@"
45 >@part{short}{artist}@</a>}{<span class=directory
46 title="@part{artist}@"
47 >@part{short}{artist}@</span>}@</td>
48 <td class=album>@right{play}{<a class=directory
49 title="@part{album}@"
50 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@part:path@}@}@"
51 >@part{short}{album}@</a>}{<span class=directory
61507e3c 52 title="@part{album}@"
a31780f6 53 >@part{short}{album}@</span>}@</td>
54 <td class=title>@right{play}{<a class=file
55 title="@part{title}@"
da68af53 56 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@"
a31780f6 57 >@part{short}{title}@</a>}{<span class=file
61507e3c 58 title="@part{title}@"
a31780f6 59 >@part{short}{title}@</span>}@</td>
78efa64e 60 <td class=length>@length@</td>
d7ce365e 61@right{prefs}{
78efa64e 62 <td class=imgbutton><a class=imgbutton
da68af53 63 href="@url@?action=prefs&#38;0_file=@urlquote{@file@}@"><img
8f9616f1 64 class=button src="@image:edit@"
78efa64e
RK
65 title="@label:choose.prefsverbose@"
66 alt="@label:choose.prefs@"></a></td>
d7ce365e 67 </tr>}@
78efa64e
RK
68 }@
69 </table>
70}@
71
0d0253c9 72@credits
78efa64e
RK
73 </body>
74</html>
0d0253c9 75@discard{
78efa64e
RK
76Local variables:
77mode:sgml
78sgml-always-quote-attributes:nil
79sgml-indent-step:1
80sgml-indent-data:t
0d0253c9
RK
81indent-tabs-mode:nil
82fill-column:79
78efa64e 83End:
0d0253c9 84}@#