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