File:  [NetBSD Developer Wiki] / wikisrc / templates / page.tmpl
Revision 1.47: download - view: text, annotated - select for diffs
Mon Jun 25 13:49:24 2018 UTC (2 years, 8 months ago) by leot
Branches: MAIN
CVS tags: HEAD
Rework a bit the id/class used for footers to make it more consistent with www.n.o.

Every wiki page actually have two footers, previously, from top to bottom:
 - #footer: wiki footer
 - #footer2: main footer (similar to the one used on www.n.o)

This lead to confusion due CSS style sharing with www.n.o and the wiki footer
was actually treated as the main footer. Adjust that in order to minimize
differences and more possible CSS style sharing, now the two footers are
respectively:
 - .pagefooter: wiki footer
 - #footer: main footer

Possible further styling of the wiki footer should be done in .pagefooter to
preserve CSS style sharing (if needed we can add a `#wikifooter' or something
similar if an `id' is needed).

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    2:  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    3: <html xmlns="http://www.w3.org/1999/xhtml">
    4: <head>
    5: <TMPL_IF DYNAMIC>
    6: <TMPL_IF FORCEBASEURL><base href="<TMPL_VAR FORCEBASEURL>" /><TMPL_ELSE>
    7: <TMPL_IF BASEURL><base href="<TMPL_VAR BASEURL>" /></TMPL_IF>
    8: </TMPL_IF>
    9: </TMPL_IF>
   10: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   11: <meta http-equiv="Cache-Control" content="must-revalidate" />
   12: <title><TMPL_VAR TITLE></title>
   13: <TMPL_IF NAME="FAVICON">
   14: <link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
   15: </TMPL_IF>
   16: <link rel="stylesheet" href="//wiki.netbsd.org/global.css" type="text/css" />
   17: <link rel="stylesheet" href="//wiki.netbsd.org/style.css" type="text/css" />
   18: <TMPL_IF LOCAL_CSS>
   19: <link rel="stylesheet" href="<TMPL_VAR BASEURL><TMPL_VAR LOCAL_CSS>" type="text/css" />
   20: <TMPL_ELSE>
   21: <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
   22: </TMPL_IF>
   23: 
   24: <TMPL_IF NAME="EDITURL">
   25: <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
   26: </TMPL_IF>
   27: <TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
   28: <TMPL_IF NAME="RELVCS"><TMPL_VAR RELVCS></TMPL_IF>
   29: <TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
   30: </head>
   31: <body>
   32:     <div id="centralHeader">
   33:       <div id="logo">
   34:         <a href="//www.NetBSD.org/"><img src="//www.NetBSD.org/images/NetBSD-smaller.png" alt="[NetBSD Logo]"/></a>
   35:         <div id="name"><a href="//www.NetBSD.org/">The NetBSD Project</a></div>
   36:         <div id="slogan"><a href="//www.NetBSD.org/">&ldquo;Of course it runs NetBSD&rdquo;</a></div>
   37:       </div>
   38:     </div>
   39: 
   40:     <div id="navBar" role="navigation">
   41: 	<span class="doNotDisplay">
   42:           Navigation:
   43:         </span>
   44: 	<ul>
   45: 	<li><a href="//www.NetBSD.org/">
   46: 		  WWW Home</a></li>
   47: 	<li>
   48: 	<a href="//www.NetBSD.org/">
   49: 		  News &amp; Media</a><ul>
   50: 	<li><a href="//www.NetBSD.org//changes/">
   51: 		    Recent changes</a></li>
   52: 	<li><a href="//blog.NetBSD.org/">
   53: 		    NetBSD blog</a></li>
   54: 	<li><a href="//www.NetBSD.org/gallery/events.html">
   55: 		    Events</a></li>
   56: 	<li><a href="//www.NetBSD.org/changes/rss.html">
   57: 		    Feeds</a></li>
   58: 	</ul>
   59: 	</li>
   60: 	<li>
   61: 	<a href="//www.NetBSD.org/about/">
   62: 		  About</a><ul>
   63: 	<li><a href="//www.NetBSD.org/about/">
   64: 		    NetBSD</a></li>
   65: 	<li><a href="//www.NetBSD.org/people/developers.html">
   66: 		    NetBSD developers</a></li>
   67: 	<li><a href="//www.NetBSD.org/gallery/">
   68: 		    Advocacy</a></li>
   69: 	</ul>
   70: 	</li>
   71: 	<li>
   72: 	<a href="//www.NetBSD.org/docs/">
   73: 		  Documentation</a><ul>
   74: 	<li><a href="//www.NetBSD.org/docs/misc/index.html">
   75: 		    FAQ &amp; HOWTOs</a></li>
   76: 	<li><a href="//www.NetBSD.org/docs/guide/en/">
   77: 		    The Guide</a></li>
   78: 	<li><a href="http://man.NetBSD.org/">
   79: 		    Manual pages</a></li>
   80: 	<li><a href="//wiki.NetBSD.org/">
   81: 		    Wiki</a></li>
   82: 	</ul>
   83: 	</li>
   84: 	<li>
   85: 	<a href="//www.NetBSD.org/support/">
   86: 		  Support</a><ul>
   87: 	<li><a href="//www.NetBSD.org/support/send-pr.html">
   88: 		    Problem report guide</a></li>
   89: 	<li><a href="//www.NetBSD.org/cgi-bin/sendpr.cgi?gndb=netbsd">
   90: 		    Report a bug</a></li>
   91: 	<li><a href="//www.NetBSD.org/support/query-pr.html">
   92: 		    Query bug database</a></li>
   93: 	<li><a href="//www.NetBSD.org/support/security/">
   94: 		    Security</a></li>
   95: 	</ul>
   96: 	</li>
   97: 	<li>
   98: 	<a href="//www.NetBSD.org/community/">
   99: 		  Community</a><ul>
  100: 	<li><a href="//netbsd.fi/">
  101: 		    Blogs</a></li>
  102: 	<li><a href="//www.NetBSD.org/mailinglists/">
  103: 		    Mailing lists</a></li>
  104: 	<li><a href="//mail-index.NetBSD.org/">
  105: 		    List archives</a></li>
  106: 	</ul>
  107: 	</li>
  108: 	<li>
  109: 	<a href="//www.NetBSD.org/developers/">
  110: 		  Developers</a><ul>
  111: 	<li><a href="http://cvsweb.NetBSD.org/">
  112: 		    Browse source</a></li>
  113: 	<li><a href="//nxr.NetBSD.org/">
  114: 		    Cross-reference</a></li>
  115: 	<li><a href="//releng.NetBSD.org/">
  116: 		    Release engineering</a></li>
  117: 	<li><a href="//wiki.NetBSD.org/projects/">
  118: 		    Projects list</a></li>
  119: 	</ul>
  120: 	</li>
  121: 	<li>
  122: 	<a href="//www.NetBSD.org/ports/">
  123: 		  Ports</a><ul>
  124: 	<li><a href="//www.NetBSD.org/ports/history.html">
  125: 		    History</a></li>
  126: 	<li><a href="//www.NetBSD.org/ports/emulators.html">
  127: 		    Emulators</a></li>
  128: 	</ul>
  129: 	</li>
  130: 	<li>
  131: 	<a href="//www.pkgsrc.org/">
  132: 		Packages</a><ul>
  133: 	<li><a href="http://www.pkgsrc.se/">
  134: 		    Browse packages</a></li>
  135: 	<li><a href="//releng.NetBSD.org/index-pkgsrc.html">
  136: 		    Release engineering</a></li>
  137: 	</ul>
  138: 	</li>
  139: 	<li>
  140: 	<a href="<TMPL_VAR BASEURL>">
  141: 		Wiki</a><ul>
  142: 		<TMPL_IF NAME="HAVE_ACTIONS">
  143: 			<TMPL_IF NAME="EDITURL">
  144: 			<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">
  145: 				    Edit</a></li>
  146: 			</TMPL_IF>
  147: 			<TMPL_IF NAME="COMMENTSLINK">
  148: 			<li><TMPL_VAR COMMENTSLINK></li>
  149: 			</TMPL_IF>
  150: 			<TMPL_IF NAME="GETSOURCEURL">
  151: 			<li><a href="<TMPL_VAR GETSOURCEURL>">
  152: 				    Source</a></li>
  153: 			</TMPL_IF>
  154: 			<TMPL_IF NAME="HISTORYURL">
  155: 			<li><a href="<TMPL_VAR HISTORYURL>">
  156: 				    History</a></li>
  157: 			</TMPL_IF>
  158: 			<li><a href="<TMPL_VAR BASEURL>wiki/new_page" rel="nofollow">
  159: 				    New</a></li>
  160: 			<TMPL_IF NAME="RECENTCHANGESURL">
  161: 			<li><a href="<TMPL_VAR RECENTCHANGESURL>">
  162: 				    Recent Changes</a></li>
  163: 			</TMPL_IF>
  164: 		</TMPL_IF>
  165: 	</ul>
  166: 	</li>
  167: 	<li id="searchform">
  168: 		<TMPL_IF NAME="SEARCHFORM">
  169: 		<TMPL_VAR SEARCHFORM>
  170: 		</TMPL_IF>
  171: 	</li>
  172: 	</ul>
  173:     </div>
  174: <div class="pageheader">
  175: <div class="header">
  176: <span>
  177: <span class="parentlinks">
  178: <TMPL_LOOP NAME="PARENTLINKS"><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/</TMPL_LOOP>
  179: </span>
  180: <span class="title">
  181: <TMPL_VAR TITLE>
  182: <TMPL_IF NAME="ISTRANSLATION">
  183: &nbsp;(<TMPL_VAR NAME="PERCENTTRANSLATED">%)
  184: </TMPL_IF>
  185: </span>
  186: </span><!--.header-->
  187: </div>
  188: </div>
  189: 
  190: <TMPL_IF SIDEBAR>
  191: <div id="sidebar">
  192: <TMPL_VAR SIDEBAR>
  193: </div>
  194: </TMPL_IF>
  195: 
  196: <div id="content">
  197: <TMPL_VAR CONTENT>
  198: </div>
  199: 
  200: <TMPL_UNLESS DYNAMIC>
  201: <TMPL_IF COMMENTS>
  202: <div id="comments">
  203: <TMPL_VAR COMMENTS>
  204: <TMPL_IF ADDCOMMENTURL>
  205: <div class="addcomment">
  206: <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  207: </div>
  208: <TMPL_ELSE>
  209: <div class="addcomment">Comments on this page are closed.</div>
  210: </TMPL_IF>
  211: </div>
  212: </TMPL_IF>
  213: </TMPL_UNLESS>
  214: 
  215: <div class="pagefooter">
  216: <TMPL_UNLESS DYNAMIC>
  217: <div id="pageinfo">
  218: <TMPL_IF NAME="TAGS">
  219: <div class="tags">
  220: Tags:
  221: <TMPL_LOOP NAME="TAGS">
  222: <TMPL_VAR LINK>
  223: </TMPL_LOOP>
  224: </div>
  225: </TMPL_IF>
  226: 
  227: <TMPL_IF NAME="BACKLINKS">
  228: <div id="backlinks">
  229: Links:
  230: <TMPL_LOOP NAME="BACKLINKS">
  231: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  232: </TMPL_LOOP>
  233: <TMPL_IF NAME="MORE_BACKLINKS">
  234: <span class="popup">...
  235: <span class="balloon">
  236: <TMPL_LOOP NAME="MORE_BACKLINKS">
  237: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  238: </TMPL_LOOP>
  239: </span>
  240: </span>
  241: </TMPL_IF>
  242: </div><!-- #backlinks -->
  243: </TMPL_IF>
  244: 
  245: <TMPL_IF LICENSE>
  246: <div class="pagelicense">
  247: <a name="pagelicense"></a>
  248: License: <TMPL_VAR LICENSE>
  249: </div>
  250: </TMPL_IF>
  251: 
  252: <div class="pagedate">
  253: Last edited <TMPL_VAR MTIME>
  254: <!-- Created <TMPL_VAR CTIME> -->
  255: </div>
  256: 
  257: <TMPL_IF NAME="HAVE_ACTIONS">
  258: <TMPL_IF NAME="PREFSURL">
  259: <a href="<TMPL_VAR PREFSURL>">Preferences | Logout</a>
  260: </TMPL_IF>
  261: </TMPL_IF>
  262: 
  263: </div><!-- #pageinfo -->
  264: <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  265: </TMPL_UNLESS>
  266: <!-- from <TMPL_VAR WIKINAME> -->
  267: </div><!-- .pagefooter -->
  268: 
  269: <div id="footer">
  270:   <div id="footerContent">
  271:     <span class="footfeed">
  272:       <a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
  273:         Contact</a> |
  274:     </span>
  275:     <span class="footcopy"><a href="about/disclaimer.html">
  276:       Disclaimer</a> |
  277:       <span class="copyright">
  278:         Copyright &copy; 1994-2018 The NetBSD Foundation, Inc.
  279:       </span>
  280:       ALL
  281:       RIGHTS RESERVED. <br /> NetBSD<sup>&reg;</sup> is a registered
  282:       trademark of The NetBSD Foundation, Inc.
  283:     </span>
  284:   </div>
  285: </div>
  286: 
  287: </body>
  288: </html>

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb