chiark / gitweb /
disobedience more robust against server restart
[disorder] / templates / recent.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004, 2005 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 2 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, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 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, write to the Free Software
18 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19 USA
20 -->
21 <html>
22  <head>
23 @include:stdhead@
24   <title>@label:recent.title@</title>
25  </head>
26  <body>
27 @include{@label{menu}@}@
28   <h1 class=title>@label:recent.title@</h1>
29
30 @#{only display the table if there is something to put in it}@
31 @if{@isrecent@}{
32   <table class=recent>
33     <tr class=headings>
34      <th class=when>@label:heading.when@</th>
35      <th class=who>@label:heading.who@</th>
36      <th class=artist>@label:heading.artist@</th>
37      <th class=album>@label:heading.album@</th>
38      <th class=title>@label:heading.title@</th>
39      <th class=length>@label:heading.length@</th>
40       <th class=button>&nbsp;</th>
41     </tr>
42     @recent{
43     <tr class=@parity@>
44      <td class=when>@when@</td>
45      <td class=who>@who@</td>
46      <td class=artist><a class=directory href="@url@?action=choose&amp;directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@">@part:artist@</a></td>
47      <td class=album><a class=directory href="@url@?action=choose&amp;directory=@urlquote{@dirname{@part:path@}@}@">@part:album@</a></td>
48      <td class=title>@part:title@</td>
49      <td class=length>@length@</td>
50      <td class=imgbutton><a class=imgbutton
51       href="@url@?action=prefs&#38;nonce=@nonce@&#38;0_file=@urlquote{@file@}@"><img
52        class=button src="@label:images.edit@"
53        title="@label:choose.prefsverbose@"
54        alt="@label:choose.prefs@"></a></td>
55     </tr>
56     }@
57   </table>
58 }@
59
60 @include{@label{menu}@end}@
61  </body>
62 </html>
63 @@
64 <!--
65 Local variables:
66 mode:sgml
67 sgml-always-quote-attributes:nil
68 sgml-indent-step:1
69 sgml-indent-data:t
70 End:
71 -->