Changeset 728 in products
- Timestamp:
- Jan 5, 2007 3:47:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneGoogleSitemaps/trunk/skins/qPloneGoogleSitemaps/prefs_gsm_settings.cpt
r51 r728 26 26 Settings</a> 27 27 </li> 28 <li class="">29 <a href=""30 tal:attributes="href string: prefs_gsm_pinging">31 Pinging</a>32 </li>33 28 </ul> 34 29 <div class="contentActions"> … … 43 38 Up to Plone Setup 44 39 </a> 40 41 42 45 43 <form name="edit_form" 46 44 action="." … … 49 47 tal:attributes="action string:${here_url}/${template/getId}" > 50 48 51 <fieldset tal:define=" props portal/portal_properties/googlesitemap_properties;52 portal_types portal/portal_types;">49 <fieldset tal:define="view here/@@sitemap_settings; 50 sitemaps view/sitemapsDict;"> 53 51 <legend i18n:translate="legend_plonesitemap_configuration_details"> 54 Google SiteMap configuration52 Google SiteMaps configuration 55 53 </legend> 56 <div class="field" 57 tal:define="portalTypes props/portalTypes;"> 58 <label for="portalTypes "> 59 Define the types 60 </label> 61 <div class="formHelp"> 62 Define the types to be included in sitemap. 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> 63 148 </div> 64 149 65 <select multiple="multiple" 66 name="portalTypes" 67 id="portalTypes" 68 tal:attributes="tabindex tabindex/next;"> 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> 69 153 70 <tal:contenttypes repeat="type python:portal_types.listContentTypes()">71 <option tal:define="type python:portal_types.getTypeInfo(type);72 type_name type/Title;73 portal_type type/getId"74 tal:attributes="value portal_type;75 selected python: test(portal_type in portalTypes, 'selected', None)"76 tal:content="type_name">77 Article78 </option>79 </tal:contenttypes>80 </select>81 </div>82 83 <div class="field"84 tal:define="states props/states;">85 <label for="states ">86 Review status87 </label>88 89 <div class="formHelp">90 You may include items in sitemap depend of their review state.91 </div>92 93 <textarea name="states:lines"94 id="states"95 cols="20"96 rows="8"97 tabindex=""98 tal:attributes="tabindex tabindex/next;"99 tal:define="content python:modules['string'].join(states,'\n');"100 tal:content="content">101 </textarea>102 </div>103 <div class="field"104 tal:define="blackout_list props/blackout_list;">105 <label for="blackout_list ">106 Blackout entries107 </label>108 <div class="formHelp">109 The objects with the given ids will not be included in sitemap.110 </div>111 <textarea name="blackout_list:lines"112 id="reg_exp"113 cols="20"114 rows="8"115 tabindex=""116 tal:attributes="tabindex tabindex/next;"117 tal:define="content python:modules['string'].join(blackout_list ,'\n');"118 tal:content="content">119 </textarea>120 </div>121 <div class="field"122 tal:define="reg_exp props/reg_exp;">123 <label for="reg_exp">124 URL processing Regular Expressions125 </label>126 <div class="formHelp">127 Provide regular expressions (in Perl syntax), one per line to be applied to URLs before including them into Sitemap. For instance, "s/\/index_html//" will remove /index_html from URLs representing default documents.128 </div>129 130 <textarea name="reg_exp:lines"131 id="reg_exp"132 cols="20"133 rows="8"134 tabindex=""135 tal:attributes="tabindex tabindex/next;"136 tal:define="content python:modules['string'].join(reg_exp ,'\n');"137 tal:content="content">138 </textarea>139 </div>140 <div class="field"141 tal:define="urls props/urls;">142 <label for="urls"> Additional URLs143 </label>144 <div class="formHelp">145 Define additional URLs that are not objects and that should be included in sitemap.146 </div>147 <textarea name="urls:lines"148 id="urls"149 cols="20"150 rows="8"151 tabindex=""152 tal:attributes="tabindex tabindex/next;"153 tal:define="content python:modules['string'].join(urls ,'\n');"154 tal:content="content">155 </textarea>156 </div>157 158 <div class="formControls"159 tal:define="process_creation request/process_creation|nothing;"160 i18n:domain="plone">161 <input class="context"162 tabindex=""163 type="submit"164 name="form.button.Save"165 value="Save"166 i18n:attributes="value"167 tal:attributes="tabindex tabindex/next;" />168 </div>169 154 </fieldset> 170 155 <input type="hidden" name="form.submitted" value="1" />
Note: See TracChangeset
for help on using the changeset viewer.