Changeset 2722 in products for quintagroup.seoptimizer/branches/plone4/quintagroup/seoptimizer
- Timestamp:
- Aug 4, 2010 5:31:59 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/branches/plone4/quintagroup/seoptimizer/browser/templates/seo_context_properties.pt
r2139 r2722 28 28 <div metal:fill-slot="main" 29 29 tal:define="errors python:request.get('errors', {}); 30 Iterator python:modules['Products.CMFPlone'].IndexIterator;31 tabindex python:Iterator(mainSlot=False);32 30 seo_context here/@@seo_context"><!--TODO:implement validation and errors handling--> 33 31 <h1 i18n:translate="heading_edit_seo_properties">Edit SEO Properties</h1> … … 41 39 <form name="edit_form" action="." method="post" enctype="multipart/form-data" 42 40 tal:attributes="action string:${context/absolute_url}/@@seo-context-properties" > 43 <!-- <form name="edit_form" 44 action="" 45 method="post" 46 tal:attributes="action string:${here/absolute_url}/${template/getId}">--> 41 47 42 <fieldset> 48 43 <legend i18n:domain="plone" i18n:translate="legend_item_properties"> … … 62 57 id="seo_title_override" 63 58 name="seo_title_override" 64 tabindex="" 65 tal:attributes="checked python:view.test(seo_context['has_seo_title'], 'on', None); 66 tabindex tabindex/next;" 59 tal:attributes="checked python:view.test(seo_context['has_seo_title'], 'on', None);" 67 60 /> 68 61 <label i18n:translate="label_override" for="seo_title_override"> … … 75 68 size="40" 76 69 value="" 77 tabindex="" 78 tal:attributes="value request/seo_title | seo_context/seo_title; 79 tabindex tabindex/next;" 70 tal:attributes="value request/seo_title | seo_context/seo_title;" 80 71 /> 81 72 </div> … … 90 81 id="seo_description_override" 91 82 name="seo_description_override" 92 tabindex="" 93 tal:attributes="checked python:view.test(seo_context['has_seo_description'], 'on', None); 94 tabindex tabindex/next;" 83 tal:attributes="checked python:view.test(seo_context['has_seo_description'], 'on', None);" 95 84 /> 96 85 <label i18n:translate="label_override" for="seo_description_override"> … … 103 92 rows="5" 104 93 cols="15" 105 tabindex=""106 tal:attributes="tabindex tabindex/next;"107 94 tal:content="request/seo_description | seo_context/seo_description" 108 95 /> … … 123 110 id="seo_keywords_override" 124 111 name="seo_keywords_override" 125 tabindex="" 126 tal:attributes="checked python:view.test(seo_context['has_seo_keywords'], 'on', None); 127 tabindex tabindex/next;" 112 tal:attributes="checked python:view.test(seo_context['has_seo_keywords'], 'on', None);" 128 113 /> 129 114 <label i18n:translate="label_override" for="seo_keywords_override"> … … 136 121 cols="15" 137 122 wrap="off" 138 tabindex=""139 tal:attributes="tabindex tabindex/next;"140 123 tal:define="keywords request/seo_keywords | seo_context/seo_keywords" 141 124 tal:content="python:'\n'.join(keywords)" … … 153 136 id="seo_html_comment_override" 154 137 name="seo_html_comment_override" 155 tabindex="" 156 tal:attributes="checked python:view.test(seo_context['has_html_comment'], 'on', None); 157 tabindex tabindex/next;" 138 tal:attributes="checked python:view.test(seo_context['has_html_comment'], 'on', None);" 158 139 /> 159 140 <label i18n:translate="label_override" for="seo_html_comment_override"> … … 165 146 rows="5" 166 147 cols="15" 167 tabindex=""168 tal:attributes="tabindex tabindex/next;"169 148 tal:content="request/seo_html_comment | seo_context/seo_html_comment" 170 149 /> … … 181 160 id="seo_robots_override" 182 161 name="seo_robots_override" 183 tabindex="" 184 tal:attributes="checked python:view.test(seo_context['has_seo_robots'], 'on', None); 185 tabindex tabindex/next;" 162 tal:attributes="checked python:view.test(seo_context['has_seo_robots'], 'on', None);" 186 163 /> 187 164 <label i18n:translate="label_override" for="seo_robots_override"> … … 194 171 size="25" 195 172 value="" 196 tabindex="" 197 tal:attributes="value request/seo_robots | seo_context/seo_robots; 198 tabindex tabindex/next;" 173 tal:attributes="value request/seo_robots | seo_context/seo_robots;" 199 174 /> 200 175 </div> … … 210 185 id="seo_distribution_override" 211 186 name="seo_distribution_override" 212 tabindex="" 213 tal:attributes="checked python:view.test(seo_context['has_seo_distribution'], 'on', None); 214 tabindex tabindex/next;" 187 tal:attributes="checked python:view.test(seo_context['has_seo_distribution'], 'on', None);" 215 188 /> 216 189 <label i18n:translate="label_override" for="seo_distribution_override"> … … 223 196 size="25" 224 197 value="" 225 tabindex="" 226 tal:attributes="value request/seo_distribution | seo_context/seo_distribution; 227 tabindex tabindex/next;" 198 tal:attributes="value request/seo_distribution | seo_context/seo_distribution;" 228 199 /> 229 200 </div> … … 242 213 id="seo_canonical_override" 243 214 name="seo_canonical_override" 244 tabindex="" 245 tal:attributes="checked python:view.test(seo_context['has_seo_canonical'], 'on', None); 246 tabindex tabindex/next;" 215 tal:attributes="checked python:view.test(seo_context['has_seo_canonical'], 'on', None);" 247 216 /> 248 217 <label i18n:translate="label_override" for="seo_canonical_override"> … … 256 225 size="55" 257 226 value="" 258 tabindex="" 259 tal:attributes="value request/seo_canonical | seo_context/seo_canonical; 260 tabindex tabindex/next;" 227 tal:attributes="value request/seo_canonical | seo_context/seo_canonical;" 261 228 /> 262 229 </div> … … 273 240 id="seo_custommetatags_override" 274 241 name="seo_custommetatags_override" 275 tabindex="" 276 tal:attributes="checked python:view.test(seo_context.seo_localCustomMetaTags(), 'on', None); 277 tabindex tabindex/next;" 242 tal:attributes="checked python:view.test(seo_context.seo_localCustomMetaTags(), 'on', None);" 278 243 /> 279 244 <label i18n:translate="label_override" for="seo_custommetatags_override"> … … 387 352 i18n:domain="plone"> 388 353 <input class="context" 389 tabindex=""390 354 type="submit" 391 355 name="form.button.Save" 392 356 value="Save" 393 i18n:attributes="value" 394 tal:attributes="tabindex tabindex/next;" /> 357 i18n:attributes="value" /> 395 358 <input class="standalone" 396 tabindex=""397 359 type="submit" 398 360 name="form.button.Cancel" 399 361 value="Cancel" 400 i18n:attributes="value" 401 tal:attributes="tabindex tabindex/next;" /> 362 i18n:attributes="value" /> 402 363 </div> 403 364 </fieldset>
Note: See TracChangeset
for help on using the changeset viewer.