templates/preferences.tmpl
changeset 62 e7ca94b94a4e
parent 60 759369a79527
child 71 e909bde831e7
equal deleted inserted replaced
61:d4b2b2fa9fc5 62:e7ca94b94a4e
     8         
     8         
     9         <p>
     9         <p>
    10             <label for="timezone">Timezone:</label>
    10             <label for="timezone">Timezone:</label>
    11             <select name="timezone">
    11             <select name="timezone">
    12             % for tz_name in timezones :
    12             % for tz_name in timezones :
    13                 <option${' selected="selected"' if tz_name == prefs[preferences.timezone].zone else ''}>${tz_name}</option>
    13                 <option${' selected="selected"' if tz_name == prefs['timezone'].zone else ''}>${tz_name}</option>
    14             % endfor
    14             % endfor
    15             </select>
    15             </select>
    16         </p>
    16         </p>
    17 
    17 
    18         <p>
    18         <p>
    19             <label for="date_format">Date format:</label>
    19             <label for="date_format">Date format:</label>
    20             <input type="text" name="date_format" value="${prefs[preferences.date_format]}" />
    20             <input type="text" name="date_format" value="${prefs['date_format']}" />
    21             <span class="example">(${h.fmt_date()})</span>
    21             <span class="example">(${h.fmt_date()})</span>
    22         </p>
    22         </p>
    23         
    23         
    24         <p>
    24         <p>
    25             <label for="time_format">Time format:</label>
    25             <label for="time_format">Time format:</label>
    26             <input type="text" name="time_format" value="${prefs[preferences.time_format]}" />
    26             <input type="text" name="time_format" value="${prefs['time_format']}" />
    27             <span class="example">(${h.fmt_time()})</span>
    27             <span class="example">(${h.fmt_time()})</span>
    28         </p>
    28         </p>
    29 
    29 
    30     </fieldset>
    30     </fieldset>
    31 
    31