fix bug with timezone dropdown selected-value
authorTero Marttila <terom@fixme.fi>
Tue, 10 Feb 2009 22:59:17 +0200
changeset 84 3c78c9c080e9
parent 83 a34e9f56ddda
child 85 0521cf830eb9
fix bug with timezone dropdown selected-value
templates/preferences.tmpl
--- a/templates/preferences.tmpl	Tue Feb 10 05:56:57 2009 +0200
+++ b/templates/preferences.tmpl	Tue Feb 10 22:59:17 2009 +0200
@@ -9,7 +9,7 @@
         <p>
             <label for="timezone">Timezone:</label>
             <select name="timezone">
-            ${h.select_options(((tz_name, tz_name) for tz_name in timezones), prefs['timezone'])}
+            ${h.select_options(((tz_name, tz_name) for tz_name in timezones), prefs['timezone'].zone)}
             </select>
             <span class="example">(${h.tz_name(prefs['timezone'])})</span>
         </p>
@@ -41,7 +41,7 @@
         <p>
             <label for="count">Lines / Page:</label>
             <input type="text" name="count" value="${prefs['count']}" />
-            <span class="example">(Blank for infinite)</span>
+<!--            <span class="example">(Blank for infinite)</span> -->
         </p>
     </fieldset>