chiark / gitweb /
DisOrder 5.0
[disorder] / templates / new.tmpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004-2008 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 3 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,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU 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, see <http://www.gnu.org/licenses/>.
18 -->
19 <html>
20  <head>
21 @stdhead{new}
22  </head>
23  <body>
24 @stdmenu{new}
25   <h1>@label{new.title}</h1>
26
27 @# Only display the table if there is something to put in it
28 @if{@isnew}{
29   <table class=new>
30     <tr class=headings>
31      <th class=artist>@label{heading.artist}</th>
32      <th class=album>@label{heading.album}</th>
33      <th class=title>@label{heading.title}</th>
34      <th class=length>@label{heading.length}</th>
35 @right{prefs}{
36      <th class=button>&nbsp;</th>}
37     </tr>
38     @new{
39     <tr class=@parity>
40      <td class=artist>@martist{new}{@track}</td>
41      <td class=album>@malbum{new}{@track}</td>
42      <td class=title>@mtitleplay{new}{@track}</td>
43      <td class=length>@length{@track}</td>
44      @right{prefs}{
45      <td class=imgbutton>
46       <a class=imgbutton
47          href="@url?action=prefs&#38;track=@urlquote{@track}">
48        <img class=button src="@image{edit}"
49             title="@label{choose.prefsverbose}"
50             alt="@label{choose.prefs}">
51       </a>
52      </td>
53     </tr>}
54     }
55   </table>
56 }
57
58 @credits
59  </body>
60 </html>
61 @discard{
62 Local variables:
63 mode:sgml
64 sgml-always-quote-attributes:nil
65 sgml-indent-step:1
66 sgml-indent-data:t
67 indent-tabs-mode:nil
68 fill-column:79
69 End:
70 }@#