--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/prefs.tmpl Sun Dec 28 12:29:23 2008 -0500
@@ -0,0 +1,53 @@
+<!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="edit_prefs.py" method="post" name="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>Submit</button>
+ </form>
+ <hr/>
+ <a href="index">Back to main page</a>
+</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
+-->