cgi: remove obsolete 'columns' option.
[disorder] / templates / recent.tmpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004, 2005, 2007, 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{recent}
22 </head>
23 <body>
24 @stdmenu{recent}
25 <h1>@label{recent.title}</h1>
26
27 @# Only display the table if there is something to put in it
28 @if{@isrecent}{
29 <table class=recent>
30 <tr class=headings>
31 <th class=when>@label{heading.when}</th>
32 <th class=who>@label{heading.who}</th>
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>
37 @right{prefs}{<th class=button>&nbsp;</th>}
38 </tr>
39 @recent{
40 <tr class=@parity>
41 <td class=when>@mwhen{recent}{@id}</td>
42 <td class=who>@mwho{recent}{@id}</td>
43 <td class=artist>@martist{recent}{@track}</td>
44 <td class=album>@malbum{recent}{@track}</td>
45 <td class=title>@mtitle{recent}{@track}</td>
46 <td class=length>@length{@id}</td>
47 @right{prefs}{
48 <td class=imgbutton>
49 <a class=imgbutton
50 href="@url?action=prefs&#38;track=@urlquote{@track}">
51 <img class=button src="@image{edit}"
52 title="@label{choose.prefsverbose}"
53 alt="@label{choose.prefs}">
54 </a>
55 </td>
56 </tr>}
57 }
58 </table>
59 }
60
61 @credits
62 </body>
63 </html>
64 @discard{
65 Local variables:
66 mode:sgml
67 sgml-always-quote-attributes:nil
68 sgml-indent-step:1
69 sgml-indent-data:t
70 indent-tabs-mode:nil
71 fill-column:79
72 End:
73 }@#