Include the meta-robots, meta-keywords, and link-RSS tags, and the set MIME
[lhc/web/wiklou.git] / templates / xhtml_slim.pt
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}">
4 <head>
5 <meta http-equiv="Content-Type" content="${mimetype}; charset=${charset}" />
6 ${headlinks}
7 <title tal:content="title">Exciting xhtml slimfast</title>
8
9 <style type="text/css" media="screen">
10 /*<![CDATA[*/
11 @import url(${stylepath}/${skinname}/main.css);
12 /* custom css, could be either a pref or a subpage of the the user page */
13 /* @import url(${stylepath}/custom.css); */
14 /*]]>*/
15 </style>
16 <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/commonPrint.css" />
17 <!--[if IE]><style type="text/css" media="all">@import url(${stylepath}/${skinname}/IEFixes.css);</style><![endif]-->
18 <link tal:condition="favicon" rel="shortcut icon" href="${favicon}" type="image/x-icon" />
19 <!-- Disable IE6 image toolbar --><meta http-equiv="imagetoolbar" content="no" />
20 <script type="text/javascript" src="${stylepath}/wikibits.js">
21 </script>
22 </head>
23
24 <body tal:attributes="ondblclick body-ondblclick|default">
25 <div id="visual-portal-wrapper">
26
27 <div id="portal-column-content">
28 <div id="content">
29 <a name="top" id="contentTop"></a>
30 <div id="documentContent">
31
32 <h1 class="documentFirstHeading" tal:content="title">Leonardo da Vinci</h1>
33
34 <div id="bodyContent">
35 <h3 id="siteSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3>
36 <div tal:condition="subtitle" id="documentSubtitle" tal:content="structure subtitle"></div>
37 <!-- <esi:include src="userxy/message"/> cached per user, purged on new message-->
38 <div tal:condition="newtalk" class="portalMessage" tal:content="structure newtalk"></div>
39 <!-- the content area is cached with the remaining inexpensive sceleton, one version for all.
40 The edit links and right-click section stuff can be attached from js -->
41 <!-- start content -->
42
43 ${bodytext}
44
45 <!-- end content -->
46 <div class="visualClear"></div>
47 </div>
48 </div>
49 </div>
50 </div>
51 <!-- end of main content block -->
52 <!-- start of the left (by default at least) column -->
53 <div id="portal-column-one">
54 <!--<esi:include src="thisurl?esiview=contentviews&watch=0&priv=sysop"/> tricky to purge because of the many different versions,
55 might not be worth it for non-anons -->
56 <div id="portlet-contentViews" class="portlet">
57 <h5>Views</h5>
58 <ul>
59 <li tal:repeat="action content_actions"
60 tal:attributes="id string:contentaction-${repeat/action/key}; class action/class|default"><a
61 tal:attributes="title action/ttip|default;accesskey action/akey|default;href action/href|default"
62 tal:content="action/text">Linktext</a></li>
63 </ul>
64 </div>
65 <!--<esi:include src="userxy?personaltools"/> cached per user, just rendered once per session -->
66 <div class="portlet" id="portlet-personal">
67 <h5 i18n:translate="string:personaltools">Personal Tools</h5>
68 <div class="portletBody">
69 <div class="portletContent odd">
70 <ul id="portal-personaltools">
71 <li tal:repeat="item personal_urls"
72 tal:attributes="id string:personaltools-${repeat/item/key};"><a href="myuserpage"
73 tal:attributes="href item/href; accesskey item/akey|default; title item/ttip|default"
74 tal:content="item/text">Log in</a></li>
75 </ul>
76 </div>
77 </div>
78 </div>
79 <!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching -->
80 <div class="portlet" id="portlet-logo">
81 <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
82 </div>
83 <div class="portlet" id="portlet-navigation">
84 <h5 i18n:translate="string:navigation">Navigation</h5>
85 <div class="portletBody">
86 <div class="portletContent odd">
87 <ul>
88 <li><a href="${nav_urls/mainpage/href}"
89 i18n:attributes="accesskey string:accesskey-mainpage | default; title string:tooltip-mainpage"
90 i18n:translate="string:mainpage">Main Page</a></li>
91 <li tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
92 i18n:attributes="accesskey string:accesskey-portal | default; title string:tooltip-portal|default"
93 i18n:translate="string:portal">Community Portal</a></li>
94 <li tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
95 i18n:attributes="title string:tooltip-currentevents|default"
96 i18n:translate="string:currentevents">Current Events</a></li>
97 <li><a href="${nav_urls/randompage/href}"
98 i18n:attributes="accesskey string:accesskey-randompage | default; title string:tooltip-randompage"
99 i18n:translate="string:randompage">Random Page</a></li>
100 <li><a href="${nav_urls/help/href}"
101 i18n:attributes="title string:tooltip-help|default"
102 i18n:translate="string:help">Help</a></li>
103 <li><a href="${nav_urls/sitesupport/href}"
104 i18n:attributes="title string:tooltip-sitesupport|default"
105 i18n:translate="string:sitesupport">Donations</a></li>
106 </ul>
107 </div>
108 </div>
109 </div>
110 <div id="portlet-search" class="portlet">
111 <h5 i18n:translate="string:search">Search</h5>
112 <div class="portletBody">
113 <div class="portletContent odd">
114 <form name="searchform" action="${searchaction}" id="searchform">
115 <input id="searchGadget" name="search" type="text" tabindex="30001"
116 i18n:attributes="accesskey string:accesskey-search | default"/>
117 <input type='submit' name="go" value="Go" class="searchButton"
118 i18n:attributes="value string:go"/>&nbsp;<input type='submit'
119 value="Search" class="searchButton"
120 i18n:attributes="value string:search"/>
121 </form>
122 </div>
123 </div>
124 </div>
125 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> one anon, one logged-in user version per page because of the links -->
126 <div class="portlet" id="portlet-toolbox">
127 <h5 i18n:translate="string:toolbox">Toolbox</h5>
128
129 <div class="portletBody">
130 <div class="portletContent odd">
131 <ul>
132 <li><a href="${nav_urls/recentchanges/href}"
133 i18n:attributes="accesskey string:accesskey-recentchanges|default; title string:tooltip-recentchanges|default"
134 i18n:translate="string:recentchanges">Recent Changes</a></li>
135 <li><a href="${nav_urls/whatlinkshere/href}"
136 i18n:attributes="accesskey string:accesskey-whatlinkshere|default; title string:tooltip-whatlinkshere|default"
137 i18n:translate="string:whatlinkshere">What links here</a></li>
138 <li><a href="${nav_urls/recentchangeslinked/href}"
139 i18n:attributes="title string:tooltip-recentchangeslinked | default"
140 i18n:translate="string:recentchangeslinked">Related Changes</a></li>
141 <li><a href="${nav_urls/specialpages/href}"
142 i18n:attributes="title string:tooltip-specialpages|default"
143 i18n:translate="string:specialpages">Special Pages</a></li>
144 <li tal:condition="loggedin"><a href="${nav_urls/upload/href"
145 i18n:attributes="accesskey string:accesskey-upload|default; title string:tooltip-upload|default"
146 i18n:translate="string:upload">Upload a file</a></li>
147 </ul>
148 </div>
149 </div>
150 </div>
151 <!-- end staticLogoNaviSearch -->
152
153 <div id="portlet-language" class="portlet" tal:condition="language_urls">
154 <h5 i18n:translate="string:otherlanguages">Language</h5>
155 <div class="portletBody">
156 <div class="portletContent odd">
157 <ul>
158 <li tal:repeat="langlink language_urls">
159 <a href="mylanguagelink"
160 tal:attributes="href langlink/href"
161 tal:content="structure langlink/text">English</a>
162 </li>
163 </ul>
164 </div>
165 </div>
166 </div>
167 </div><!-- end of the left (by default at least) column -->
168 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching -->
169 <div class="visualClear"></div>
170 <div id="portal-footer">
171 <ul id="footer-list">
172 <li id="footer-pagestats" tal:condition="pagestats">${pagestats}</li>
173 <li id="footer-about" tal:condition="about">${about}</li>
174 <li id="footer-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
175 </ul>
176 </div>
177 <div id="portal-colophon"></div>
178 </div>
179 </body>
180 </html>