r2786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r2785‎ | r2786 | r2787 >
Date:23:37, 22 March 2004
Author:gabrielwicke
Status:old
Tags:
Comment:
a pretty generic xhtml / tal skin
Modified paths:
  • /trunk/phase3/templates/davinci.pt (added) (history)

Diff [purge]

Index: trunk/phase3/templates/davinci.pt
@@ -0,0 +1,221 @@
 2+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 3+
 4+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="${lang}" lang="${lang}">
 5+ <head>
 6+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 7+
 8+ <title tal:content="title">Leonardo Da Vinci - Wikipedia</title>
 9+
 10+ <style type="text/css" media="screen">
 11+ /*<![CDATA[*/
 12+ @import url(${stylepath}/DaVinci.css);
 13+ /*]]>*/
 14+ </style>
 15+ <!-- Custom style sheet if available, could either be a pref or a subpage of the user page
 16+ <style type="text/css" media="all">
 17+ /*<![CDATA[*/
 18+ @import url(${stylepath}/DaVinciCustom.css);
 19+ /*]]>*/
 20+ </style>-->
 21+ <!-- Style sheet used for printing -->
 22+ <link rel="stylesheet" type="text/css" media="print" href="${stylepath}/commonPrint.css" />
 23+ <!-- fixes for some this hack of a browser -->
 24+ <!--[if IE]>
 25+ <style type="text/css" media="all">@import url(${stylepath}/DaVinciIEFixes.css);</style>
 26+ <![endif]-->
 27+ <link tal:condition="favicon" rel="shortcut icon" href="${favicon}" type="image/x-icon" />
 28+ <!-- Disable IE6 image toolbar -->
 29+ <meta http-equiv="imagetoolbar" content="no" />
 30+ <script type="text/javascript" src="${stylepath}/wikibits.js">
 31+ </script>
 32+ </head>
 33+
 34+ <body>
 35+ <div id="visual-portal-wrapper">
 36+
 37+ <div id="portal-column-content">
 38+ <div id="content">
 39+ <a name="top" id="contentTop"></a>
 40+ <div class="documentContent">
 41+
 42+ <h1 class="documentFirstHeading" tal:content="title">Leonardo da Vinci</h1>
 43+
 44+ <div id="bodyContent" class="plain">
 45+ <h3 id="documentSubtitle" i18n:translate="string:fromwikipedia">From Wikipedia, the free encyclopedia.</h3>
 46+ <!--esi:include src="userxy/message"/> cached per user, purged on new message-->
 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+ </div><!-- 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">
 71+ <a class="" href="?action=edit"
 72+ tal:attributes="href action/href; accesskey action/akey"
 73+ i18n:translate="action/i18n_key">Linktext</a>
 74+ </li>
 75+ </ul>
 76+
 77+ </div>
 78+ <!--<esi:include src="userxy?personaltools"/> cached per user, just rendered once per session -->
 79+ <div class="portlet" id="portlet-personal">
 80+ <h5 class="hiddenStructure" i18n:translate="string:personaltools">Personal Tools</h5>
 81+
 82+ <div class="portletBody">
 83+ <div class="portletContent odd">
 84+ <h5 class="hiddenStructure">Personal Tools</h5>
 85+
 86+ <ul id="portal-personaltools" tal:condition="loggedin">
 87+ <li class="portalUser"><a tal:attributes="href php:skin.makeUrl(userpage); accesskey ''"
 88+ tal:content="username">Gwicke</a></li>
 89+
 90+ <li><a tal:attributes="href php:skin.makeTalkUrl(userpage); accesskey ''"
 91+ i18n:translate="string:mytalk">My talk</a></li>
 92+
 93+ <li><a tal:attributes="href php:skin.makeSpecialUrl('Preferences'); accesskey ''"
 94+ i18n:translate="string:preferences">Preferences</a></li>
 95+
 96+ <li><a tal:attributes="href php:skin.makeSpecialUrl('Watchlist'); accesskey ''"
 97+ i18n:translate="string:watchlist">My Watchlist</a></li>
 98+
 99+ <li><a tal:attributes="href php:skin.makeSpecialUrl('Contributions','target=' . username); accesskey ''"
 100+ i18n:translate="string:mycontris">My Contributions</a></li>
 101+
 102+ <li><a tal:attributes="href php:skin.makeSpecialUrl('Userlogout','returnpage=' . thispage); accesskey ''"
 103+ i18n:translate="string:userlogout">Log out</a></li>
 104+
 105+ </ul>
 106+ <ul id="portal-personaltools" tal:condition="not: loggedin">
 107+ <li class="portalUser" i18n:translate="string:notloggedin">You are not logged in</li>
 108+ <li><a tal:attributes="href php:skin.makeSpecialUrl('Userlogin'); accesskey ''"
 109+ i18n:translate="string:userlogin">Log In</a></li>
 110+ </ul>
 111+ </div>
 112+ </div>
 113+ </div>
 114+ <!--<esi:include src="staticLogoNaviSearch"/> same for all pages, contains quite a few messages that are worth caching -->
 115+ <div class="portlet" id="portlet-logo">
 116+ <a href="${urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
 117+ </div>
 118+
 119+ <div class="portlet" id="portlet-navigation-tree">
 120+ <h5 i18n:translate="string:navigation">Navigation</h5>
 121+
 122+ <div class="portletBody">
 123+ <div class="portletContent odd">
 124+ <ul>
 125+ <li><a href="${urls/mainpage/href}"
 126+ i18n:attributes="accesskey string:accesskey-mainpage;"
 127+ i18n:translate="string:mainpage">Main Page</a></li>
 128+
 129+ <li><a href="${urls/randompage/href}"
 130+ i18n:attributes="accesskey string:accesskey-randompage;"
 131+ i18n:translate="string:randompage">Random Page</a></li>
 132+
 133+ <li><a href="${urls/currentevents/href"
 134+ i18n:translate="string:currentevents">Current Events</a></li>
 135+
 136+ <li><a href="${urls/sitesupport/href}"
 137+ i18n:translate="string:sitesupport">Contact us</a></li>
 138+ </ul>
 139+ </div>
 140+ </div>
 141+ </div>
 142+
 143+ <div id="portlet-search" class="portlet">
 144+ <h5 i18n:translate="string:search">Search</h5>
 145+
 146+ <div class="portletBody">
 147+ <div class="portletContent odd">
 148+ <form name="searchform" action="${searchaction}" id="searchform">
 149+ <input id="searchGadget" name="search" type="text" accesskey="s" tabindex="30001"
 150+ i18n:attributes="accesskey accesskey-search"/>
 151+
 152+ <input type='submit' name="go" value="Go" class="searchButton"
 153+ i18n:attributes="value string:go"/>&nbsp;<input type='submit'
 154+ value="Search" class="searchButton"
 155+ i18n:attributes="value string:search"/>
 156+ </form>
 157+ </div>
 158+ </div>
 159+ </div>
 160+
 161+ <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> one anon, one logged-in user version per page because of the links -->
 162+ <div class="portlet" id="portlet-editor-box">
 163+ <h5 i18n:translate="string:toolbox">Toolbox</h5>
 164+
 165+ <div class="portletBody">
 166+ <div class="portletContent odd">
 167+ <ul>
 168+
 169+ <li><a href="${urls/help/href}"
 170+ i18n:attributes="accesskey string:accesskey-help"
 171+ i18n:translate="string:help">Help</a></li>
 172+
 173+ <li><a href="${urls/recentchanges/href}"
 174+ i18n:attributes="accesskey string:accesskey-recentchanges"
 175+ i18n:translate="string:recentchanges">Recent Changes</a></li>
 176+
 177+ <li><a href="${urls/recentchangeslinked/href}"
 178+ i18n:attributes="accesskey string:accesskey-recentchangeslinked"
 179+ i18n:translate="string:recentchangeslinked">Related Changes</a></li>
 180+
 181+ <li><a href="${urls/whatlinkshere/href}"
 182+ i18n:attributes="accesskey string:accesskey-whatlinkshere"
 183+ i18n:translate="string:whatlinkshere">What links here</a></li>
 184+
 185+ <li><a href="${urls/specialpages/href}"
 186+ i18n:translate="string:specialpages">Special Pages</a></li>
 187+
 188+ <li tal:condition="loggedin"><a href="${urls/upload/href"
 189+ i18n:attributes="accesskey string:accesskey-upload"
 190+ i18n:translate="string:upload">Upload a file</a></li>
 191+
 192+ </ul>
 193+ </div>
 194+ </div>
 195+ </div>
 196+ <!-- end staticLogoNaviSearch -->
 197+
 198+ <div id="portlet-language" class="portlet" tal:condition="language_urls">
 199+ <h5 i18n:translate="string:otherlanguages">Language</h5>
 200+
 201+ <div class="portletBody">
 202+ <div class="portletContent odd">
 203+ <ul>
 204+ <li tal:repeat="langlink language_urls">
 205+ <a href="mylanguagelink"
 206+ tal:attributes="href langlink/href"
 207+ tal:content="structure langlink/text">English</a>
 208+ </li>
 209+ </ul>
 210+ </div>
 211+ </div>
 212+ </div>
 213+ </div><!-- end of the left (by default at least) column -->
 214+ <!--<esi:include src="thisurl?esiview=toolbox&loggedin=0"/> static footer, same for all pages but contains a few messaged that are worth caching -->
 215+ <div class="visualClear"></div>
 216+ <div id="portal-footer">
 217+ ${pagestats}
 218+ </div>
 219+
 220+ <div id="portal-colophon"></div>
 221+ </body>
 222+</html>
Property changes on: trunk/phase3/templates/davinci.pt
___________________________________________________________________
Name: svn:eol-style
1223 + native
Name: svn:keywords
2224 + Author Date Id Revision

Follow-up revisions

RevisionCommit summaryAuthorDate
r60994Merge IEFixes.js into wikibits.js...simetrical23:36, 12 January 2010

Status & tagging log