source: products/qSEOptimizer/tags/0.3.2rc2/skins/qSEOptimizer/qseo_properties_edit_form.cpt @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

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