A lot of fix again, for folder view, bookmark editing and removal
and some error handling.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<TMPL_INCLUDE NAME="headers.tmpl">
<body>
<h1><TMPL_VAR remote_user>'s Preferences</h1>
<form action="" method="post" name="prefs">
<input type="hidden" name="action" value="prefs"/>
<p><label>Display name:
<input type="text" name="fullname"
value="<TMPL_VAR remote_user>"/></label></p>
<p><label>Default view:
<select name="default_view" size="1">
<TMPL_LOOP Views>
<option value="<TMPL_VAR view>"
<TMPL_IF selected>selected</TMPL_IF>
/><TMPL_VAR name></option>
</TMPL_LOOP></p>
<p><label>Size of keywords selection box:
<input type="text" name="kw_size"
value="<TMPL_VAR kw_size>"/></label></p>
<p><label>Sort keywords by:
<select name="kw_sort" size="1">
<TMPL_LOOP Sortfields>
<option value="<TMPL_VAR field>"
<TMPL_IF selected>selected</TMPL_IF>
/><TMPL_VAR field></option>
</TMPL_LOOP>
</select>
<input type="checkbox" name="kw_reverse"
<TMPL_IF kw_reverse>checked</TMPL_IF>>
reversed</p>
<button name="step" value="edit" type="submit">Save</button>
<button name="step" value="cancel" type="submit">Cancel</button>
</form>
<hr/>
</html>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-namecase-general:t
sgml-general-insert-case:lower
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:nil
sgml-parent-document:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vi: syntax=html
-->