| 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 | Overview</a> |
|---|
| 17 | </li> |
|---|
| 18 | <li class=""> |
|---|
| 19 | <a href="" |
|---|
| 20 | tal:attributes="href string:prefs_gsm_verification"> |
|---|
| 21 | Verification</a> |
|---|
| 22 | </li> |
|---|
| 23 | <li class="selected"> |
|---|
| 24 | <a href="" |
|---|
| 25 | tal:attributes="href string:${template/id}"> |
|---|
| 26 | Settings</a> |
|---|
| 27 | </li> |
|---|
| 28 | </ul> |
|---|
| 29 | <div class="contentActions"> |
|---|
| 30 | |
|---|
| 31 | </div> |
|---|
| 32 | <div class="documentContent"> |
|---|
| 33 | <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> |
|---|
| 34 | <a href="" |
|---|
| 35 | class="link-parent" |
|---|
| 36 | tal:attributes="href string: $portal_url/plone_control_panel" |
|---|
| 37 | i18n:translate="label_up_to_plone_setup"> |
|---|
| 38 | Up to Plone Setup |
|---|
| 39 | </a> |
|---|
| 40 | |
|---|
| 41 | |
|---|
| 42 | |
|---|
| 43 | <form name="edit_form" |
|---|
| 44 | action="." |
|---|
| 45 | method="post" |
|---|
| 46 | enctype="multipart/form-data" |
|---|
| 47 | tal:attributes="action string:${here_url}/${template/getId}" > |
|---|
| 48 | |
|---|
| 49 | <fieldset tal:define="view here/@@sitemap_settings; |
|---|
| 50 | sitemaps view/sitemapsDict;"> |
|---|
| 51 | <legend i18n:translate="legend_plonesitemap_configuration_details"> |
|---|
| 52 | Google SiteMaps configuration |
|---|
| 53 | </legend> |
|---|
| 54 | |
|---|
| 55 | <table class="listing" |
|---|
| 56 | summary="Sitemaps management" |
|---|
| 57 | i18n:attributes="summary summary_sitemaps_management;" |
|---|
| 58 | tal:condition="sitemaps"> |
|---|
| 59 | <thead> |
|---|
| 60 | <tr> |
|---|
| 61 | <th></th> |
|---|
| 62 | <th>Type</th> |
|---|
| 63 | <th>Edit Sitemap</th> |
|---|
| 64 | <th>Size (bytes)</th> |
|---|
| 65 | <th>Entries</th> |
|---|
| 66 | </tr> |
|---|
| 67 | </thead> |
|---|
| 68 | <tbody> |
|---|
| 69 | <tal:items tal:repeat="data sitemaps"> |
|---|
| 70 | <tr tal:define="oddrow repeat/data/odd;" |
|---|
| 71 | tal:attributes="class python:test(oddrow, 'even', 'odd')" > |
|---|
| 72 | <td> |
|---|
| 73 | <input type="checkbox" class="noborder" |
|---|
| 74 | name="smselected:list" id="#" value="#" tabindex="" |
|---|
| 75 | tal:attributes="value data/sm_id; |
|---|
| 76 | id string:cb_${data/sm_id}; |
|---|
| 77 | alt data/sm_type; |
|---|
| 78 | title data/sm_type; |
|---|
| 79 | tabindex tabindex/next;" /> |
|---|
| 80 | </td> |
|---|
| 81 | <td> |
|---|
| 82 | <strong tal:content="data/sm_type"> Sitemap type </strong> |
|---|
| 83 | </td> |
|---|
| 84 | <td> |
|---|
| 85 | <a alt="" title="" href="http://" |
|---|
| 86 | tal:attributes="href string:${data/sm_url}/edit; |
|---|
| 87 | title data/sm_id; |
|---|
| 88 | alt string:${data/sm_id}" |
|---|
| 89 | tal:content="data/sm_id">Edit default sitemap type </a> |
|---|
| 90 | </td> |
|---|
| 91 | <td tal:content="string:${data/sm_size}"> 10 000 in bytes |
|---|
| 92 | </td> |
|---|
| 93 | <td tal:content="string:${data/sm_entries}"> 50 000 items |
|---|
| 94 | </td> |
|---|
| 95 | </tr> |
|---|
| 96 | </tal:items> |
|---|
| 97 | <tr> |
|---|
| 98 | <th colspan="3"><strong>Limitations:</strong></th> |
|---|
| 99 | <th><strong>10,485,760</strong></th> |
|---|
| 100 | <th><strong>50,000</strong></th> |
|---|
| 101 | </tr> |
|---|
| 102 | </tbody> |
|---|
| 103 | </table> |
|---|
| 104 | |
|---|
| 105 | <div class="formControls" |
|---|
| 106 | tal:define="process_creation request/process_creation|nothing;" |
|---|
| 107 | i18n:domain="plone"> |
|---|
| 108 | <input class="context" |
|---|
| 109 | tabindex="" |
|---|
| 110 | type="submit" |
|---|
| 111 | name="form.button.AddContent" |
|---|
| 112 | value="Add Content Sitemap" |
|---|
| 113 | i18n:attributes="value" |
|---|
| 114 | tal:condition="not:view/hasContentSM" |
|---|
| 115 | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 116 | <input class="context" |
|---|
| 117 | tabindex="" |
|---|
| 118 | type="submit" |
|---|
| 119 | name="form.button.AddMobile" |
|---|
| 120 | value="Add Mobile Sitemap" |
|---|
| 121 | i18n:attributes="value" |
|---|
| 122 | tal:condition="not:view/hasMobileSM" |
|---|
| 123 | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 124 | <input class="context" |
|---|
| 125 | tabindex="" |
|---|
| 126 | type="submit" |
|---|
| 127 | name="form.button.AddNews" |
|---|
| 128 | value="Add News Sitemap" |
|---|
| 129 | i18n:attributes="value" |
|---|
| 130 | tal:condition="not:view/hasNewsSM" |
|---|
| 131 | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 132 | <tal:block condition="sitemaps"> |
|---|
| 133 | <input class="context" |
|---|
| 134 | tabindex="" |
|---|
| 135 | type="submit" |
|---|
| 136 | name="form.button.Delete" |
|---|
| 137 | value="Delete" |
|---|
| 138 | i18n:attributes="value" |
|---|
| 139 | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 140 | <input class="context" |
|---|
| 141 | tabindex="" |
|---|
| 142 | type="submit" |
|---|
| 143 | name="form.button.Ping" |
|---|
| 144 | value="Ping" |
|---|
| 145 | i18n:attributes="value" |
|---|
| 146 | tal:attributes="tabindex tabindex/next;" /> |
|---|
| 147 | </tal:block> |
|---|
| 148 | </div> |
|---|
| 149 | |
|---|
| 150 | <tal:block condition="sitemaps"> |
|---|
| 151 | <p><strong>Note</strong>: Ping button allows you to make additional ping (apart from automatic one).</p> |
|---|
| 152 | </tal:block> |
|---|
| 153 | |
|---|
| 154 | </fieldset> |
|---|
| 155 | <input type="hidden" name="form.submitted" value="1" /> |
|---|
| 156 | </form> |
|---|
| 157 | </div> |
|---|
| 158 | </div> |
|---|
| 159 | </div> |
|---|
| 160 | </body> |
|---|
| 161 | </html> |
|---|