File:  [NetBSD Developer Wiki] / wikisrc / templates / page.tmpl
Revision 1.5: download - view: text, annotated - select for diffs
Sun May 16 16:03:11 2010 UTC (10 years, 9 months ago) by schmonz
Branches: MAIN
CVS tags: HEAD
Make <TMPL_IF></TMPL_IF> balance. This template needs some indentation.

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

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