prefs.tmpl
changeset 59 2c5e38748004
parent 58 004a32370ba5
child 60 dad9733c99f0
equal deleted inserted replaced
58:004a32370ba5 59:2c5e38748004
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
       
     2 <html>
       
     3   <TMPL_INCLUDE NAME="headers.tmpl">
       
     4   <body>
       
     5     <h1><TMPL_VAR remote_user>'s Preferences</h1>
       
     6     <form action="edit_prefs.py" method="post" name="prefs">
       
     7       <p><label>Display name:
       
     8         <input type="text" name="fullname"
       
     9   	       value="<TMPL_VAR remote_user>"/></label></p>
       
    10       <p><label>Default view:
       
    11         <select name="default_view" size="1">
       
    12 	  <TMPL_LOOP Views>
       
    13             <option value="<TMPL_VAR view>"
       
    14 	    	<TMPL_IF selected>selected</TMPL_IF>
       
    15 		/><TMPL_VAR name></option>
       
    16           </TMPL_LOOP></p>
       
    17       <p><label>Size of keywords selection box:
       
    18         <input type="text" name="kw_size"
       
    19 	       value="<TMPL_VAR kw_size>"/></label></p>
       
    20       <p><label>Sort keywords by:
       
    21         <select name="kw_sort" size="1">
       
    22 	  <TMPL_LOOP Sortfields>
       
    23 	    <option value="<TMPL_VAR field>"
       
    24 	      <TMPL_IF selected>selected</TMPL_IF>
       
    25 	      /><TMPL_VAR field></option>
       
    26 	  </TMPL_LOOP>
       
    27 	</select>
       
    28 	<input type="checkbox" name="kw_reverse"
       
    29 	  <TMPL_IF kw_reverse>checked</TMPL_IF>>
       
    30 	reversed</p>
       
    31 	<button>Submit</button>
       
    32     </form>
       
    33     <hr/>
       
    34     <a href="index">Back to main page</a>
       
    35 </html>
       
    36 <!-- Keep this comment at the end of the file
       
    37 Local variables:
       
    38 mode: sgml
       
    39 sgml-omittag:t
       
    40 sgml-shorttag:t
       
    41 sgml-namecase-general:t
       
    42 sgml-general-insert-case:lower
       
    43 sgml-minimize-attributes:nil
       
    44 sgml-always-quote-attributes:t
       
    45 sgml-indent-step:2
       
    46 sgml-indent-data:nil
       
    47 sgml-parent-document:nil
       
    48 sgml-exposed-tags:nil
       
    49 sgml-local-catalogs:nil
       
    50 sgml-local-ecat-files:nil
       
    51 End:
       
    52 vi: syntax=html
       
    53 -->