chiark / gitweb /
Fiddle with playing.tmpl a bit. not fully translated
[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>
23@include:stdhead@
24 <title>@label:new.title@</title>
25 </head>
26 <body>
e12da4d9 27@include{topbar}@
3225872d 28 <h1>@label:new.title@</h1>
78efa64e
RK
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>
d7ce365e 38@right{prefs}{
39 <th class=button>&nbsp;</th>}@
78efa64e
RK
40 </tr>
41 @new{
42 <tr class=@parity@>
a31780f6 43 <td class=artist>@right{play}{<a class=directory
61507e3c 44 title="@part{artist}@"
a31780f6 45 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@"
46 >@part{short}{artist}@</a>}{<span class=directory
47 title="@part{artist}@"
48 >@part{short}{artist}@</span>}@</td>
49 <td class=album>@right{play}{<a class=directory
50 title="@part{album}@"
51 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@part:path@}@}@"
52 >@part{short}{album}@</a>}{<span class=directory
61507e3c 53 title="@part{album}@"
a31780f6 54 >@part{short}{album}@</span>}@</td>
55 <td class=title>@right{play}{<a class=file
56 title="@part{title}@"
da68af53 57 href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@"
a31780f6 58 >@part{short}{title}@</a>}{<span class=file
61507e3c 59 title="@part{title}@"
a31780f6 60 >@part{short}{title}@</span>}@</td>
78efa64e 61 <td class=length>@length@</td>
d7ce365e 62@right{prefs}{
78efa64e 63 <td class=imgbutton><a class=imgbutton
da68af53 64 href="@url@?action=prefs&#38;0_file=@urlquote{@file@}@"><img
8f9616f1 65 class=button src="@image:edit@"
78efa64e
RK
66 title="@label:choose.prefsverbose@"
67 alt="@label:choose.prefs@"></a></td>
d7ce365e 68 </tr>}@
78efa64e
RK
69 }@
70 </table>
71}@
72
e12da4d9 73@include{topbarend}@
78efa64e
RK
74 </body>
75</html>
76@@
77<!--
78Local variables:
79mode:sgml
80sgml-always-quote-attributes:nil
81sgml-indent-step:1
82sgml-indent-data:t
83End:
84-->