source: products/qSEOptimizer/tags/0.5.3/skins/qSEOptimizer/2.0.2/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    <tal:html_comment define="comment here/qSEO_HTML_Comment|nothing" condition="comment">
26      <tal:html_comment_start replace="structure string:&lt;!--" />
27        <tal:comment replace="comment" />
28      <tal:html_comment_end replace="structure string:--&gt;" />
29    </tal:html_comment>
30
31    <metal:baseslot define-slot="base" />
32
33    <meta name="generator" content="Plone - http://plone.org" />
34
35    <meta tal:define="metatags here/listMetaTags|nothing"
36          tal:condition="metatags"
37          tal:repeat="keyval metatags"
38          tal:attributes="name python:keyval[0];
39                          content python:keyval[1];" />
40
41    <link rel="Stylesheet" type="text/css" href="" tal:attributes="href string:$portal_url/ploneNS4.css" />
42
43    <style type="text/css" media="all" tal:condition="exists: portal/ploneColumns.css"
44           tal:content="string:@import url($portal_url/ploneColumns.css);">
45    </style>
46
47    <style type="text/css" media="screen"
48           tal:content="string: @import url($portal_url/plone.css);">
49    </style>
50
51    <style type="text/css" media="screen"
52           tal:condition="nothing"
53           tal:content="string: @import url($portal_url/ploneDeprecated.css);">
54    </style>
55
56    <link rel="alternate stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/ploneTextSmall.css" title="Small Text" />
57    <link rel="alternate stylesheet" type="text/css" media="screen" href="" tal:attributes="href string:$portal_url/ploneTextLarge.css" title="Large Text" />
58
59    <style type="text/css" media="all" tal:condition="exists: portal/ploneCustom.css"
60           tal:content="string:@import url($portal_url/ploneCustom.css);">
61    </style>
62
63    <link rel="stylesheet" type="text/css" media="print" href=""
64          tal:attributes="href string:$portal_url/plonePrint.css" />
65
66    <link rel="stylesheet" type="text/css" media="projection" href=""
67          tal:attributes="href string:$portal_url/plonePresentation.css" />
68
69    <tal:iefixstart replace="structure string:&lt;!--[if IE]&gt;" />
70    <style type="text/css" media="all" tal:condition="exists: portal/ploneIEFixes.css"
71           tal:content="string:@import url($portal_url/ploneIEFixes.css);">
72    </style>
73    <tal:iefixend replace="structure string:&lt;![endif]--&gt;" />
74
75    <link rel="shortcut icon" href="" type="image/x-icon" tal:attributes="href string:$portal_url/favicon.ico" />
76
77    <link rel="search" href="" title="Search this site" tal:attributes="href string:$portal_url/search_form" />
78
79    <tal:comment tal:replace="nothing">
80      <link rel="help" href="" title="Help" tal:attributes="href string:$portal_url/help" />
81      <link rel="contents" href="" title="Site Map" tal:attributes="href string:$portal_url/sitemap" />
82    </tal:comment>
83    <link rel="up" href="" title="Up one level"
84          tal:define="parent python:here.navigationParent(here, template_id)"
85          tal:attributes="href python:test(parent, parent, '#')" />
86    <link rel="copyright" href="" title="Copyright information" tal:attributes="href string:copyright" />
87    <link rel="author" href="" title="Author information" tal:attributes="href string:author" />
88
89    <metal:block metal:define-slot="rel_slot" tal:replace="nothing">
90      Inserts rel links specified from a page.
91    </metal:block>
92
93    <meta http-equiv="imagetoolbar" content="no" />
94
95    <metal:block metal:define-slot="css_slot" tal:replace="nothing">
96      Inserts CSS specified from a page.
97    </metal:block>
98
99    <metal:block metal:define-slot="head_slot" tal:replace="nothing">
100      Flexibility for published templates to inject stuff into the head tag.
101    </metal:block>
102
103    <metal:block metal:define-slot="javascript_head_slot" tal:replace="nothing">
104      Inserts javascript specified from a page.
105    </metal:block>
106
107    <script tal:condition="not: isAnon"
108            type="text/javascript"
109            tal:attributes="src string:$portal_url/plone_menu.js">
110    </script>
111
112    <script type="text/javascript"
113            tal:attributes="src string:$portal_url/plone_javascript_variables.js">
114    </script>
115
116    <script type="text/javascript"
117            tal:attributes="src string:$portal_url/plone_javascripts.js">
118    </script>
119
120    <tal:block tal:define="showdefault python:test(portal.portal_memberdata.getProperty('formtooltips'), 'true', 0);
121                           formtooltips python:member.getProperty('formtooltips', showdefault)"
122               tal:omit-tag="">
123
124      <tal:oldjs tal:condition="nothing">
125        <script type="text/javascript"
126                tal:condition="formtooltips"
127                tal:attributes="src string:$portal_url/plone_formtooltip.js">
128        </script>
129
130        <tal:block tal:condition="not:formtooltips">
131          <tal:block tal:replace="structure string:&lt;script language='javascript' type='text/javascript' &gt;" />
132          <metal:block >function formtooltip(el,flag){}</metal:block>
133          <tal:block tal:replace="structure python:'&lt;/script&gt;'" />
134        </tal:block>
135      </tal:oldjs>
136
137    </tal:block>
138  </head>
139
140  <body>
141  </body>
142
143</html>
Note: See TracBrowser for help on using the repository browser.