Macroize submit buttons so we can mess with them more easily
[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 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{prefs}
24 </head>
25 <body>
26 @stdmenu{prefs}
27 <h1>@label{prefs.title}</h1>
28
29 <form class=prefs method=POST
30 action="@url"
31 enctype="multipart/form-data"
32 accept-charset="utf-8">
33 <input type=hidden name=parts value="artist album title">
34 <input type=hidden name=context value="display">
35 <input name=action type=hidden value=set>
36 <input name=back type=hidden value="@quote{@thisurl}">
37 @if{@eq{@arg{dir}}{}}
38 {@mprefs{0}{@arg{track}}}
39 {@tracks{@arg{dir}}
40 {@mprefs{@index}{@track}}}
41 <p>
42 @submit{@label{prefs.set}}
43 </p>
44 </form>
45
46 @credits
47 </body>
48 </html>
49 @discard{
50 Local variables:
51 mode:sgml
52 sgml-always-quote-attributes:nil
53 sgml-indent-step:1
54 sgml-indent-data:t
55 indent-tabs-mode:nil
56 fill-column:79
57 End:
58 }@#