chiark / gitweb /
DisOrder 5.0
[disorder] / templates / prefs.tmpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <!--
3 This file is part of DisOrder.
4 Copyright (C) 2004-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 3 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,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU 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, see <http://www.gnu.org/licenses/>.
18 -->
19 <html>
20  <head>
21 @stdhead{prefs}
22  </head>
23  <body>
24 @stdmenu{prefs}
25   <h1>@label{prefs.title}</h1>
26
27   <form class=prefs method=POST
28         action="@url"
29         enctype="multipart/form-data"
30         accept-charset="utf-8">
31    <input type=hidden name=parts value="artist album title">
32    <input type=hidden name=context value="display">
33    <input name=action type=hidden value=set>
34    <input name=back type=hidden value="@quote{@thisurl}">
35    @if{@eq{@arg{dir}}{}}
36       {@mprefs{0}{@arg{track}}}
37       {@tracks{@arg{dir}}
38               {@mprefs{@index}{@track}}}
39    <p>
40     @submit{@label{prefs.set}}
41    </p>
42   </form>
43
44 @credits
45  </body>
46 </html>
47 @discard{
48 Local variables:
49 mode:sgml
50 sgml-always-quote-attributes:nil
51 sgml-indent-step:1
52 sgml-indent-data:t
53 indent-tabs-mode:nil
54 fill-column:79
55 End:
56 }@#