File:  [NetBSD Developer Wiki] / wikisrc / templates / page.tmpl
Revision 1.4: download - view: text, annotated - select for diffs
Sun May 16 15:52:50 2010 UTC (10 years, 9 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Track upstream changes for 3.20100515:
* Set <base> when BASEURL or FORCEBASEURL is set.
* Wrap the footer in <TMPL_UNLESS DYNAMIC> ... </TMPL_UNLESS>.

    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="<TMPL_VAR BASEURL>style.css" type="text/css" />
   17: <link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
   18: <TMPL_IF NAME="EDITURL">
   19: <link rel="alternate" type="application/x-wiki" title="Edit this page" href="<TMPL_VAR EDITURL>" />
   20: </TMPL_IF>
   21: <TMPL_IF NAME="FEEDLINKS"><TMPL_VAR FEEDLINKS></TMPL_IF>
   22: <TMPL_IF NAME="RELVCS"><TMPL_VAR RELVCS></TMPL_IF>
   23: <TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
   24: </head>
   25: <body>
   26:     <div id="header">
   27:       <div class="topNavigation">
   28: 	<span>&raquo;</span> <a href="http://www.NetBSD.org/docs/guide/en/">The Guide</a> | <a href="http://man.NetBSD.org">Manual pages</a> | <a href="http://www.NetBSD.org/mailinglists/">Mailing lists</a> and <a href="http://mail-index.NetBSD.org/">Archives</a> | <a href="http://cvsweb.NetBSD.org/">CVS repository</a> | <a href="http://www.NetBSD.org/cgi-bin/sendpr.cgi?gndb=netbsd">Report</a> or <a href="http://gnats.NetBSD.org/">query</a> a bug | <a href="http://www.NetBSD.org/docs/software/packages.html">Software Packages</a></div>
   29:       <div class="centralHeader">
   30: 	<a href="/"><img height="90" width="506" alt="[NetBSD Logo]" src="http://www.netbsd.org/images/NetBSD-headerlogo.png"/></a>
   31: 	<div class="headerTools">
   32: 	  <br/>
   33: 	    <div id="headerSearch">
   34: <TMPL_IF NAME="SEARCHFORM">
   35: <TMPL_VAR SEARCHFORM>
   36: </TMPL_IF>
   37: 	  </div>
   38: 	</div>
   39:       </div>
   40:       <div class="navBar">
   41: 	<a title="Home" href="http://www.netbsd.org/">Home</a>&nbsp;|&nbsp;
   42: 	<a href="http://www.netbsd.org/about/">About</a>&nbsp;|&nbsp;
   43: 	<a href="http://www.netbsd.org/gallery/">Gallery</a>&nbsp;|&nbsp;
   44: 	<a href="http://www.netbsd.org/releases/">Download</a>&nbsp;|&nbsp;
   45: 	<a href="http://www.netbsd.org/docs/">Documentation</a>&nbsp;|&nbsp;
   46: 	<a href="http://www.netbsd.org/support/">Support</a>&nbsp;|&nbsp;
   47: 	<a href="http://www.netbsd.org/community/">Community</a>&nbsp;|&nbsp;
   48: 	<a href="http://www.netbsd.org/ports/">Ports</a>&nbsp;
   49:       </div>
   50:  
   51:       	  <TMPL_IF NAME="HAVE_ACTIONS">
   52: 		  <div class="actions">
   53: 		    <ul>
   54: 		      <TMPL_IF NAME="EDITURL">
   55: 			<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">Edit</a></li>
   56: 		      </TMPL_IF>
   57: 		      <TMPL_IF NAME="HISTORYURL">
   58: 			<li><a href="<TMPL_VAR HISTORYURL>">History</a></li>
   59: 		      </TMPL_IF>
   60: 		      <TMPL_IF NAME="GETSOURCEURL">
   61: 			<li><a href="<TMPL_VAR GETSOURCEURL>">Source</a></li>
   62: 		      </TMPL_IF>
   63: 		      <TMPL_IF NAME="PREFSURL">
   64: 			<li><a href="<TMPL_VAR PREFSURL>">Preferences</a></li>
   65: 		      </TMPL_IF>
   66: 		      <TMPL_IF NAME="RECENTCHANGESURL">
   67: 			<li><a href="<TMPL_VAR RECENTCHANGESURL>">RecentChanges</a></li>
   68: 		      </TMPL_IF>
   69: 		    </ul>
   70: 		  </div>
   71:     </div>
   72: 
   73: <div class="pageheader">
   74: <div class="header">
   75: <span>
   76: <span class="parentlinks">
   77: <TMPL_LOOP NAME="PARENTLINKS"><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/</TMPL_LOOP>
   78: </span>
   79: <span class="title">
   80: <TMPL_VAR TITLE>
   81: <TMPL_IF NAME="ISTRANSLATION">
   82: &nbsp;(<TMPL_VAR NAME="PERCENTTRANSLATED">%)
   83: </TMPL_IF>
   84: </span>
   85: </span><!--.header-->
   86: </div>
   87: </div>
   88: 
   89: <TMPL_IF SIDEBAR>
   90: <div id="sidebar">
   91: <TMPL_VAR SIDEBAR>
   92: </div>
   93: </TMPL_IF>
   94: 
   95: <div id="content">
   96: <TMPL_UNLESS NAME="DISCUSSIONLINK">
   97: This is a discussion page. Its contents have not been vetted by developers.<br />
   98: </TMPL_UNLESS>
   99: <TMPL_VAR CONTENT>
  100: </div>
  101: 
  102: <TMPL_IF COMMENTS>
  103: <div id="comments">
  104: <TMPL_VAR COMMENTS>
  105: <TMPL_IF ADDCOMMENTURL>
  106: <div class="addcomment">
  107: <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  108: </div>
  109: <TMPL_ELSE>
  110: <div class="addcomment">Comments on this page are closed.</div>
  111: </TMPL_IF>
  112: </div>
  113: </TMPL_IF>
  114: 
  115: <div id="footer" class="pagefooter">
  116: <TMPL_UNLESS DYNAMIC>
  117: <div id="pageinfo">
  118: 
  119: 		      <TMPL_IF NAME="COMMENTSLINK">
  120: 			<li><TMPL_VAR COMMENTSLINK><br /></li>
  121: 			  <TMPL_ELSE>
  122: 			    <TMPL_IF NAME="DISCUSSIONLINK">
  123: 			      <TMPL_VAR DISCUSSIONLINK><br />
  124: 			      </TMPL_IF>
  125: 			    </TMPL_IF>
  126: 		      </TMPL_IF>
  127: 
  128: <TMPL_IF NAME="TAGS">
  129: <div class="tags">
  130: Tags:
  131: <TMPL_LOOP NAME="TAGS">
  132: <TMPL_VAR LINK>
  133: </TMPL_LOOP>
  134: </div>
  135: </TMPL_IF>
  136: 
  137: <TMPL_IF NAME="BACKLINKS">
  138: <div id="backlinks">
  139: Links:
  140: <TMPL_LOOP NAME="BACKLINKS">
  141: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  142: </TMPL_LOOP>
  143: <TMPL_IF NAME="MORE_BACKLINKS">
  144: <span class="popup">...
  145: <span class="balloon">
  146: <TMPL_LOOP NAME="MORE_BACKLINKS">
  147: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  148: </TMPL_LOOP>
  149: </span>
  150: </span>
  151: </TMPL_IF>
  152: </div><!-- #backlinks -->
  153: </TMPL_IF>
  154: 
  155: <TMPL_IF LICENSE>
  156: <div class="pagelicense">
  157: <a name="pagelicense"></a>
  158: License: <TMPL_VAR LICENSE>
  159: </div>
  160: </TMPL_IF>
  161: 
  162: <div class="pagedate">
  163: Last edited <TMPL_VAR MTIME>
  164: <!-- Created <TMPL_VAR CTIME> -->
  165: </div>
  166: 
  167: </div><!-- #pageinfo -->
  168: <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  169: </TMPL_UNLESS>
  170: <!-- from <TMPL_VAR WIKINAME> -->
  171: </div><!-- .pagefooter #footer -->
  172: 
  173: <TMPL_IF COPYRIGHT>
  174: <TMPL_VAR COPYRIGHT>
  175:     <div class="rowOfBoxes">
  176:       <div id="footer">
  177:         <div id="footerLogo">
  178:           <a href="http://www.isc.org/"><img src="images/hosted-isc.png"
  179:              alt="wiki.NetBSD.org is hosted at ISC"
  180:              border="0" width="84" height="41"/></a>
  181:         </div>
  182:         <div id="footerContent">
  183:           <span class="footfeed">
  184:             <a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
  185:               Contact</a> |
  186:           </span>
  187:           <span class="footcopy"><a href="about/disclaimer.html">
  188:             Disclaimer</a> |
  189:             <span class="copyright">
  190:               Copyright &copy; 2009-2010 The NetBSD Foundation, Inc.
  191:             </span>
  192:             ALL
  193:             RIGHTS RESERVED. <br /> NetBSD<sup>&reg;</sup> is a registered
  194:             trademark of The NetBSD Foundation, Inc.
  195:           </span>
  196:         </div>
  197:       </div>
  198:     </div>
  199: </TMPL_IF>
  200: 
  201: </body>
  202: </html>

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