finally found the reason for the li bug, top a now in skin
[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">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>
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>
47 </div>
48 </div>
49 </div>
50 <!-- end of main content block -->
51 <!-- start of the left (by default at least) column -->
52 <div id="portal-column-one">
53 <!--<esi:include src="thisurl?esiview=contentviews&watch=0&priv=sysop"/> tricky to purge because of the many different versions,
54 might not be worth it for non-anons -->
55 <div id="portlet-contentViews" class="portlet">
56 <h5>Views</h5>
57 <ul>
58 <li tal:repeat="action content_actions"
59 tal:attributes="id string:contentaction-${repeat/action/key}; class action/class|default"><a
60 tal:attributes="title action/ttip|default;accesskey action/akey|default;href action/href|default"
61 tal:content="action/text">Linktext</a></li>
62 </ul>
63 </div>
64 <!--<esi:include src="userxy?personaltools"/> cached per user, just rendered once per session -->
65 <div class="portlet" id="portlet-personal">
66 <h5 i18n:translate="string:personaltools">Personal Tools</h5>
67 <div class="portletBody">
68 <div class="portletContent odd">
69 <ul id="portal-personaltools">
70 <li tal:repeat="item personal_urls"
71 tal:attributes="id string:personaltools-${repeat/item/key};"><a href="myuserpage"
72 tal:attributes="href item/href; accesskey item/akey | default; title item/ttip"
73 tal:content="item/text">Log in</a></li>
74 </ul>
75 </div>
76 </div>
77 </div>
78 <!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching -->
79 <div class="portlet" id="portlet-logo">
80 <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
81 </div>
82 <div class="portlet" id="portlet-navigation">
83 <h5 i18n:translate="string:navigation">Navigation</h5>
84 <div class="portletBody">
85 <div class="portletContent odd">
86 <ul>
87 <li><a href="${nav_urls/mainpage/href}"
88 i18n:attributes="accesskey string:accesskey-mainpage | default; title string:tooltip-mainpage"
89 i18n:translate="string:mainpage">Main Page</a></li>
90 <li tal:condition="nav_urls/portal/href"><a href="${nav_urls/portal/href}"
91 i18n:attributes="accesskey string:accesskey-portal | default; title string:tooltip-portal|default"
92 i18n:translate="string:portal">Community Portal</a></li>
93 <li tal:condition="nav_urls/currentevents/href"><a href="${nav_urls/currentevents/href}"
94 i18n:attributes="title string:tooltip-currentevents|default"
95 i18n:translate="string:currentevents">Current Events</a></li>
96 <li><a href="${nav_urls/randompage/href}"
97 i18n:attributes="accesskey string:accesskey-randompage | default; title string:tooltip-randompage"
98 i18n:translate="string:randompage">Random Page</a></li>
99 <li><a href="${nav_urls/help/href}"
100 i18n:attributes="title string:tooltip-help|default"
101 i18n:translate="string:help">Help</a></li>
102 <li><a href="${nav_urls/sitesupport/href}"
103 i18n:attributes="title string:tooltip-sitesupport|default"
104 i18n:translate="string:sitesupport">Donations</a></li>
105 </ul>
106 </div>
107 </div>
108 </div>
109 <div id="portlet-search" class="portlet">
110 <h5 i18n:translate="string:search">Search</h5>
111 <div class="portletBody">
112 <div class="portletContent odd">
113 <form name="searchform" action="${searchaction}" id="searchform">
114 <input id="searchGadget" name="search" type="text" tabindex="30001"
115 i18n:attributes="accesskey string:accesskey-search | default"/>
116 <input type='submit' name="go" value="Go" class="searchButton"
117 i18n:attributes="value string:go"/>&nbsp;<input type='submit'
118 value="Search" class="searchButton"
119 i18n:attributes="value string:search"/>
120 </form>
121 </div>
122 </div>
123 </div>
124 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> one anon, one logged-in user version per page because of the links -->
125 <div class="portlet" id="portlet-toolbox">
126 <h5 i18n:translate="string:toolbox">Toolbox</h5>
127
128 <div class="portletBody">
129 <div class="portletContent odd">
130 <ul>
131 <li><a href="${nav_urls/recentchanges/href}"
132 i18n:attributes="accesskey string:accesskey-recentchanges|default; title string:tooltip-recentchanges|default"
133 i18n:translate="string:recentchanges">Recent Changes</a></li>
134 <li><a href="${nav_urls/whatlinkshere/href}"
135 i18n:attributes="accesskey string:accesskey-whatlinkshere|default; title string:tooltip-whatlinkshere|default"
136 i18n:translate="string:whatlinkshere">What links here</a></li>
137 <li><a href="${nav_urls/recentchangeslinked/href}"
138 i18n:attributes="title string:tooltip-recentchangeslinked | default"
139 i18n:translate="string:recentchangeslinked">Related Changes</a></li>
140 <li><a href="${nav_urls/specialpages/href}"
141 i18n:attributes="title string:tooltip-specialpages|default"
142 i18n:translate="string:specialpages">Special Pages</a></li>
143 <li tal:condition="loggedin"><a href="${nav_urls/upload/href"
144 i18n:attributes="accesskey string:accesskey-upload|default; title string:tooltip-upload|default"
145 i18n:translate="string:upload">Upload a file</a></li>
146 </ul>
147 </div>
148 </div>
149 </div>
150 <!-- end staticLogoNaviSearch -->
151
152 <div id="portlet-language" class="portlet" tal:condition="language_urls">
153 <h5 i18n:translate="string:otherlanguages">Language</h5>
154 <div class="portletBody">
155 <div class="portletContent odd">
156 <ul>
157 <li tal:repeat="langlink language_urls">
158 <a href="mylanguagelink"
159 tal:attributes="href langlink/href"
160 tal:content="structure langlink/text">English</a>
161 </li>
162 </ul>
163 </div>
164 </div>
165 </div>
166 </div><!-- end of the left (by default at least) column -->
167 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching -->
168 <div class="visualClear"></div>
169 <div id="portal-footer">
170 <ul id="footer-list">
171 <li id="footer-pagestats" tal:condition="pagestats">${pagestats}</li>
172 <li id="footer-about" tal:condition="about">${about}</li>
173 <li id="footer-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
174 </ul>
175 </div>
176 <div id="portal-colophon"></div>
177 </div>
178 </body>
179 </html>