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