exp_search, fold search into choose, not really finished
[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 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 @stdhead{recent}
24 </head>
25 <body>
26 @stdmenu{recent}
27 <h1>@label:recent.title@</h1>
28
29 @#{only display the table if there is something to put in it}@
30 @if{@isrecent@}{
31 <table class=recent>
32 <tr class=headings>
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}{
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>@right{play}{<a class=directory
47 title="@part{artist}@"
48 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@dirname{@part:path@}@}@}@"
49 >@part{short}{artist}@</a>}{<span class=directory
50 title="@part{artist}@"
51 >@part{short}{artist}@</span>}@</td>
52 <td class=album>@right{play}{<a class=directory
53 title="@part{album}@"
54 href="@url@?action=choose&amp;directory=@urlquote{@dirname{@part:path@}@}@"
55 >@part{short}{album}@</a>}{<span class=directory
56 title="@part{album}@"
57 >@part{short}{album}@</span>}@</td>
58 <td class=title><span
59 title="@part{title}@">@part{short}{title}@</span></td>
60 <td class=length>@length@</td>
61 @right{prefs}{
62 <td class=imgbutton><a class=imgbutton
63 href="@url@?action=prefs&#38;0_file=@urlquote{@file@}@"><img
64 class=button src="@image:edit@"
65 title="@label:choose.prefsverbose@"
66 alt="@label:choose.prefs@"></a></td>
67 </tr>}@
68 }@
69 </table>
70 }@
71
72 @credits
73 </body>
74 </html>
75 @discard{
76 Local variables:
77 mode:sgml
78 sgml-always-quote-attributes:nil
79 sgml-indent-step:1
80 sgml-indent-data:t
81 indent-tabs-mode:nil
82 fill-column:79
83 End:
84 }@#