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