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