Commit | Line | Data |
---|---|---|
460b9539 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | <!-- | |
3 | This file is part of DisOrder. | |
5aff007d | 4 | Copyright (C) 2004-2008 Richard Kettlewell |
460b9539 | 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> | |
0d0253c9 | 23 | @stdhead{prefs} |
460b9539 | 24 | </head> |
25 | <body> | |
0d0253c9 | 26 | @stdmenu{prefs} |
3225872d | 27 | <h1>@label:prefs.title@</h1> |
460b9539 | 28 | |
29 | <form class=prefs action="@url@" method=POST | |
30 | enctype="multipart/form-data" accept-charset=utf-8> | |
31 | <input type=hidden name="files" value="@nfiles@"> | |
460b9539 | 32 | <input type=hidden name=parts value="artist album title"> |
33 | @files{ | |
34 | <p class="prefs_head">Preferences for <span class="prefs_track">@arg{@index@_file}@</span></p> | |
35 | <input type=hidden name="@index@_file" value="@arg{@index@_file}@"> | |
36 | <table class=prefs> | |
3225872d | 37 | <tr class="headings"> |
460b9539 | 38 | <th class="prefs_name">@label:prefs.name@</th> |
39 | <th class="prefs_value">@label:prefs.value@</th> | |
40 | </tr> | |
41 | <tr class=even> | |
42 | <td class="prefs_name">@label:heading.title@</td> | |
99955407 | 43 | <td class="prefs_value"><input size=40 type=text name="@index@_title" value="@part{@arg{@index@_file}display}{title}{display}"></td> |
460b9539 | 44 | </tr> |
45 | <tr class=odd> | |
46 | <td class="prefs_name">@label:heading.album@</td> | |
3225872d | 47 | <td class="prefs_value"><input size=40 type=text name="@index@_album" value="@part{display}{album}{@arg{@index@_file}@}@"></td> |
460b9539 | 48 | </tr> |
49 | <tr class=even> | |
50 | <td class="prefs_name">@label:heading.artist@</td> | |
3225872d | 51 | <td class="prefs_value"><input size=40 type=text name="@index@_artist" value="@part{display}{artist}{@arg{@index@_file}@}@"></td> |
460b9539 | 52 | </tr> |
53 | <tr class=odd> | |
54 | <td class="prefs_name">@label:prefs.tags@</td> | |
3225872d | 55 | <td class="prefs_value"><input size=40 type=text name="@index@_tags" value="@pref{@arg{@index@_file}@}{tags}@"></td> |
460b9539 | 56 | </tr> |
57 | <tr class=even> | |
2d0cdf2b RK |
58 | <td class="prefs_name">@label:prefs.weight@</td> |
59 | <td class="prefs_value"><input size=40 type=text name="@index@_weight" value="@pref{@arg{@index@_file}@}{weight}@"></td> | |
60 | </tr> | |
61 | <tr class=odd> | |
460b9539 | 62 | <td class="prefs_name">@label:prefs.random@</td> |
3225872d | 63 | <td class="prefs_value"><input type=checkbox |
460b9539 | 64 | name="@index@_random" value=true |
65 | @if{@ne{@pref{@arg{@index@_file}@}{pick_at_random}@}{0}@}{ checked}{}@></td> | |
66 | </table> | |
67 | }@ | |
68 | ||
69 | <p> | |
3225872d | 70 | <button type=submit name=submit> |
460b9539 | 71 | @label:prefs.set@ |
72 | </button> | |
bf9df44a | 73 | <input name=action type=hidden value=prefs> |
460b9539 | 74 | </p> |
75 | </form> | |
76 | ||
0d0253c9 | 77 | @credits |
460b9539 | 78 | </body> |
79 | </html> | |
0d0253c9 | 80 | @discard{ |
460b9539 | 81 | Local variables: |
82 | mode:sgml | |
83 | sgml-always-quote-attributes:nil | |
84 | sgml-indent-step:1 | |
85 | sgml-indent-data:t | |
0d0253c9 RK |
86 | indent-tabs-mode:nil |
87 | fill-column:79 | |
460b9539 | 88 | End: |
0d0253c9 | 89 | }@# |