templates/preferences.tmpl
changeset 62 e7ca94b94a4e
parent 60 759369a79527
child 71 e909bde831e7
--- a/templates/preferences.tmpl	Mon Feb 09 07:09:00 2009 +0200
+++ b/templates/preferences.tmpl	Mon Feb 09 07:15:19 2009 +0200
@@ -10,20 +10,20 @@
             <label for="timezone">Timezone:</label>
             <select name="timezone">
             % for tz_name in timezones :
-                <option${' selected="selected"' if tz_name == prefs[preferences.timezone].zone else ''}>${tz_name}</option>
+                <option${' selected="selected"' if tz_name == prefs['timezone'].zone else ''}>${tz_name}</option>
             % endfor
             </select>
         </p>
 
         <p>
             <label for="date_format">Date format:</label>
-            <input type="text" name="date_format" value="${prefs[preferences.date_format]}" />
+            <input type="text" name="date_format" value="${prefs['date_format']}" />
             <span class="example">(${h.fmt_date()})</span>
         </p>
         
         <p>
             <label for="time_format">Time format:</label>
-            <input type="text" name="time_format" value="${prefs[preferences.time_format]}" />
+            <input type="text" name="time_format" value="${prefs['time_format']}" />
             <span class="example">(${h.fmt_time()})</span>
         </p>