source: products/qPloneGoogleSitemaps/branches/contenttype/skins/qPloneGoogleSitemaps/prefs_gsm_verification.cpt @ 447

Last change on this file since 447 was 420, checked in by fenix, 18 years ago

fixed installation script, modify fti, fixed bugs

File size: 4.0 KB
Line 
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            </ul>
33
34            <div class="contentActions">
35            &nbsp;
36            </div>
37            <div class="documentContent">
38                <h1 i18n:translate="heading_plonegooglesitemaps">Plone Google Sitemaps</h1>
39                <a href=""
40                class="link-parent"
41                tal:attributes="href string: $portal_url/plone_control_panel"
42                i18n:translate="label_up_to_plone_setup">
43                Up to Plone Setup
44                </a>
45
46                <form tal:define="file_provided props/verification_filename;
47                                  step1 python:test(file_provided, 'discreet', '');
48                                  step2 python:test(not file_provided, 'discreet', '')">
49                    <ol>
50                        <li tal:attributes="class step1">
51                            Go to <a href=""
52                                        tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en"
53                                        tal:omit-tag="step1">
54                        site verification page</a> and login if necessary.
55                        </li>
56                        <li tal:attributes="class step1">Provide verification file name:
57                            <p><input name="verify_filename" id="verify_filename" type="text"
58                                tal:attributes="value props/verification_filename;
59                                                disabled step1"
60                            ></p>
61                        </li>
62                        <li tal:attributes="class step1">
63                                <input name="form.button.CreateFile" id="create_file" type="submit" value="Create verification file"
64                                tal:attributes="disabled step1"/>
65                                <input type="hidden" name="form.submitted" value="1" />
66                        </li>
67                        <li class="discreet"
68                            tal:attributes="class step2">Go to <a href=""
69                                        tal:attributes="href string: https://www.google.com/webmasters/sitemaps/verify?siteUrl=${portal/absolute_url}&hl=en"
70                                        tal:omit-tag="step2">
71                        site verification page</a> and press "Check Status" button.
72                        </li>
73                        <li class="discreet"
74                            tal:attributes="class step2"><input name="form.button.DeleteFile" id="remove_file" type="submit" value="Remove verification file"
75                            tal:attributes="disabled step2;
76                                            value string:Remove ${file_provided} verifivation file"/>
77                        </li>
78                    </ol>
79                </form>
80            </div>
81        </div>
82    </div>
83</body>
84</html>
Note: See TracBrowser for help on using the repository browser.