chiark / gitweb /
disobedience/choose-search.c: Fix segfault when search terms change.
[disorder] / templates / new.tmpl
... / ...
CommitLineData
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
4Copyright (C) 2004-2008 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 3 of the License, or
9(at your option) any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along 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{
62Local variables:
63mode:sgml
64sgml-always-quote-attributes:nil
65sgml-indent-step:1
66sgml-indent-data:t
67indent-tabs-mode:nil
68fill-column:79
69End:
70}@#