1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
2 | lang="en" |
---|
3 | metal:use-macro="here/main_template/macros/master" |
---|
4 | i18n:domain="qseoptimizer"> |
---|
5 | |
---|
6 | <metal:border fill-slot="top_slot"> |
---|
7 | <tal:border define="dummy python:request.set('enable_border',1)" /> |
---|
8 | </metal:border> |
---|
9 | <metal:javascript_head fill-slot="javascript_head_slot"> |
---|
10 | <script type="text/javascript" |
---|
11 | tal:condition="python:exists('portal/statistics.js')" |
---|
12 | tal:attributes="src string:$portal_url/statistics.js"> |
---|
13 | </script> |
---|
14 | </metal:javascript_head> |
---|
15 | <body> |
---|
16 | |
---|
17 | <div metal:fill-slot="main" |
---|
18 | tal:define="errors options/state/getErrors;"> |
---|
19 | |
---|
20 | <h1 i18n:translate="heading_edit_seo_properties">Edit SEO Properties</h1> |
---|
21 | |
---|
22 | <p i18n:translate="description_edit_seo_properties"> |
---|
23 | This form allows you to edit html header meta tags that ape produced by |
---|
24 | Plone CMS to incrase Search Engine visibility. The values generated by |
---|
25 | Plone are present as default values in input fields. To override default |
---|
26 | value, check corresponding checkbox and input value itself in |
---|
27 | corresponding field. |
---|
28 | </p> |
---|
29 | |
---|
30 | |
---|
31 | <form name="edit_form" |
---|
32 | action="" |
---|
33 | method="post" |
---|
34 | tal:attributes="action string:${here/getId}/${template/getId}"> |
---|
35 | |
---|
36 | <fieldset> |
---|
37 | |
---|
38 | <legend i18n:domain="plone" i18n:translate="legend_item_properties"> |
---|
39 | Item Properties |
---|
40 | </legend> |
---|
41 | |
---|
42 | <div class="field"> |
---|
43 | <label i18n:translate="label_page_title_tag" for="title"> |
---|
44 | Page Title Tag |
---|
45 | </label> |
---|
46 | |
---|
47 | <div class="formHelp" i18n:translate="help_seo_title"> |
---|
48 | Text to be present into <TITLE> tag. It is displayed in |
---|
49 | browser title bar. Search engines display it as a title of the |
---|
50 | document. |
---|
51 | </div> |
---|
52 | |
---|
53 | <input type="checkbox" |
---|
54 | id="title_override" |
---|
55 | name="title_override" |
---|
56 | tabindex="" |
---|
57 | tal:attributes="checked python:test(here.hasProperty('qSEO_title'), 'on', None); |
---|
58 | tabindex tabindex/next;" |
---|
59 | /> |
---|
60 | |
---|
61 | <label i18n:translate="label_override" for="title_override"> |
---|
62 | Override |
---|
63 | </label> |
---|
64 | |
---|
65 | <input type="text" |
---|
66 | id="seo_title" |
---|
67 | name="title" |
---|
68 | size="40" |
---|
69 | value="" |
---|
70 | tabindex="" |
---|
71 | tal:attributes="value request/title | here/qSEO_Title; |
---|
72 | tabindex tabindex/next;" |
---|
73 | /> |
---|
74 | </div> |
---|
75 | |
---|
76 | |
---|
77 | <div class="field"> |
---|
78 | <label i18n:translate="label_meta_description_tag" for="description"> |
---|
79 | Meta Description Tag |
---|
80 | </label> |
---|
81 | |
---|
82 | <div class="formHelp" i18n:translate="help_seo_description"> |
---|
83 | Description of the document to be displayed right below title |
---|
84 | in search engine results. It is indexed and considered to be |
---|
85 | more important then the page content by several SE. |
---|
86 | </div> |
---|
87 | |
---|
88 | <input type="checkbox" |
---|
89 | id="description_override" |
---|
90 | name="description_override" |
---|
91 | tabindex="" |
---|
92 | tal:attributes="checked python:test(here.hasProperty('qSEO_description'), 'on', None); |
---|
93 | tabindex tabindex/next;" |
---|
94 | /> |
---|
95 | |
---|
96 | <label i18n:translate="label_override" for="description_override"> |
---|
97 | Override |
---|
98 | </label> |
---|
99 | |
---|
100 | <textarea |
---|
101 | type="text" |
---|
102 | id="seo_description" |
---|
103 | name="description" |
---|
104 | rows="5" |
---|
105 | cols="15" |
---|
106 | tabindex="" |
---|
107 | tal:attributes="tabindex tabindex/next;" |
---|
108 | tal:content="request/description | here/qSEO_Description" |
---|
109 | ></textarea> |
---|
110 | |
---|
111 | </div> |
---|
112 | |
---|
113 | <div class="field"> |
---|
114 | <label i18n:translate="label_meta_keywords_tag" for="keywords"> |
---|
115 | Meta Keywords Tag |
---|
116 | </label> |
---|
117 | |
---|
118 | <div class="formHelp" i18n:translate="help_seo_keywords"> |
---|
119 | Keywords of the page to be indexed with. |
---|
120 | <strong>Enter each keyword in separate line, please.</strong> |
---|
121 | Though the relevance of listing meta keywords is of |
---|
122 | questionable value now it is useful to document what |
---|
123 | meta keywords you are focusing on for this page - for |
---|
124 | furture reference. |
---|
125 | </div> |
---|
126 | |
---|
127 | <input type="checkbox" |
---|
128 | id="keywords_override" |
---|
129 | name="keywords_override" |
---|
130 | tabindex="" |
---|
131 | tal:attributes="checked python:test(here.hasProperty('qSEO_keywords'), 'on', None); |
---|
132 | tabindex tabindex/next;" |
---|
133 | /> |
---|
134 | |
---|
135 | <label i18n:translate="label_override" for="keywords_override"> |
---|
136 | Override |
---|
137 | </label> |
---|
138 | |
---|
139 | <textarea |
---|
140 | id="seo_keywords" |
---|
141 | name="keywords:lines" |
---|
142 | rows="11" |
---|
143 | cols="15" |
---|
144 | wrap="off" |
---|
145 | tabindex="" |
---|
146 | tal:attributes="tabindex tabindex/next;" |
---|
147 | tal:define="keywords request/keywords | here/qSEO_Keywords" |
---|
148 | tal:content="python:'\n'.join(keywords)" |
---|
149 | ></textarea> |
---|
150 | </div> |
---|
151 | |
---|
152 | <div class="field"> |
---|
153 | <label i18n:translate="label_html_comment" for="html_commment"> |
---|
154 | HTML Comment |
---|
155 | </label> |
---|
156 | |
---|
157 | <div class="formHelp" i18n:translate="help_seo_html_comment"> |
---|
158 | Comments embedded into HTML header. |
---|
159 | </div> |
---|
160 | |
---|
161 | <input type="checkbox" |
---|
162 | id="html_comment_override" |
---|
163 | name="html_comment_override" |
---|
164 | tabindex="" |
---|
165 | tal:attributes="checked python:test(here.hasProperty('qSEO_html_comment'), 'on', None); |
---|
166 | tabindex tabindex/next;" |
---|
167 | /> |
---|
168 | |
---|
169 | <label i18n:translate="label_override" for="html_comment_override"> |
---|
170 | Override |
---|
171 | </label> |
---|
172 | |
---|
173 | <textarea |
---|
174 | id="seo_html_comment" |
---|
175 | name="html_comment" |
---|
176 | rows="5" |
---|
177 | cols="15" |
---|
178 | tabindex="" |
---|
179 | tal:attributes="tabindex tabindex/next;" |
---|
180 | tal:content="request/html_comment | here/qSEO_HTML_Comment" |
---|
181 | ></textarea> |
---|
182 | </div> |
---|
183 | |
---|
184 | <div class="field"> |
---|
185 | <label i18n:translate="label_robot_tag" for="robots"> |
---|
186 | Robot Tag |
---|
187 | </label> |
---|
188 | |
---|
189 | <div class="formHelp" i18n:translate="help_seo_robots"> |
---|
190 | Robots meta tag value. Allows or denies indefing, following |
---|
191 | links, etc. for spiders indexing your content. |
---|
192 | </div> |
---|
193 | |
---|
194 | <input type="checkbox" |
---|
195 | id="robots_override" |
---|
196 | name="robots_override" |
---|
197 | tabindex="" |
---|
198 | tal:attributes="checked python:test(here.hasProperty('qSEO_robots'), 'on', None); |
---|
199 | tabindex tabindex/next;" |
---|
200 | /> |
---|
201 | |
---|
202 | <label i18n:translate="label_override" for="robots_override"> |
---|
203 | Override |
---|
204 | </label> |
---|
205 | |
---|
206 | <input type="text" |
---|
207 | id="seo_robots" |
---|
208 | name="robots" |
---|
209 | size="25" |
---|
210 | value="" |
---|
211 | tabindex="" |
---|
212 | tal:attributes="value request/robots | here/qSEO_Robots; |
---|
213 | tabindex tabindex/next;" |
---|
214 | /> |
---|
215 | </div> |
---|
216 | |
---|
217 | <div class="field"> |
---|
218 | <label i18n:translate="label_distribution_tag" for="distribution"> |
---|
219 | Distribution Tag |
---|
220 | </label> |
---|
221 | |
---|
222 | <div class="formHelp" i18n:translate="help_seo_distribution"> |
---|
223 | Distribution meta tag to designate time and area disribution |
---|
224 | of the document. |
---|
225 | </div> |
---|
226 | |
---|
227 | <input type="checkbox" |
---|
228 | id="distribution_override" |
---|
229 | name="distribution_override" |
---|
230 | tabindex="" |
---|
231 | tal:attributes="checked python:test(here.hasProperty('qSEO_distribution'), 'on', None); |
---|
232 | tabindex tabindex/next;" |
---|
233 | /> |
---|
234 | |
---|
235 | <label i18n:translate="label_override" for="distribution_override"> |
---|
236 | Override |
---|
237 | </label> |
---|
238 | |
---|
239 | <input type="text" |
---|
240 | id="seo_distribution" |
---|
241 | name="distribution" |
---|
242 | size="25" |
---|
243 | value="" |
---|
244 | tabindex="" |
---|
245 | tal:attributes="value request/distribution | here/qSEO_Distribution; |
---|
246 | tabindex tabindex/next;" |
---|
247 | /> |
---|
248 | </div> |
---|
249 | |
---|
250 | <div class="formControls" |
---|
251 | tal:define="process_creation request/process_creation|nothing;" |
---|
252 | i18n:domain="plone"> |
---|
253 | <input class="context" |
---|
254 | tabindex="" |
---|
255 | type="submit" |
---|
256 | name="form.button.Save" |
---|
257 | value="Save" |
---|
258 | i18n:attributes="value" |
---|
259 | tal:attributes="tabindex tabindex/next;" /> |
---|
260 | |
---|
261 | <input class="standalone" |
---|
262 | tabindex="" |
---|
263 | type="submit" |
---|
264 | name="form.button.Cancel" |
---|
265 | value="Cancel" |
---|
266 | i18n:attributes="value" |
---|
267 | tal:attributes="tabindex tabindex/next;" /> |
---|
268 | </div> |
---|
269 | </fieldset> |
---|
270 | |
---|
271 | <input type="hidden" name="form.submitted" value="1" /> |
---|
272 | |
---|
273 | </form> |
---|
274 | |
---|
275 | <div metal:use-macro="here/document_byline/macros/byline"> |
---|
276 | Get the byline - contains details about author and modification date. |
---|
277 | </div> |
---|
278 | |
---|
279 | </div> |
---|
280 | |
---|
281 | </body> |
---|
282 | </html> |
---|
283 | |
---|