chiark / gitweb /
disorderfm preserves permissions now
[disorder] / templates / recent.tmpl
... / ...
CommitLineData
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
4Copyright (C) 2004, 2005, 2007, 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{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{
65Local variables:
66mode:sgml
67sgml-always-quote-attributes:nil
68sgml-indent-step:1
69sgml-indent-data:t
70indent-tabs-mode:nil
71fill-column:79
72End:
73}@#