chiark / gitweb /
Fiddle with playing.tmpl a bit. not fully translated
[disorder] / templates / search.tmpl
CommitLineData
460b9539 1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2<!--
3This file is part of DisOrder.
5aff007d 4Copyright (C) 2003, 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>
23@include:stdhead@
24 <title>@label:search.title@</title>
25 </head>
26 <body>
e12da4d9 27@include{topbar}@
3225872d 28 <h1>@label:search.title@</h1>
460b9539 29
30 <form class=search action="@url@" method=POST
31 enctype="multipart/form-data" accept-charset=utf-8>
328248ba 32 <p class=search>Enter search terms:
460b9539 33 <input class=query name=query type=text value="@arg:query@"
328248ba 34 size=50>
bf9df44a 35 <button class=search name=submit type=submit>
460b9539 36 @label:search.search@
37 </button>
bf9df44a 38 <input name=action type=hidden value=search>
328248ba 39 </p>
460b9539 40 </form>
41
42 <div class=searchresults>
43 @search{artist}{display}{
44 <div class="search_artist">
3225872d 45 <p>Artist:
460b9539 46 <span class="search_artist">@part:artist@</span></p>
47 @search{album}{display}{
48 <div class="search_album">
3225872d 49 <p>Album:
460b9539 50 <span class="search_album">@part:album@</span></p>
51 @search{title}{
52 <div class="search_title">
3225872d 53 <p>Title:
da68af53 54 <a href="@url@?action=play&#38;file=@urlquote{@file@}@&#38;back=@urlquote{@thisurl@}@">@part:title@</a>
460b9539 55 @if{@eq{@trackstate{@file@}@}{playing}@}{[<b>playing</b>]}@
56 @if{@eq{@trackstate{@file@}@}{queued}@}{[<b>queued</b>]}@
57 </p>
58 </div>
59 }@
60 </div>
61 }@
62 </div>
63 }@
64 </div>
65
e12da4d9 66@include{topbarend}@
460b9539 67 </body>
68</html>
69@@
70<!--
71Local variables:
72mode:sgml
73sgml-always-quote-attributes:nil
74sgml-indent-step:1
75sgml-indent-data:t
76End:
77-->