Changeset 1580 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/templates/seo_controlpanel.pt
- Timestamp:
- Jan 22, 2010 6:01:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/templates/seo_controlpanel.pt
r1570 r1580 27 27 name="exposeDCMetaTags" 28 28 tal:attributes="checked view/getExposeDCMetaTags"/> 29 30 31 32 33 34 35 29 <label for="exposeDCMetaTags">Expose <abbr title="Dublin Core">DC</abbr> meta tags</label> 30 <div class="formHelp" i18n:translate="description_seo_dc_metatags"> 31 Controls if <abbr title="Dublin Core">DC</abbr> metatags are exposed to page 32 header. They include DC.description, DC.type, 33 DC.format, DC.creator and others. 34 </div> 35 </div> 36 36 37 38 39 40 41 42 43 44 45 46 47 48 49 37 <div class="field"> 38 <label for="default_custom_metatags" i18n:translate="label_default_custom_metatags"> 39 Default custom metatags. 40 </label> 41 <div class="formHelp" i18n:translate="help_default_custom_metatags"> 42 Fill in custom metatag names (one per line) which will appear on qseo_properties edit tab. 43 Example: "metaname|metacontent" or "metaname". 44 </div> 45 <div class="widget"> 46 <textarea cols="60" id="default_custom_metatags" name="default_custom_metatags" rows="15" 47 tal:content="python:'\n'.join(view.getDefaultCustomMetatags())"></textarea> 48 </div> 49 </div> 50 50 51 52 53 54 55 56 57 58 59 60 61 62 63 51 <div class="field"> 52 <label for="metatags_order" i18n:translate="label_metatags_order"> 53 Meta tags order in the page. 54 </label> 55 <div class="formHelp" i18n:translate="help_metatags_order"> 56 Fill in meta tags (one per line) in the order in which they will appear on site source 57 pages. Example: "metaname accessor". 58 </div> 59 <div class="widget"> 60 <textarea cols="60" id="metatags_order" name="metatags_order" rows="15" 61 tal:content="python:'\n'.join(view.getMetaTagsOrder())"></textarea> 62 </div> 63 </div> 64 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 65 <div class="field"> 66 <label for="additionalKeywords" i18n:translate="label_additional_keywords"> 67 Additional keywords that should be added to the content types. 68 </label> 69 <div class="formHelp" i18n:translate="help_additional_keywords"> 70 Use this field when you want that your content types receive 71 additional keywords from the ones you manually specify. Enter 72 one keyword per line. 73 </div> 74 <div class="widget"> 75 <textarea cols="60" id="additionalKeywords" name="additionalKeywords" rows="15" 76 tal:content="python:'\n'.join(view.getAdditionalKeywords())"></textarea> 77 </div> 78 </div> 79 79 80 <fieldset class="contentTypes" 81 tal:define="typeLists view/createMultiColumnList"> 82 <legend i18n:translate="label_content_type_title">Content Types</legend> 80 <!-- <div class="field"> 81 <label for="settingsUseKeywords" i18n:translate="label_settings_use_keywords"> 82 Settings the use of keywords. 83 </label> 84 <div class="formHelp" i18n:translate="help_settings_use_keywords"> 85 Settings the use of keywords. 86 </div> 87 </div>--> 83 88 84 <div class="formHelp" i18n:translate="description_seo_content_types"> 85 Select content types that will have SEO properties 86 enabled. 87 </div> 88 <div style="float:left; margin-right: 2em;" tal:repeat="sublist typeLists"> 89 <ul class="configlets"> 90 <li tal:repeat="ptypeInfo sublist"> 91 <tal:type define="type python:view.typeInfo(ptypeInfo); 92 name type/getId;"> 89 <div class="field"> 90 <label for="settingsUseKeywordsSG" i18n:translate="label_settings_use_keywords_sg"> 91 Settings the use Subject and global seo keywords. 92 </label> 93 <div class="formHelp" i18n:translate="help_settings_use_keywords_sg"> 94 Settings the use Subject and global seo keywords. 95 </div> 96 <input type="radio" 97 name="settingsUseKeywordsSG" 98 tal:attributes="id string:sg1; 99 value string:1; 100 checked python:view.select_settings_use_keywords_sg()==1"/> 101 <label for="" 102 tal:attributes="for string:sg1">Override Subject by global seo keywords</label> 103 <br/> 104 <input type="radio" 105 name="settingsUseKeywordsSG" 106 tal:attributes="id string:sg2; 107 value string:2; 108 checked python:view.select_settings_use_keywords_sg()==2"/> 109 <label for="" 110 tal:attributes="for string:sg2">Override global seo keywords by Subject</label> 111 <br/> 112 <input type="radio" 113 name="settingsUseKeywordsSG" 114 tal:attributes="id string:sg3; 115 value string:3; 116 checked python:view.select_settings_use_keywords_sg()==3"/> 117 <label for="" 118 tal:attributes="for string:sg3">Merge global and local seo keywords</label> 119 </div> 93 120 94 <input type="checkbox" 95 name="contentTypes:list" 96 tal:attributes="id name; 97 value name; 98 checked python:view.hasSEOAction(type)"/> 99 <label tal:attributes="for python:type.getId()" 100 tal:content="type/Title"/> 101 </tal:type> 102 </li> 103 </ul> 104 </div> 105 </fieldset> 121 <div class="field"> 122 <label for="settingsUseKeywordsLG" i18n:translate="label_settings_use_keywords_lg"> 123 Settings the use local and global seo keywords. 124 </label> 125 <div class="formHelp" i18n:translate="help_settings_use_keywords_lg"> 126 Settings the use local and global seo keywords. 127 </div> 128 <input type="radio" 129 name="settingsUseKeywordsLG" 130 tal:attributes="id string:lg1; 131 value string:1; 132 checked python:view.select_settings_use_keywords_lg()==1"/> 133 <label for="" 134 tal:attributes="for string:lg1">Override global by local seo keywords</label> 135 <br/> 136 <input type="radio" 137 name="settingsUseKeywordsLG" 138 tal:attributes="id string:lg2; 139 value string:2; 140 checked python:view.select_settings_use_keywords_lg()==2"/> 141 <label for="" 142 tal:attributes="for string:lg2">Merge global and local seo keywords</label> 143 </div> 106 144 107 <div class="formControls" 108 i18n:domain="plone"> 109 <input class="context" 110 tabindex="" 111 type="submit" 112 name="form.button.Save" 113 value="Save" 114 i18n:attributes="value" 115 tal:attributes="tabindex tabindex/next;" /> 116 </div> 117 <input type="hidden" name="form.submitted" value="1" /> 118 </form> 145 <fieldset class="contentTypes" 146 tal:define="typeLists view/createMultiColumnList"> 147 <legend i18n:translate="label_content_type_title">Content Types</legend> 148 149 <div class="formHelp" i18n:translate="description_seo_content_types"> 150 Select content types that will have SEO properties 151 enabled. 152 </div> 153 <div style="float:left; margin-right: 2em;" tal:repeat="sublist typeLists"> 154 <ul class="configlets"> 155 <li tal:repeat="ptypeInfo sublist"> 156 <tal:type define="type python:view.typeInfo(ptypeInfo); 157 name type/getId;"> 158 159 <input type="checkbox" 160 name="contentTypes:list" 161 tal:attributes="id name; 162 value name; 163 checked python:view.hasSEOAction(type)"/> 164 <label tal:attributes="for python:type.getId()" 165 tal:content="type/Title"/> 166 </tal:type> 167 </li> 168 </ul> 169 </div> 170 </fieldset> 171 172 <div class="formControls" 173 i18n:domain="plone"> 174 <input class="context" 175 tabindex="" 176 type="submit" 177 name="form.button.Save" 178 value="Save" 179 i18n:attributes="value" 180 tal:attributes="tabindex tabindex/next;" /> 181 </div> 182 <input type="hidden" name="form.submitted" value="1" /> 183 </form> 119 184 </div> 120 185 </body>
Note: See TracChangeset
for help on using the changeset viewer.