File:  [NetBSD Developer Wiki] / wikisrc / templates / page.tmpl
Revision 1.7: download - view: text, annotated - select for diffs
Thu Jul 1 01:49:35 2010 UTC (10 years, 10 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Apply margin to inline discussion. When the discussion subpage
doesn't exist yet, provide the DISCUSSIONLINK (XXX we want URL
instead). The footer's "Discussion" link has become vestigial;
remove.

    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_VAR CONTENT>
   97: </div>
   98: 
   99: <div id="comments">
  100: <hr />
  101: <TMPL_IF NAME="COMMENTEDITURL">
  102: <a href="<TMPL_VAR COMMENTEDITURL>" rel="nofollow">Edit</a><br />
  103: <TMPL_ELSE>
  104: <TMPL_IF NAME="DISCUSSIONLINK">
  105: <TMPL_VAR DISCUSSIONLINK><br />
  106: </TMPL_IF>
  107: </TMPL_IF>
  108: <TMPL_IF COMMENTS>
  109: <TMPL_VAR COMMENTS>
  110: <TMPL_IF ADDCOMMENTURL>
  111: <div class="addcomment">
  112: <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  113: </div>
  114: <TMPL_ELSE>
  115: <div class="addcomment">Comments on this page are closed.</div>
  116: </TMPL_IF>
  117: </div>
  118: </TMPL_IF>
  119: 
  120: 		      </TMPL_IF>
  121: 
  122: <div id="footer" class="pagefooter">
  123: <TMPL_UNLESS DYNAMIC>
  124: <div id="pageinfo">
  125: 
  126: 		      <TMPL_IF NAME="COMMENTSLINK">
  127: 			<li><TMPL_VAR COMMENTSLINK><br /></li>
  128: 			    </TMPL_IF>
  129: 
  130: <TMPL_IF NAME="TAGS">
  131: <div class="tags">
  132: Tags:
  133: <TMPL_LOOP NAME="TAGS">
  134: <TMPL_VAR LINK>
  135: </TMPL_LOOP>
  136: </div>
  137: </TMPL_IF>
  138: 
  139: <TMPL_IF NAME="BACKLINKS">
  140: <div id="backlinks">
  141: Links:
  142: <TMPL_LOOP NAME="BACKLINKS">
  143: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  144: </TMPL_LOOP>
  145: <TMPL_IF NAME="MORE_BACKLINKS">
  146: <span class="popup">...
  147: <span class="balloon">
  148: <TMPL_LOOP NAME="MORE_BACKLINKS">
  149: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  150: </TMPL_LOOP>
  151: </span>
  152: </span>
  153: </TMPL_IF>
  154: </div><!-- #backlinks -->
  155: </TMPL_IF>
  156: 
  157: <TMPL_IF LICENSE>
  158: <div class="pagelicense">
  159: <a name="pagelicense"></a>
  160: License: <TMPL_VAR LICENSE>
  161: </div>
  162: </TMPL_IF>
  163: 
  164: <div class="pagedate">
  165: Last edited <TMPL_VAR MTIME>
  166: <!-- Created <TMPL_VAR CTIME> -->
  167: </div>
  168: 
  169: </div><!-- #pageinfo -->
  170: <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  171: </TMPL_UNLESS>
  172: <!-- from <TMPL_VAR WIKINAME> -->
  173: </div><!-- .pagefooter #footer -->
  174: 
  175: <TMPL_IF COPYRIGHT>
  176: <TMPL_VAR COPYRIGHT>
  177:     <div class="rowOfBoxes">
  178:       <div id="footer">
  179:         <div id="footerLogo">
  180:           <a href="http://www.isc.org/"><img src="images/hosted-isc.png"
  181:              alt="wiki.NetBSD.org is hosted at ISC"
  182:              border="0" width="84" height="41"/></a>
  183:         </div>
  184:         <div id="footerContent">
  185:           <span class="footfeed">
  186:             <a href="http://www.NetBSD.org/cgi-bin/feedback.cgi">
  187:               Contact</a> |
  188:           </span>
  189:           <span class="footcopy"><a href="about/disclaimer.html">
  190:             Disclaimer</a> |
  191:             <span class="copyright">
  192:               Copyright &copy; 2009-2010 The NetBSD Foundation, Inc.
  193:             </span>
  194:             ALL
  195:             RIGHTS RESERVED. <br /> NetBSD<sup>&reg;</sup> is a registered
  196:             trademark of The NetBSD Foundation, Inc.
  197:           </span>
  198:         </div>
  199:       </div>
  200:     </div>
  201: </TMPL_IF>
  202: 
  203: </body>
  204: </html>

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