source: products/qSEOptimizer/tags/0.5.3/skins/qSEOptimizer/2.0.4/header.pt @ 1

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

Building directory structure

File size: 6.2 KB
Line 
1<html xmlns="http://www.w3.org/1999/xhtml"
2      xml:lang="en"
3      lang="en"
4      i18n:domain="plone"
5      tal:define="Iterator python:modules['Products.CMFPlone'].IndexIterator;
6                  tabindex python:Iterator();">
7
8  <head metal:define-macro="html_header"
9        tal:define="ztu ztu|modules/ZTUtils;
10                    skinrequest python:request.get(here.portal_skins.getRequestVarname(), '');">
11    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
12          tal:define="charset site_properties/default_charset|string:utf-8"
13          tal:attributes="content string:text/html;;charset=${charset}" />
14
15    <title tal:define="portal_title portal_properties/title;
16                       here_title here/title_or_id;
17                       here_id here/getId;
18                       template_title template/title_or_id;
19                       here_title python: portal_title != here_title and here_title or template_title;
20                       here_title python: here_id != here_title and here_title or template_title;
21                       seo_title here/qSEO_Title;"
22           tal:content="python: test(seo_title == here.title_or_id(), '%s - %s' % (portal_title, here_title), seo_title)">
23      Title of page
24    </title>
25
26    <tal:html_comment define="comment here/qSEO_HTML_Comment|nothing" condition="comment">
27      <tal:html_comment_start replace="structure string:&lt;!--" />
28        <tal:comment replace="comment" />
29      <tal:html_comment_end replace="structure string:--&gt;" />
30    </tal:html_comment>
31
32    <metal:baseslot define-slot="base" />
33
34    <meta name="generator" content="Plone - http://plone.org" />
35
36    <meta tal:define="metatags here/listMetaTags|nothing"
37          tal:condition="metatags"
38          tal:repeat="keyval metatags"
39          tal:attributes="name python:keyval[0];
40                          content python:keyval[1];" />
41
42    <link rel="Stylesheet" type="text/css" href="" tal:attributes="href string:$portal_url/ploneNS4.css" />
43
44    <style type="text/css" media="all" tal:condition="exists: portal/ploneColumns.css"
45           tal:content="string:@import url($portal_url/ploneColumns.css);">
46    </style>
47
48    <style type="text/css" media="screen"
49           tal:content="string: @import url($portal_url/plone.css);">
50    </style>
51
52    <style type="text/css" media="screen"
53           tal:condition="nothing"
54           tal:content="string: @import url($portal_url/ploneDeprecated.css);">
55    </style>
56
57    <link rel="alternate stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/ploneTextSmall.css" title="Small Text" />
58    <link rel="alternate stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/ploneTextLarge.css" title="Large Text" />
59
60    <style type="text/css" media="all" tal:condition="exists: portal/ploneCustom.css"
61           tal:content="string:@import url($portal_url/ploneCustom.css);">
62    </style>
63
64    <link rel="stylesheet" type="text/css" media="print" href=""
65          tal:attributes="href string:$portal_url/plonePrint.css" />
66
67    <link rel="stylesheet" type="text/css" media="projection" href=""
68          tal:attributes="href string:$portal_url/plonePresentation.css" />
69
70    <tal:iefixstart replace="structure string:&lt;!--[if IE]&gt;" />
71    <style type="text/css" media="all" tal:condition="exists: portal/ploneIEFixes.css"
72           tal:content="string:@import url($portal_url/ploneIEFixes.css);">
73    </style>
74    <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
75
76    <link rel="shortcut icon" href="" type="image/x-icon" tal:attributes="href string:$portal_url/favicon.ico" />
77
78    <link rel="search" href="" title="Search this site" tal:attributes="href string:$portal_url/search_form" />
79
80    <tal:comment tal:replace="nothing">
81      <link rel="help" href="" title="Help" tal:attributes="href string:$portal_url/help" />
82      <link rel="contents" href="" title="Site Map" tal:attributes="href string:$portal_url/sitemap" />
83    </tal:comment>
84    <link rel="up" href="" title="Up one level"
85          tal:define="parent python:here.navigationParent(here, template_id)"
86          tal:attributes="href python:test(parent, parent, '#')" />
87    <link rel="copyright" href="" title="Copyright information" tal:attributes="href string:copyright" />
88    <link rel="author" href="" title="Author information" tal:attributes="href string:author" />
89
90    <metal:block metal:define-slot="rel_slot" tal:replace="nothing">
91      Inserts rel links specified from a page.
92    </metal:block>
93
94    <meta http-equiv="imagetoolbar" content="no" />
95
96    <metal:block metal:define-slot="css_slot" tal:replace="nothing">
97      Inserts CSS specified from a page.
98    </metal:block>
99
100    <metal:block metal:define-slot="head_slot" tal:replace="nothing">
101      Flexibility for published templates to inject stuff into the head tag.
102    </metal:block>
103
104    <metal:block metal:define-slot="javascript_head_slot" tal:replace="nothing">
105      Inserts javascript specified from a page.
106    </metal:block>
107
108    <script tal:condition="not: isAnon"
109            type="text/javascript"
110            tal:attributes="src string:$portal_url/plone_menu.js">
111    </script>
112
113    <script type="text/javascript"
114            tal:attributes="src string:$portal_url/plone_javascript_variables.js">
115    </script>
116
117    <script type="text/javascript"
118            tal:attributes="src string:$portal_url/plone_javascripts.js">
119    </script>
120
121    <tal:block tal:define="showdefault python:test(portal.portal_memberdata.getProperty('formtooltips'), 'true', 0);
122                           formtooltips python:member.getProperty('formtooltips', showdefault)"
123               tal:omit-tag="">
124
125      <tal:oldjs tal:condition="nothing">
126        <script type="text/javascript"
127                tal:condition="formtooltips"
128                tal:attributes="src string:$portal_url/plone_formtooltip.js">
129        </script>
130
131        <tal:block tal:condition="not:formtooltips">
132          <tal:block tal:replace="structure string:&lt;script language='javascript' type='text/javascript' &gt;" />
133          <metal:block >function formtooltip(el,flag){}</metal:block>
134          <tal:block tal:replace="structure python:'&lt;/script&gt;'" />
135        </tal:block>
136      </tal:oldjs>
137
138    </tal:block>
139  </head>
140
141  <body>
142  </body>
143
144</html>
Note: See TracBrowser for help on using the repository browser.