[1] | 1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" |
---|
| 2 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
| 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
| 4 | lang="en-US" |
---|
| 5 | metal:use-macro="here/prefs_main_template/macros/master" |
---|
| 6 | i18n:domain="qPloneGoogleSitemaps"> |
---|
| 7 | <body> |
---|
| 8 | <div metal:fill-slot="prefs_configlet_main" |
---|
| 9 | tal:define="errors python:request.get('errors', {})"> |
---|
| 10 | |
---|
| 11 | <h1>Search Engine Optimizer configuration</h1> |
---|
| 12 | <a href="" |
---|
| 13 | class="link-parent" |
---|
| 14 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
| 15 | i18n:translate="label_up_to_plone_setup"> |
---|
| 16 | Up to Plone Setup |
---|
| 17 | </a> |
---|
| 18 | <div class="documentDescription"> |
---|
| 19 | You can select what content types are |
---|
| 20 | qSEOptimizer-enabled, and control if Dublin Core metatags |
---|
| 21 | are exposed in the header of content pages. |
---|
| 22 | </div> |
---|
| 23 | |
---|
| 24 | <form name="edit_form" |
---|
| 25 | action="." |
---|
| 26 | method="post" |
---|
| 27 | enctype="multipart/form-data" |
---|
| 28 | tal:attributes="action string:${here_url}/${template/getId}" > |
---|
| 29 | |
---|
| 30 | <div class="field"> |
---|
| 31 | <input type="checkbox" |
---|
| 32 | id="exposeDCMetaTags" |
---|
| 33 | name="exposeDCMetaTags" |
---|
| 34 | tal:define="exposeDCMetaTags portal/portal_properties/site_properties/exposeDCMetaTags" |
---|
| 35 | tal:attributes="checked exposeDCMetaTags"/> |
---|
| 36 | <label for="exposeDCMetaTags">Expose <abbr title="Dublin Core">DC</abbr> meta tags</label> |
---|
| 37 | <div class="formHelp" i18n:translate="description_seo_dc_metatags"> |
---|
| 38 | Controls if <abbr title="Dublin Core">DC</abbr> metatags are exposed to page |
---|
| 39 | header. They include DC.description, DC.type, |
---|
| 40 | DC.format, DC.creator and others. |
---|
| 41 | </div> |
---|
| 42 | </div> |
---|
| 43 | |
---|
| 44 | <fieldset class="portalTypes" |
---|
| 45 | tal:define="portal_types portal/portal_types; |
---|
| 46 | allTypes portal_types/listContentTypes; |
---|
| 47 | typeLists python:modules['Products.qSEOptimizer.util'].createMultiColumnList(context, allTypes, numCols=3, sort_on='title_or_id')"> |
---|
| 48 | <legend i18n:translate="label_content_type_title">Content Types</legend> |
---|
| 49 | |
---|
| 50 | <div class="formHelp" i18n:translate="description_seo_content_types"> |
---|
| 51 | Select content types that will have SEO properties |
---|
| 52 | enabled. |
---|
| 53 | </div> |
---|
| 54 | <div style="float:left; margin-right: 2em;" tal:repeat="sublist typeLists"> |
---|
| 55 | <ul class="configlets"> |
---|
| 56 | <li tal:repeat="ptypeInfo sublist"> |
---|
| 57 | <tal:type define="type python:portal_types.getTypeInfo(ptypeInfo); |
---|
| 58 | name type/getId"> |
---|
| 59 | <input type="checkbox" |
---|
| 60 | name="portalTypes:list" |
---|
| 61 | tal:attributes="id name; |
---|
| 62 | value name; |
---|
| 63 | checked python:type.getActionById('seo_properties', default=None)"/> |
---|
| 64 | <label tal:attributes="for python:type.getId()" |
---|
| 65 | tal:content="type/Title"/> |
---|
| 66 | </tal:type> |
---|
| 67 | </li> |
---|
| 68 | </ul> |
---|
| 69 | </div> |
---|
| 70 | </fieldset> |
---|
| 71 | |
---|
| 72 | <div class="formControls" |
---|
| 73 | tal:define="process_creation request/process_creation|nothing;" |
---|
| 74 | i18n:domain="plone"> |
---|
| 75 | <input class="context" |
---|
| 76 | tabindex="" |
---|
| 77 | type="submit" |
---|
| 78 | name="form.button.Save" |
---|
| 79 | value="Save" |
---|
| 80 | i18n:attributes="value" |
---|
| 81 | tal:attributes="tabindex tabindex/next;" /> |
---|
| 82 | </div> |
---|
| 83 | <input type="hidden" name="form.submitted" value="1" /> |
---|
| 84 | </form> |
---|
| 85 | </div> |
---|
| 86 | </body> |
---|
| 87 | </html> |
---|