MonoBook.tpl 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang}" lang="{lang}" dir="{dir}">
  3. <head>
  4. <meta http-equiv="Content-Type" content="{~ mimetype}; charset={~ charset}" />
  5. {headlinks}
  6. {headscripts}
  7. <title>{pagetitle}</title>
  8. <style type="text/css" media="screen, projection">/*<![CDATA[*/ @import "{~ stylepath}/{~ stylename}/main.css?5"; /*]]>*/</style>
  9. <link rel="stylesheet" type="text/css" {if notprintable {media="print"}} href="{~ stylepath}/common/commonPrint.css" />
  10. <!--[if lt IE 5.5000]><style type="text/css">@import "{~ stylepath}/{~ stylename}/IE50Fixes.css";</style><![endif]-->
  11. <!--[if IE 5.5000]><style type="text/css">@import "{~ stylepath}/{~ stylename}/IE55Fixes.css";</style><![endif]-->
  12. <!--[if IE 6]><style type="text/css">@import "{~ stylepath}/{~ stylename}/IE60Fixes.css";</style><![endif]-->
  13. <!--[if IE 7]><style type="text/css">@import "{~ stylepath}/{~ stylename}/IE70Fixes.css?1";</style><![endif]-->
  14. <!--[if lt IE 7]><script type="{jsmimetype}" src="{~ stylepath}/common/IEFixes.js"></script>
  15. <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
  16. <script type="{jsmimetype}">var skin = '{~ skinname}';var stylepath = '{~ stylepath}';</script>
  17. <script type="{jsmimetype}" src="{~ stylepath}/common/wikibits.js"><!-- wikibits js --></script>
  18. {if jsvarurl {<script type="{jsmimetype}" src="{jsvarurl}"><!-- site js --></script>}}
  19. {if pagecss {<style type="text/css">{pagecss}</style>}}
  20. {usercss}
  21. {sitecss}
  22. {gencss}
  23. {if userjs {<script type="{jsmimetype}" src="{userjs}"></script>}}
  24. {if userjsprev {<script type="{jsmimetype}">{userjsprev}</script>}}
  25. {trackbackhtml}
  26. </head>
  27. <body {if body_ondblclick {ondblclick="{body_ondblclick}"}} {if body_onload {onload="{body_onload}" }} class="{~ nsclass} {~ dir}">
  28. <div id="globalWrapper">
  29. <div id="column-content">
  30. <div id="content">
  31. <a name="top" id="top"></a>
  32. {if sitenotice {<div id="siteNotice">{sitenotice}</div> }}
  33. <h1 class="firstHeading">{title}</h1>
  34. <div id="bodyContent">
  35. <h3 id="siteSub">{msg {tagline}}</h3>
  36. <div id="contentSub">{subtitle}</div>
  37. {if undelete {<div id="contentSub2"><span class="subpages">{undelete}</span></div> }}
  38. {if newtalk {<div class="usermessage">{newtalk}</div> }}
  39. {if showjumplinks {
  40. <div id="jump-to-nav">{msg {jumpto}} <a href="#column-one">{msg {jumptonavigation}}</a>,
  41. <a href="#searchInput">{msg {jumptosearch}}</a></div>
  42. }}
  43. <!-- start content -->
  44. {bodytext}
  45. {if catlinks {<div id="catlinks">{catlinks}</div> }}
  46. <!-- end content -->
  47. <div class="visualClear"></div>
  48. </div>
  49. </div>
  50. </div>
  51. <div id="column-one">
  52. <div id="p-cactions" class="portlet">
  53. <h5>{msg {views}}</h5>
  54. <ul>
  55. {if is_special {
  56. <li id="ca-article" class="selected"><a href="{request_url}">{msg {specialpage}}</a></li>
  57. } {
  58. <li id="ca-{nskey}" {selecttab {subject} subject_newclass}><a href="{subject_url}">{msg nskey}</a></li>
  59. <li id="ca-talk" {selecttab {talk} talk_newclass}><a href="{talk_url}">{msg {talk}}</a></li>
  60. {if can_edit {
  61. {if is_talk {
  62. <li id="ca-edit" {selecttab {edit} {istalk}}><a href="{edit_url}">{msg {edit}}</a></li>
  63. <li id="ca-addsection" {selecttab {addsection}}><a href="{localurl {action=edit&section=new}}">{msg {addsection}}</a></li>
  64. } {
  65. <li id="ca-edit" {selecttab {edit}}><a href="{edit_url}">{msg {edit}}</a></li>
  66. }}
  67. } {
  68. <li id="ca-viewsource" {selecttab {edit}}><a href="{edit_url}">{msg {viewsource}}</a></li>
  69. }}
  70. {if article_exists {
  71. <li id="ca-history" {selecttab {history}}><a href="{localurl {action=history}}">{msg {history_short}}</a></li>
  72. {if {{ is_allowed {protect} }} {
  73. {if is_ns_mediawiki {} {
  74. {if is_protected {
  75. <li id="ca-protect" {selecttab {protect}}><a href="{localurl {action=unprotect}}">{msg {unprotect}}</a></li>
  76. } {
  77. <li id="ca-protect" {selecttab {protect}}><a href="{localurl {action=protect}}">{msg {protect}}</a></li>
  78. }}
  79. }}
  80. }}
  81. {if {{ is_allowed {delete} }} {
  82. <li id="ca-delete" {selecttab {delete}}><a href="{localurl {action=delete}}">{msg {delete}}</a></li>
  83. }}
  84. {if {{ is_allowed {move} }} {
  85. {if can_move {
  86. <li id="ca-move" {selecttab {move}}><a href="{move_url}">{msg {move}}</a></li>
  87. }}
  88. }}
  89. {if is_loggedin {
  90. {if is_watching {
  91. <li id="ca-unwatch" {selecttab {watch}}><a href="{localurl {action=unwatch}}">{msg {unwatch}}</a></li>
  92. } {
  93. <li id="ca-watch" {selecttab {watch}}><a href="{localurl {action=watch}}">{msg {watch}}</a></li>
  94. }}
  95. }}
  96. }}
  97. }}
  98. {extratabs {<li id="ca-$id" $class><a href="$href">$text</a></li>}}
  99. </ul>
  100. </div>
  101. <div class="portlet" id="p-personal">
  102. <h5>{msg {personaltools}}</h5>
  103. <div class="pBody">
  104. <ul>
  105. {personal_urls { <li id="pt-$key" $classactive ><a href="$href" $class>$text</a></li> }}
  106. </ul>
  107. </div>
  108. </div>
  109. <div class="portlet" id="p-logo">
  110. <a style="background-image: url({~ logopath});" href="{mainpage}" title="{msg {mainpage}}"></a>
  111. </div>
  112. <script type="{jsmimetype}"> if (window.isMSIE55) fixalpha(); </script>
  113. {sidebar {
  114. <div class='portlet' id="p-$bar">
  115. <h5>$barname</h5>
  116. <div class='pBody'>
  117. <ul>
  118. } {
  119. </ul>
  120. </div>
  121. </div>
  122. } {<li id="$id" $classactive><a href="$href">$text</a></li>
  123. }
  124. }
  125. <div id="p-search" class="portlet">
  126. <h5><label for="searchInput">{msg {search}}</label></h5>
  127. <div id="searchBody" class="pBody">
  128. <form action="{searchaction}" id="searchform"><div>
  129. <input id="searchInput" name="search" type="text" {
  130. }{if {{fallbackmsg {accesskey-search} {} }} {accesskey="{fallbackmsg {accesskey-search} {} }"}}{
  131. }{if search { value="{search}"}} />
  132. <input type='submit' name="go" class="searchButton" id="searchGoButton" value="{msg {go}}" />&nbsp;
  133. <input type='submit' name="fulltext" class="searchButton" value="{msg {search}}" />
  134. </div></form>
  135. </div>
  136. </div>
  137. <div class="portlet" id="p-tb">
  138. <h5>{msg {toolbox}}</h5>
  139. <div class="pBody">
  140. <ul>
  141. {if notspecialpage {<li id="t-whatlinkshere"><a href="{nav_whatlinkshere}">{msg {whatlinkshere}}</a></li> }}
  142. {if article_exists {<li id="t-recentchangeslinked"><a href="{nav_recentchangeslinked}">{msg {recentchangeslinked}}</a></li> }}
  143. {if nav_trackbacklink {<li id="t-trackbacklink"><a href="{nav_trackbacklink}">{msg {trackbacklink}}</a></li>}}
  144. {if feeds
  145. {<li id="feedlinks">{feeds {<span id="feed-$key"><a href="$href">$text</a>&nbsp;</span>}}
  146. </li>}}
  147. {if is_userpage {
  148. <li id="t-contributions"><a href="{nav_contributions}">{msg {contributions}}</a></li>
  149. {if {{is_allowed {block}}} {<li id="t-blockip"><a href="{nav_blockip}">{msg {blockip}}</a></li>}}
  150. {if is_loggedin {<li id="t-emailuser"><a href="{nav_emailuser}">{msg {emailuser}}</a></li>}}
  151. }}
  152. {if nav_upload {<li id="t-upload"><a href="{nav_upload}">{msg {upload}}</a></li>}}
  153. {if nav_specialpages {<li id="t-specialpages"><a href="{nav_specialpages}">{msg {specialpages}}</a></li>}}
  154. {if nav_print {<li id="t-print"><a href="{nav_print}">{msg {printableversion}}</a></li>}}
  155. {if nav_permalink {<li id="t-permalink"><a href="{nav_permalink}">{msg {permalink}}</a></li>}}
  156. {if is_permalink {<li id="t-ispermalink">{msg {permalink}}</li>}}
  157. {toolboxend}
  158. </ul>
  159. </div>
  160. </div>
  161. {language_urls {
  162. <div id="p-lang" class="portlet">
  163. <h5>{msg {otherlanguages}}</h5>
  164. <div class="pBody">
  165. <ul>
  166. $body
  167. </ul>
  168. </div>
  169. </div>
  170. } {
  171. <li class="$class"><a href="$href">$text</a></li>
  172. }}
  173. </div><!-- end of the left (by default at least) column -->
  174. <div class="visualClear"></div>
  175. <div id="footer">
  176. {if poweredbyico { <div id="f-poweredbyico">{poweredbyico}</div> }}
  177. {if copyrightico { <div id="f-copyrightico">{copyrightico}</div> }}
  178. <ul id="f-list">
  179. {if lastmod { <li id="lastmod">{lastmod}</li> }}
  180. {if viewcount { <li id="viewcount">{viewcount}</li> }}
  181. {if numberofwatchingusers { <li id="numberofwatchingusers">{numberofwatchingusers}</li> }}
  182. {if credits { <li id="credits">{credits}</li> }}
  183. {if is_currentview { <li id="copyright">{normalcopyright}</li> }}
  184. {if usehistorycopyright { <li id="copyright">{historycopyright}</li> }}
  185. {if privacy { <li id="privacy">{privacy}</li> }}
  186. {if about { <li id="about">{about}</li> }}
  187. {if disclaimer { <li id="disclaimer">{disclaimer}</li> }}
  188. {if tagline { <li id="tagline">{tagline}</li> }}
  189. </ul>
  190. </div>
  191. <script type="text/javascript"> if (window.runOnloadHook) runOnloadHook();</script>
  192. </div>
  193. {reporttime}
  194. {if {} { vim: set syn=html ts=2 : }}
  195. </body></html>