<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!--
This file is part of DisOrder.
-Copyright (C) 2004, 2005, 2006 Richard Kettlewell
+Copyright (C) 2004, 2005, 2006, 2008 Richard Kettlewell
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
</head>
<body>
@include{topbar}@
- <h1 class=title>@label:prefs.title@</h1>
+ <h1>@label:prefs.title@</h1>
<form class=prefs action="@url@" method=POST
enctype="multipart/form-data" accept-charset=utf-8>
<input type=hidden name="files" value="@nfiles@">
- <input type=hidden name=nonce value=@nonce@>
<input type=hidden name=parts value="artist album title">
@files{
<p class="prefs_head">Preferences for <span class="prefs_track">@arg{@index@_file}@</span></p>
<input type=hidden name="@index@_file" value="@arg{@index@_file}@">
<table class=prefs>
- <tr class="prefs_headings">
+ <tr class="headings">
<th class="prefs_name">@label:prefs.name@</th>
<th class="prefs_value">@label:prefs.value@</th>
</tr>
<tr class=even>
<td class="prefs_name">@label:heading.title@</td>
- <td class="prefs_value"><input size=40 class="prefs_value" type=text name="@index@_title" value="@part{display}{title}{@arg{@index@_file}@}@"></td>
+ <td class="prefs_value"><input size=40 type=text name="@index@_title" value="@part{display}{title}{@arg{@index@_file}@}@"></td>
</tr>
<tr class=odd>
<td class="prefs_name">@label:heading.album@</td>
- <td class="prefs_value"><input size=40 class="prefs_value" type=text name="@index@_album" value="@part{display}{album}{@arg{@index@_file}@}@"></td>
+ <td class="prefs_value"><input size=40 type=text name="@index@_album" value="@part{display}{album}{@arg{@index@_file}@}@"></td>
</tr>
<tr class=even>
<td class="prefs_name">@label:heading.artist@</td>
- <td class="prefs_value"><input size=40 class="prefs_value" type=text name="@index@_artist" value="@part{display}{artist}{@arg{@index@_file}@}@"></td>
+ <td class="prefs_value"><input size=40 type=text name="@index@_artist" value="@part{display}{artist}{@arg{@index@_file}@}@"></td>
</tr>
<tr class=odd>
<td class="prefs_name">@label:prefs.tags@</td>
- <td class="prefs_value"><input size=40 class="prefs_value" type=text name="@index@_tags" value="@pref{@arg{@index@_file}@}{tags}@"></td>
+ <td class="prefs_value"><input size=40 type=text name="@index@_tags" value="@pref{@arg{@index@_file}@}{tags}@"></td>
</tr>
<tr class=even>
<td class="prefs_name">@label:prefs.random@</td>
- <td class="prefs_value"><input class="prefs_value" type=checkbox
+ <td class="prefs_value"><input type=checkbox
name="@index@_random" value=true
@if{@ne{@pref{@arg{@index@_file}@}{pick_at_random}@}{0}@}{ checked}{}@></td>
</table>
}@
<p>
- <button class="pref_set" type=submit name=action value=prefs>
+ <button type=submit name=submit>
@label:prefs.set@
</button>
+ <input name=action type=hidden value=prefs>
</p>
</form>