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