chiark / gitweb /
Bring CGI docs pretty much up to date
[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     <button type=submit name=submit>
43      @label{prefs.set}
44     </button>
45    </p>
46   </form>
47
48 @credits
49  </body>
50 </html>
51 @discard{
52 Local variables:
53 mode:sgml
54 sgml-always-quote-attributes:nil
55 sgml-indent-step:1
56 sgml-indent-data:t
57 indent-tabs-mode:nil
58 fill-column:79
59 End:
60 }@#