got rid of a few surplus id's
[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="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><a href="${nav_urls/randompage/href}"
91 i18n:attributes="accesskey string:accesskey-randompage | default; title string:tooltip-randompage"
92 i18n:translate="string:randompage">Random Page</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/sitesupport/href}"
97 i18n:attributes="title string:tooltip-sitesupport|default"
98 i18n:translate="string:sitesupport">Donations</a></li>
99 </ul>
100 </div>
101 </div>
102 </div>
103 <div id="portlet-search" class="portlet">
104 <h5 i18n:translate="string:search">Search</h5>
105 <div class="portletBody">
106 <div class="portletContent odd">
107 <form name="searchform" action="${searchaction}" id="searchform">
108 <input id="searchGadget" name="search" type="text" tabindex="30001"
109 i18n:attributes="accesskey string:accesskey-search | default"/>
110 <input type='submit' name="go" value="Go" class="searchButton"
111 i18n:attributes="value string:go"/>&nbsp;<input type='submit'
112 value="Search" class="searchButton"
113 i18n:attributes="value string:search"/>
114 </form>
115 </div>
116 </div>
117 </div>
118 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> one anon, one logged-in user version per page because of the links -->
119 <div class="portlet" id="portlet-toolbox">
120 <h5 i18n:translate="string:toolbox">Toolbox</h5>
121
122 <div class="portletBody">
123 <div class="portletContent odd">
124 <ul>
125 <li><a href="${nav_urls/help/href}"
126 i18n:attributes="title string:tooltip-help|default"
127 i18n:translate="string:help">Help</a></li>
128 <li><a href="${nav_urls/recentchanges/href}"
129 i18n:attributes="accesskey string:accesskey-recentchanges|default; title string:tooltip-recentchanges|default"
130 i18n:translate="string:recentchanges">Recent Changes</a></li>
131 <li><a href="${nav_urls/recentchangeslinked/href}"
132 i18n:attributes="title string:tooltip-recentchangeslinked | default"
133 i18n:translate="string:recentchangeslinked">Related 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/specialpages/href}"
138 i18n:attributes="title string:tooltip-specialpages|default"
139 i18n:translate="string:specialpages">Special Pages</a></li>
140 <li tal:condition="loggedin"><a href="${nav_urls/upload/href"
141 i18n:attributes="accesskey string:accesskey-upload|default; title string:tooltip-upload|default"
142 i18n:translate="string:upload">Upload a file</a></li>
143 </ul>
144 </div>
145 </div>
146 </div>
147 <!-- end staticLogoNaviSearch -->
148
149 <div id="portlet-language" class="portlet" tal:condition="language_urls">
150 <h5 i18n:translate="string:otherlanguages">Language</h5>
151 <div class="portletBody">
152 <div class="portletContent odd">
153 <ul>
154 <li tal:repeat="langlink language_urls">
155 <a href="mylanguagelink"
156 tal:attributes="href langlink/href"
157 tal:content="structure langlink/text">English</a>
158 </li>
159 </ul>
160 </div>
161 </div>
162 </div>
163 </div><!-- end of the left (by default at least) column -->
164 <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching -->
165 <div class="visualClear"></div>
166 <div id="portal-footer">
167 <ul id="footer-list">
168 <li id="footer-pagestats" tal:condition="pagestats">${pagestats}</li>
169 <li id="footer-about" tal:condition="about">${about}</li>
170 <li id="footer-disclaimer" tal:condition="disclaimer">${disclaimer}</li>
171 </ul>
172 </div>
173 <div id="portal-colophon"></div>
174 </div>
175 </body>
176 </html>