Changeset 184

Show
Ignore:
Timestamp:
01/17/06 05:45:37
Author:
myroslav
Message:

Cleaned up configlet. Prepared 0.3.2 release

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • qSEOptimizer/trunk/Extensions/Install.py

    r183 r184  
    1616    'visible':1, 
    1717    'appId':'qSEOptimizer', 
    18     'permission':ManagePortal},) 
     18    'permission':ManagePortal, 
     19    'imageUrl':'search_icon.gif'},) 
    1920 
    2021qSEO_CONTENT = ['File','Document','News Item','BlogEntry'] 
  • qSEOptimizer/trunk/HISTORY.txt

    r183 r184  
     10.3.2 Cleaned up confilet 
     2 
    130.3.1 Added exposeDCMetaTags propery to configlet 
    24     
  • qSEOptimizer/trunk/README.txt

    r183 r184  
    33  This product was created to enhance SE visibility of Plone sites. 
    44 
    5   © "Quintagroup":http://quintagroup.com, 2004 
     5  © "Quintagroup":http://quintagroup.com, 2004-2006 
    66   
    77  Product sponsored by "4webresults, SEO and Internet Marketing 
    8   Services provider":http://4webresults.com. 
     8  Services provider":http://4webresults.com. Plone-2.1 compatibility, extra 
     9  configuration features sponsored by "Eogogics Inc.":http://eogogics.com,  
     10  "4webresults":http://4webresults.com, and 
     11  "eLawSoftware":http:///www.elawsoftware.com. 
    912 
    1013  Features 
  • qSEOptimizer/trunk/skins/qSEOptimizer/prefs_qseo_setup.cpy

    r183 r184  
    3131            ptype.deleteActions([actions.index(a) for a in actions if a.getId()=='seo_properties']) 
    3232 
    33 return state.set(portal_status_message = 'Search Engine Optimizer updated.') 
     33return state.set(portal_status_message = 'Search Engine Optimizer configuration updated.') 
  • qSEOptimizer/trunk/skins/qSEOptimizer/prefs_qseo_setup_form.cpt

    r183 r184  
    99        tal:define="errors python:request.get('errors', {})"> 
    1010 
    11                 <h1>Search Engine Optimizer</h1> 
     11                <h1>Search Engine Optimizer configuration</h1> 
    1212                <a href="" 
    1313                class="link-parent" 
     
    1616                Up to Plone Setup 
    1717                </a> 
    18                 <p i18n:translate="description_seo_dc_metatags">Allows to add DC metatags to page</p> 
     18                <div class="documentDescription"> 
     19                   You can select what content types are 
     20                   qSEOptimizer-enabled, and control if Dublin Core metatags 
     21                   are exposed in the header of content pages. 
     22                </div> 
     23 
    1924                <form name="edit_form" 
    2025                    action="." 
     
    2328                    tal:attributes="action string:${here_url}/${template/getId}" > 
    2429 
    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> 
     30                    <div class="field"> 
     31                        <input type="checkbox" 
     32                               id="exposeDCMetaTags" 
     33                               name="exposeDCMetaTags" 
     34                               tal:define="exposeDCMetaTags portal/portal_properties/site_properties/exposeDCMetaTags" 
     35                               tal:attributes="checked exposeDCMetaTags"/> 
     36                        <label for="exposeDCMetaTags">Expose <abbr title="Dublin Core">DC</abbr> meta tags</label> 
     37                        <div class="formHelp" i18n:translate="description_seo_dc_metatags"> 
     38                           Controls if <abbr title="Dublin Core">DC</abbr> metatags are exposed to page 
     39                           header. They include DC.description, DC.type, 
     40                           DC.format, DC.creator and others. 
     41                        </div> 
     42                    </div> 
    3143 
    32                 <p i18n:translate="description_seo_content_types">Select content types for which SEO properties wil be managed</p> 
     44                    <fieldset class="portalTypes" 
     45                              tal:define="portal_types portal/portal_types"> 
     46                        <legend i18n:translate="label_content_type_title">Content Types</legend> 
    3347 
    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)"> 
     48                        <div class="formHelp" i18n:translate="description_seo_content_types"> 
     49                            Select content types that will have SEO properties 
     50                            enabled. 
     51                        </div> 
     52 
     53                        <ul class="configlets"> 
     54                            <li tal:repeat="content_type portal_types/listContentTypes"> 
     55                                <tal:type define="type python:portal_types.getTypeInfo(content_type); 
     56                                                  name type/getId; 
     57                                                  action python:type.getActionById('seo_properties', default=None)"> 
    4258                                    <input type="checkbox" 
    4359                                           name="portalTypes:list" 
    44                                            tal:attributes=" id name; 
    45                                                             value name; 
    46                                                             checked action"/> 
     60                                           tal:attributes="id name; 
     61                                                           value name; 
     62                                                           checked action"/> 
    4763                                    <label tal:content="string:${name}" 
    4864                                           tal:attributes="for name">Content Type id 
    4965                                    </label> 
    50                                 </tal:transition> 
    51                             </div> 
    52                         </fieldset> 
     66                                </tal:type> 
     67                            </li> 
     68                        </ul> 
     69                    </fieldset> 
     70 
    5371                    <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;" /> 
     72                        tal:define="process_creation request/process_creation|nothing;" 
     73                        i18n:domain="plone"> 
     74                        <input class="context" 
     75                            tabindex="" 
     76                            type="submit" 
     77                            name="form.button.Save" 
     78                            value="Save" 
     79                            i18n:attributes="value" 
     80                            tal:attributes="tabindex tabindex/next;" /> 
    6381                    </div> 
    6482                    <input type="hidden" name="form.submitted" value="1" /> 
  • qSEOptimizer/trunk/version.txt

    r183 r184  
    1 0.3.
     10.3.2rc