Changeset 1084 for trunk/templates
- Timestamp:
- 06/16/07 22:33:16 (18 months ago)
- Files:
-
- 1 modified
-
trunk/templates/preferences.tt (modified) (15 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/preferences.tt
r1053 r1084 14 14 15 15 <p> 16 [% IF pre view_above_edit_box %]16 [% IF prefs.preview_above_edit_box %] 17 17 <input type="checkbox" id="preview_above" name="preview_above_edit_box" value="1" checked /> 18 18 [% ELSE %] … … 23 23 24 24 <p> 25 [% IF include_geocache_link %]25 [% IF prefs.include_geocache_link %] 26 26 <input type="checkbox" id="geocache" name="include_geocache_link" value="1" checked /> 27 27 [% ELSE %] … … 32 32 33 33 <p> 34 [% IF latlong_traditional %]34 [% IF prefs.latlong_traditional %] 35 35 <input type="checkbox" id="latlong" name="latlong_traditional" value="1" checked /> 36 36 [% ELSE %] … … 41 41 42 42 <p> 43 [% IF omit_help_links %]43 [% IF prefs.omit_help_links %] 44 44 <input type="checkbox" id="omit_help" name="omit_help_links" value="1" checked /> 45 45 [% ELSE %] … … 50 50 51 51 <p> 52 [% IF show_minor_edits_in_rc %]52 [% IF prefs.show_minor_edits_in_rc %] 53 53 <input type="checkbox" id="show_minor" name="show_minor_edits_in_rc" value="1" checked /> 54 54 [% ELSE %] … … 59 59 60 60 <p> 61 [% IF track_recent_changes_views %]61 [% IF prefs.track_recent_changes_views %] 62 62 <input type="checkbox" id="track_recent_changes_views" name="track_recent_changes_views" value="1" checked="1" /> 63 63 [% ELSE %] … … 69 69 [% IF gmaps_api_key AND config.show_gmap_in_node_display %] 70 70 <p> 71 [% IF display_google_maps %]71 [% IF prefs.display_google_maps %] 72 72 <input type="checkbox" id="display_google_maps" name="display_google_maps" value="1" checked="1" /> 73 73 [% ELSE %] … … 81 81 <label for="default_edit_type">Default edit type:</label> 82 82 <select name="default_edit_type" id="default_edit_type"> 83 [% IF default_edit_type == 'normal' %]83 [% IF prefs.default_edit_type == 'normal' %] 84 84 <option value="normal" selected="1">Normal edit</option> 85 85 <option value="tidying">Minor tidying</option> … … 94 94 <label for="cookie_expires">Preferences expire:</label> 95 95 <select name="cookie_expires" id="cookie_expires"> 96 [% IF cookie_expires == 'never' %]96 [% IF prefs.cookie_expires == 'never' %] 97 97 <option value="month">in one month</option> 98 98 <option value="year">in one year</option> 99 99 <option value="never" selected="1">never</option> 100 [% ELSIF cookie_expires == "year" %]100 [% ELSIF prefs.cookie_expires == "year" %] 101 101 <option value="month">in one month</option> 102 102 <option value="year" selected="1">in one year</option> … … 121 121 122 122 <p>Preview area shown 123 [% IF pre view_above_edit_box %]123 [% IF prefs.preview_above_edit_box %] 124 124 above 125 125 [% ELSE %] … … 133 133 134 134 <p>Latitude and longitude displayed as 135 [% IF latlong_traditional %]135 [% IF prefs.latlong_traditional %] 136 136 degrees and minutes. 137 137 [% ELSE %] … … 141 141 142 142 <p>Help links will 143 [% IF omit_help_links %] not [% END %]143 [% IF prefs.omit_help_links %] not [% END %] 144 144 be included in navbar. 145 145 </p> … … 153 153 be tracked.</p> 154 154 155 [% IF gmaps_api_key AND config.show_gmap_in_node_display %]155 [% IF prefs.gmaps_api_key AND config.show_gmap_in_node_display %] 156 156 <p>Google Maps will 157 157 [% UNLESS display_google_maps %] not [% END %] … … 160 160 161 161 <p>Default edit type set to 162 [% IF default_edit_type == 'normal' %]162 [% IF prefs.default_edit_type == 'normal' %] 163 163 “Normal edit”. 164 164 [% ELSE %] … … 168 168 169 169 <p>Your preferences will 170 [% IF cookie_expires == 'never' %]170 [% IF prefs.cookie_expires == 'never' %] 171 171 never expire. 172 [% ELSIF cookie_expires == 'year' %]172 [% ELSIF prefs.cookie_expires == 'year' %] 173 173 expire in one year. 174 174 [% ELSE %]
