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