[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 | <div class="documentEditable"> |
---|
| 12 | <ul class="contentViews"> |
---|
| 13 | <li class=""> |
---|
| 14 | <a href="" |
---|
| 15 | tal:attributes="href string: prefs_gsm_overview" |
---|
| 16 | i18n:translate="label_properties">Overview</a> |
---|
| 17 | </li> |
---|
| 18 | |
---|
| 19 | <li class=""> |
---|
| 20 | <a href="" |
---|
| 21 | tal:attributes="href string:prefs_gsm_verification" |
---|
| 22 | i18n:translate="label_properties">Verification</a> |
---|
| 23 | </li> |
---|
| 24 | |
---|
| 25 | <li class="selected"> |
---|
| 26 | <a href="" |
---|
| 27 | tal:attributes="href string:${template/id}"> |
---|
| 28 | Settings</a> |
---|
| 29 | </li> |
---|
| 30 | |
---|
| 31 | <li class=""> |
---|
| 32 | <a href="" |
---|
| 33 | tal:attributes="href string: prefs_gsm_pinging" |
---|
| 34 | i18n:translate="label_logs">Pinging</a> |
---|
| 35 | </li> |
---|
| 36 | |
---|
| 37 | </ul> |
---|
| 38 | |
---|
| 39 | <div class="contentActions"> |
---|
| 40 | |
---|
| 41 | </div> |
---|
| 42 | <div class="documentContent"> |
---|
| 43 | <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> |
---|
| 44 | <a href="" |
---|
| 45 | class="link-parent" |
---|
| 46 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
| 47 | i18n:translate="label_up_to_plone_setup"> |
---|
| 48 | Up to Plone Setup |
---|
| 49 | </a> |
---|
| 50 | <form name="edit_form" |
---|
| 51 | action="." |
---|
| 52 | method="post" |
---|
| 53 | enctype="multipart/form-data" |
---|
| 54 | tal:attributes="action string:${here_url}/${template/getId}" > |
---|
| 55 | |
---|
| 56 | <fieldset tal:define="props portal/portal_properties/googlesitemap_properties; |
---|
| 57 | portal_types portal/portal_types;"> |
---|
| 58 | <legend i18n:translate="legend_plonesitemap_configuration_details"> |
---|
| 59 | Google SiteMap configuration |
---|
| 60 | </legend> |
---|
| 61 | <div class="field" |
---|
| 62 | tal:define="portalTypes props/portalTypes;"> |
---|
| 63 | <label for="portalTypes " |
---|
| 64 | i18n:translate="label_plonesitemap_metatypes_to_dig"> |
---|
| 65 | MetaTypes to dig |
---|
| 66 | </label> |
---|
| 67 | |
---|
| 68 | <div class="formHelp" |
---|
| 69 | i18n:translate="help_plonesitemap_metatypes_to_dig"> |
---|
| 70 | These meta types will be explored. |
---|
| 71 | </div> |
---|
| 72 | <select multiple="multiple" |
---|
| 73 | name="portalTypes" |
---|
| 74 | id="portalTypes" |
---|
| 75 | tal:attributes="tabindex tabindex/next;"> |
---|
| 76 | |
---|
| 77 | <tal:contenttypes repeat="type python:portal_types.listContentTypes()"> |
---|
| 78 | <option tal:define="type python:portal_types.getTypeInfo(type); |
---|
| 79 | type_name type/Title; |
---|
| 80 | portal_type type/getId" |
---|
| 81 | tal:attributes="value portal_type; |
---|
| 82 | selected python: test(portal_type in portalTypes, 'selected', None)" |
---|
| 83 | tal:content="type_name"> |
---|
| 84 | Article |
---|
| 85 | </option> |
---|
| 86 | </tal:contenttypes> |
---|
| 87 | </select> |
---|
| 88 | </div> |
---|
| 89 | |
---|
| 90 | <div class="field" |
---|
| 91 | tal:define="states props/states;"> |
---|
| 92 | <label for="states "> |
---|
| 93 | States |
---|
| 94 | </label> |
---|
| 95 | |
---|
| 96 | <div class="formHelp"> |
---|
| 97 | The objects with the given state are displayed. |
---|
| 98 | </div> |
---|
| 99 | |
---|
| 100 | <textarea name="states:lines" |
---|
| 101 | id="states" |
---|
| 102 | cols="20" |
---|
| 103 | rows="8" |
---|
| 104 | tabindex="" |
---|
| 105 | tal:attributes="tabindex tabindex/next;" |
---|
| 106 | tal:define="content python:modules['string'].join(states,'\n');" |
---|
| 107 | tal:content="content"> |
---|
| 108 | </textarea> |
---|
| 109 | </div> |
---|
| 110 | <div class="field" |
---|
| 111 | tal:define="blackout_list props/blackout_list;"> |
---|
| 112 | <label for="blackout_list "> |
---|
| 113 | Blackout entries |
---|
| 114 | </label> |
---|
| 115 | |
---|
| 116 | <div class="formHelp"> |
---|
| 117 | The objects with the given state are displayed. |
---|
| 118 | </div> |
---|
| 119 | |
---|
| 120 | <textarea name="blackout_list:lines" |
---|
| 121 | id="reg_exp" |
---|
| 122 | cols="20" |
---|
| 123 | rows="8" |
---|
| 124 | tabindex="" |
---|
| 125 | tal:attributes="tabindex tabindex/next;" |
---|
| 126 | tal:define="content python:modules['string'].join(blackout_list ,'\n');" |
---|
| 127 | tal:content="content"> |
---|
| 128 | </textarea> |
---|
| 129 | </div> |
---|
| 130 | <div class="field" |
---|
| 131 | tal:define="reg_exp props/reg_exp;"> |
---|
| 132 | <label for="reg_exp"> |
---|
| 133 | Regular Expression |
---|
| 134 | </label> |
---|
| 135 | |
---|
| 136 | <div class="formHelp"> |
---|
| 137 | Please, master regular expression in Perl syntax |
---|
| 138 | </div> |
---|
| 139 | |
---|
| 140 | <textarea name="reg_exp:lines" |
---|
| 141 | id="reg_exp" |
---|
| 142 | cols="20" |
---|
| 143 | rows="8" |
---|
| 144 | tabindex="" |
---|
| 145 | tal:attributes="tabindex tabindex/next;" |
---|
| 146 | tal:define="content python:modules['string'].join(reg_exp ,'\n');" |
---|
| 147 | tal:content="content"> |
---|
| 148 | </textarea> |
---|
| 149 | </div> |
---|
| 150 | <div class="field" |
---|
| 151 | tal:define="urls props/urls;"> |
---|
| 152 | <label for="urls"> |
---|
| 153 | Additional URLs |
---|
| 154 | </label> |
---|
| 155 | <div class="formHelp"> |
---|
| 156 | Add URLs that are not objects |
---|
| 157 | </div> |
---|
| 158 | <textarea name="urls:lines" |
---|
| 159 | id="urls" |
---|
| 160 | cols="20" |
---|
| 161 | rows="8" |
---|
| 162 | tabindex="" |
---|
| 163 | tal:attributes="tabindex tabindex/next;" |
---|
| 164 | tal:define="content python:modules['string'].join(urls ,'\n');" |
---|
| 165 | tal:content="content"> |
---|
| 166 | </textarea> |
---|
| 167 | </div> |
---|
| 168 | |
---|
| 169 | <div class="formControls" |
---|
| 170 | tal:define="process_creation request/process_creation|nothing;" |
---|
| 171 | i18n:domain="plone"> |
---|
| 172 | <input class="context" |
---|
| 173 | tabindex="" |
---|
| 174 | type="submit" |
---|
| 175 | name="form.button.Save" |
---|
| 176 | value="Save" |
---|
| 177 | i18n:attributes="value" |
---|
| 178 | tal:attributes="tabindex tabindex/next;" /> |
---|
| 179 | </div> |
---|
| 180 | </fieldset> |
---|
| 181 | <input type="hidden" name="form.submitted" value="1" /> |
---|
| 182 | </form> |
---|
| 183 | |
---|
| 184 | </div> |
---|
| 185 | </div> |
---|
| 186 | </div> |
---|
| 187 | </body> |
---|
| 188 | </html> |
---|