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 | props portal/portal_properties/googlesitemap_properties"> |
---|
11 | |
---|
12 | <div class="documentEditable"> |
---|
13 | <ul class="contentViews"> |
---|
14 | <li class=""> |
---|
15 | <a href="" |
---|
16 | tal:attributes="href string: prefs_gsm_overview" |
---|
17 | i18n:translate="label_properties">Overview</a> |
---|
18 | </li> |
---|
19 | |
---|
20 | <li class="selected"> |
---|
21 | <a href="" |
---|
22 | tal:attributes="href string:${template/id}" |
---|
23 | i18n:translate="label_properties">Verification</a> |
---|
24 | </li> |
---|
25 | |
---|
26 | <li class=""> |
---|
27 | <a href="" |
---|
28 | tal:attributes="href string:prefs_gsm_settings"> |
---|
29 | Settings</a> |
---|
30 | </li> |
---|
31 | |
---|
32 | <li class=""> |
---|
33 | <a href="" |
---|
34 | tal:attributes="href string: prefs_gsm_pinging" |
---|
35 | i18n:translate="label_logs">Pinging</a> |
---|
36 | </li> |
---|
37 | |
---|
38 | </ul> |
---|
39 | |
---|
40 | <div class="contentActions"> |
---|
41 | |
---|
42 | </div> |
---|
43 | <div class="documentContent"> |
---|
44 | <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> |
---|
45 | <a href="" |
---|
46 | class="link-parent" |
---|
47 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
48 | i18n:translate="label_up_to_plone_setup"> |
---|
49 | Up to Plone Setup |
---|
50 | </a> |
---|
51 | |
---|
52 | <form tal:define="file_provided props/verification_filename; |
---|
53 | step1 python:test(file_provided, 'discreet', ''); |
---|
54 | step2 python:test(not file_provided, 'discreet', '')"> |
---|
55 | <ol> |
---|
56 | <li tal:attributes="class step1"> |
---|
57 | Go to <a href="" |
---|
58 | tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en" |
---|
59 | tal:omit-tag="step1"> |
---|
60 | site verification page</a> and login if necessary. |
---|
61 | </li> |
---|
62 | <li tal:attributes="class step1">Provide verification file name: |
---|
63 | <p><input name="verify_filename" id="verify_filename" type="text" |
---|
64 | tal:attributes="value props/verification_filename; |
---|
65 | disabled step1" |
---|
66 | ></p> |
---|
67 | </li> |
---|
68 | <li tal:attributes="class step1"> |
---|
69 | <input name="form.button.CreateFile" id="create_file" type="submit" value="Create verification file" |
---|
70 | tal:attributes="disabled step1"/> |
---|
71 | <input type="hidden" name="form.submitted" value="1" /> |
---|
72 | </li> |
---|
73 | <li class="discreet" |
---|
74 | tal:attributes="class step2">Go to <a href="" |
---|
75 | tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en" |
---|
76 | tal:omit-tag="step2"> |
---|
77 | site verification page</a> and press "Check Status" button. |
---|
78 | </li> |
---|
79 | <li class="discreet" |
---|
80 | tal:attributes="class step2"><input name="form.button.DeleteFile" id="remove_file" type="submit" value="Remove verification file" |
---|
81 | tal:attributes="disabled step2; |
---|
82 | value string:Remove ${file_provided} verifivation file"/> |
---|
83 | </li> |
---|
84 | </ol> |
---|
85 | </form> |
---|
86 | </div> |
---|
87 | </div> |
---|
88 | </div> |
---|
89 | </body> |
---|
90 | </html> |
---|