source: products/qSEOptimizer/tags/0.3.1/skins/qSEOptimizer/prefs_qseo_setup_form.cpt @ 1

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

Building directory structure

File size: 3.5 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
11                <h1>Search Engine Optimizer</h1>
12                <a href=""
13                class="link-parent"
14                tal:attributes="href string: $portal_url/plone_control_panel"
15                i18n:translate="label_up_to_plone_setup">
16                Up to Plone Setup
17                </a>
18                <p i18n:translate="description_seo_dc_metatags">Allows to add DC metatags to page</p>
19                <form name="edit_form"
20                    action="."
21                    method="post"
22                    enctype="multipart/form-data"
23                    tal:attributes="action string:${here_url}/${template/getId}" >
24
25                    <input type="checkbox"
26                           id="exposeDCMetaTags"
27                           name="exposeDCMetaTags"
28                           tal:define="exposeDCMetaTags portal/portal_properties/site_properties/exposeDCMetaTags"
29                           tal:attributes="checked exposeDCMetaTags"/>
30                    <label for="exposeDCMetaTags">Expose DC meta tags</label>
31
32                <p i18n:translate="description_seo_content_types">Select content types for which SEO properties wil be managed</p>
33
34                        <fieldset class="portalType"
35                                  tal:define="portal_types portal/portal_types">
36                            <legend i18n:translate="label_content_type_title">Content Type title</legend>
37                            <div class="field"
38                                 tal:repeat="content_type portal_types/listContentTypes">
39                                <tal:transition define="type python:portal_types.getTypeInfo(content_type);
40                                                        name type/getId;
41                                                        action python:type.getActionById('seo_properties', default=None)">
42                                    <input type="checkbox"
43                                           name="portalTypes:list"
44                                           tal:attributes=" id name;
45                                                            value name;
46                                                            checked action"/>
47                                    <label tal:content="string:${name}"
48                                           tal:attributes="for name">Content Type id
49                                    </label>
50                                </tal:transition>
51                            </div>
52                        </fieldset>
53                    <div class="formControls"
54                        tal:define="process_creation request/process_creation|nothing;"
55                        i18n:domain="plone">
56                        <input class="context"
57                            tabindex=""
58                            type="submit"
59                            name="form.button.Save"
60                            value="Save"
61                            i18n:attributes="value"
62                            tal:attributes="tabindex tabindex/next;" />
63                    </div>
64                    <input type="hidden" name="form.submitted" value="1" />
65                </form>
66    </div>
67 </body>
68</html>
Note: See TracBrowser for help on using the repository browser.