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 | view here/@@sitemap_settings; |
---|
11 | here_url context/@@plone_context_state/object_url; |
---|
12 | portal context/@@plone_portal_state/portal; |
---|
13 | template_id template/getId;"> |
---|
14 | |
---|
15 | <div class="documentEditable"> |
---|
16 | <ul class="contentViews"> |
---|
17 | <li class=""> |
---|
18 | <a href="" |
---|
19 | tal:attributes="href string: prefs_gsm_overview" |
---|
20 | i18n:translate="label_properties">Overview</a> |
---|
21 | </li> |
---|
22 | |
---|
23 | <li class="selected"> |
---|
24 | <a href="" |
---|
25 | tal:attributes="href string:${template/id}" |
---|
26 | i18n:translate="label_properties">Verification</a> |
---|
27 | </li> |
---|
28 | |
---|
29 | <li class=""> |
---|
30 | <a href="" |
---|
31 | tal:attributes="href string:prefs_gsm_settings"> |
---|
32 | Settings</a> |
---|
33 | </li> |
---|
34 | |
---|
35 | </ul> |
---|
36 | |
---|
37 | <div class="contentActions"> |
---|
38 | |
---|
39 | </div> |
---|
40 | <div class="documentContent"> |
---|
41 | <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1> |
---|
42 | <a href="" |
---|
43 | class="link-parent" |
---|
44 | tal:attributes="href string: $portal_url/plone_control_panel" |
---|
45 | i18n:translate="label_up_to_plone_setup"> |
---|
46 | Up to Plone Setup |
---|
47 | </a> |
---|
48 | |
---|
49 | <form action="manage_addFile" method="post" enctype="multipart/form-data" |
---|
50 | tal:define="vfiles view/getVerificationFiles; |
---|
51 | step1 python:test(vfiles, 'discreet', ''); |
---|
52 | step2 python:test(not vfiles, 'discreet', '')" |
---|
53 | tal:attributes="action string:$here_url/$template_id"> |
---|
54 | <ol> |
---|
55 | <li tal:attributes="class step1"> |
---|
56 | Go to <a href="" |
---|
57 | tal:attributes="href string: https://www.google.com/webmasters/verification/verification?siteUrl=${portal/absolute_url}&hl=en" |
---|
58 | tal:omit-tag="step1"> |
---|
59 | site verification page</a> and login if necessary. If <strong>Verification status</strong> is <i>Not Verified</i>, from <strong>Verification method</strong> selection box choose <i>Upload an HTML file</i> and download generated file to you system. |
---|
60 | </li> |
---|
61 | <li tal:attributes="class step1">Select verification file: |
---|
62 | <p><input name="verification_file" id="verify_filename" type="file"></p> |
---|
63 | </li> |
---|
64 | <li tal:attributes="class step1"> |
---|
65 | <input name="form.button.CreateFile" id="create_file" type="submit" value="Upload verification file to the site"/> |
---|
66 | <input type="hidden" name="form.submitted" value="1" /> |
---|
67 | </li> |
---|
68 | <li class="discreet" |
---|
69 | tal:attributes="class step2">Go to <a href="" |
---|
70 | tal:attributes="href string: https://www.google.com/webmasters/verification/verification?siteUrl=${portal/absolute_url}&hl=en" |
---|
71 | tal:omit-tag="step2"> |
---|
72 | site verification page</a> and press "Check Status" button. |
---|
73 | </li> |
---|
74 | <li class="discreet" |
---|
75 | tal:attributes="class step2" |
---|
76 | tal:condition="vfiles"> |
---|
77 | <strong>Existent verification files:</strong> |
---|
78 | <ul><li tal:repeat="vf vfiles" |
---|
79 | tal:content="vf">verification file id |
---|
80 | </li></ul> |
---|
81 | </li> |
---|
82 | </ol> |
---|
83 | </form> |
---|
84 | </div> |
---|
85 | </div> |
---|
86 | </div> |
---|
87 | </body> |
---|
88 | </html> |
---|