File:  [NetBSD Developer Wiki] / wikisrc / templates / page.tmpl
Revision 1.39: download - view: text, annotated - select for diffs
Sun Jun 24 18:03:23 2018 UTC (2 years, 10 months ago) by maya
Branches: MAIN
CVS tags: HEAD
try to quiet errors about not having a matched endif.

the matching "endif" was far ahead, add a second if to things previously
guarded by "TMPL_IF HAVE_ACTIONS"

the menu will have a 'wiki' entry without a drop down menu if the statement
is false.

    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 id="headerTools">
   39: 	<div id="headerSearch">
   40: <TMPL_IF NAME="SEARCHFORM">
   41: <TMPL_VAR SEARCHFORM>
   42: </TMPL_IF>
   43: 	</div>
   44:       </div>
   45:     </div>
   46: 
   47:     <div id="navBar" role="navigation">
   48: 	<span class="doNotDisplay">
   49:           Navigation:
   50:         </span>
   51: 	<ul>
   52: 	<li><a href="//www.NetBSD.org/">
   53: 		  WWW Home</a></li>
   54: 	<li>
   55: 	<a href="//www.NetBSD.org/">
   56: 		  News &amp; Media</a><ul>
   57: 	<li><a href="//www.NetBSD.org//changes/">
   58: 		    Recent changes</a></li>
   59: 	<li><a href="//blog.NetBSD.org/">
   60: 		    NetBSD blog</a></li>
   61: 	<li><a href="//www.NetBSD.org/gallery/events.html">
   62: 		    Events</a></li>
   63: 	<li><a href="//www.NetBSD.org/changes/rss.html">
   64: 		    Feeds</a></li>
   65: 	</ul>
   66: 	</li>
   67: 	<li>
   68: 	<a href="//www.NetBSD.org/about/">
   69: 		  About</a><ul>
   70: 	<li><a href="//www.NetBSD.org/about/">
   71: 		    NetBSD</a></li>
   72: 	<li><a href="//www.NetBSD.org/people/developers.html">
   73: 		    NetBSD developers</a></li>
   74: 	<li><a href="//www.NetBSD.org/gallery/">
   75: 		    Advocacy</a></li>
   76: 	</ul>
   77: 	</li>
   78: 	<li>
   79: 	<a href="//www.NetBSD.org/docs/">
   80: 		  Documentation</a><ul>
   81: 	<li><a href="//www.NetBSD.org/docs/misc/index.html">
   82: 		    FAQ &amp; HOWTOs</a></li>
   83: 	<li><a href="//www.NetBSD.org/docs/guide/en/">
   84: 		    The Guide</a></li>
   85: 	<li><a href="http://man.NetBSD.org/">
   86: 		    Manual pages</a></li>
   87: 	<li><a href="//wiki.NetBSD.org/">
   88: 		    Wiki</a></li>
   89: 	</ul>
   90: 	</li>
   91: 	<li>
   92: 	<a href="//www.NetBSD.org/support/">
   93: 		  Support</a><ul>
   94: 	<li><a href="//www.NetBSD.org/support/send-pr.html">
   95: 		    Problem report guide</a></li>
   96: 	<li><a href="//www.NetBSD.org/cgi-bin/sendpr.cgi?gndb=netbsd">
   97: 		    Report a bug</a></li>
   98: 	<li><a href="//www.NetBSD.org/support/query-pr.html">
   99: 		    Query bug database</a></li>
  100: 	<li><a href="//www.NetBSD.org/support/security/">
  101: 		    Security</a></li>
  102: 	</ul>
  103: 	</li>
  104: 	<li>
  105: 	<a href="//www.NetBSD.org/community/">
  106: 		  Community</a><ul>
  107: 	<li><a href="//netbsd.fi/">
  108: 		    Blogs</a></li>
  109: 	<li><a href="//www.NetBSD.org/mailinglists/">
  110: 		    Mailing lists</a></li>
  111: 	<li><a href="//mail-index.NetBSD.org/">
  112: 		    List archives</a></li>
  113: 	</ul>
  114: 	</li>
  115: 	<li>
  116: 	<a href="//www.NetBSD.org/developers/">
  117: 		  Developers</a><ul>
  118: 	<li><a href="http://cvsweb.NetBSD.org/">
  119: 		    Browse source</a></li>
  120: 	<li><a href="//nxr.NetBSD.org/">
  121: 		    Cross-reference</a></li>
  122: 	<li><a href="//releng.NetBSD.org/">
  123: 		    Release engineering</a></li>
  124: 	<li><a href="//wiki.NetBSD.org/projects/">
  125: 		    Projects list</a></li>
  126: 	</ul>
  127: 	</li>
  128: 	<li>
  129: 	<a href="//www.NetBSD.org/ports/">
  130: 		  Ports</a><ul>
  131: 	<li><a href="//www.NetBSD.org/ports/history.html">
  132: 		    History</a></li>
  133: 	<li><a href="//www.NetBSD.org/ports/emulators.html">
  134: 		    Emulators</a></li>
  135: 	</ul>
  136: 	</li>
  137: 	<li>
  138: 	<a href="//www.pkgsrc.org/">
  139: 		Packages</a><ul>
  140: 	<li><a href="http://www.pkgsrc.se/">
  141: 		    Browse packages</a></li>
  142: 	<li><a href="//releng.NetBSD.org/index-pkgsrc.html">
  143: 		    Release engineering</a></li>
  144: 	</ul>
  145: 	</li>
  146: 	<li>
  147: 	<a href="<TMPL_VAR BASEURL>">
  148: 		Wiki</a><ul>
  149: 		<TMPL_IF NAME="HAVE_ACTIONS">
  150: 			<TMPL_IF NAME="EDITURL">
  151: 			<li><a href="<TMPL_VAR EDITURL>" rel="nofollow">
  152: 				    Edit</a></li>
  153: 			</TMPL_IF>
  154: 			<TMPL_IF NAME="COMMENTSLINK">
  155: 			<li><TMPL_VAR COMMENTSLINK></li>
  156: 			</TMPL_IF>
  157: 			<TMPL_IF NAME="GETSOURCEURL">
  158: 			<li><a href="<TMPL_VAR GETSOURCEURL>">
  159: 				    Source</a></li>
  160: 			</TMPL_IF>
  161: 			<TMPL_IF NAME="HISTORYURL">
  162: 			<li><a href="<TMPL_VAR HISTORYURL>">
  163: 				    History</a></li>
  164: 			</TMPL_IF>
  165: 			<li><a href="<TMPL_VAR BASEURL>wiki/new_page" rel="nofollow">
  166: 				    New</a></li>
  167: 			<TMPL_IF NAME="RECENTCHANGESURL">
  168: 			<li><a href="<TMPL_VAR RECENTCHANGESURL>">
  169: 				    Recent Changes</a></li>
  170: 			</TMPL_IF>
  171: 		</TMPL_IF>
  172: 	</ul>
  173: 	</li>
  174: 	</ul>
  175:     </div>
  176: <TMPL_IF NAME="HAVE_ACTIONS">
  177: <div class="pageheader">
  178: <div class="header">
  179: <span>
  180: <span class="parentlinks">
  181: <TMPL_LOOP NAME="PARENTLINKS"><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>/</TMPL_LOOP>
  182: </span>
  183: <span class="title">
  184: <TMPL_VAR TITLE>
  185: <TMPL_IF NAME="ISTRANSLATION">
  186: &nbsp;(<TMPL_VAR NAME="PERCENTTRANSLATED">%)
  187: </TMPL_IF>
  188: </span>
  189: </span><!--.header-->
  190: </div>
  191: </div>
  192: 
  193: <TMPL_IF SIDEBAR>
  194: <div id="sidebar">
  195: <TMPL_VAR SIDEBAR>
  196: </div>
  197: </TMPL_IF>
  198: 
  199: <div id="content">
  200: <TMPL_VAR CONTENT>
  201: </div>
  202: 
  203: <TMPL_UNLESS DYNAMIC>
  204: <TMPL_IF COMMENTS>
  205: <div id="comments">
  206: <TMPL_VAR COMMENTS>
  207: <TMPL_IF ADDCOMMENTURL>
  208: <div class="addcomment">
  209: <a href="<TMPL_VAR ADDCOMMENTURL>">Add a comment</a>
  210: </div>
  211: <TMPL_ELSE>
  212: <div class="addcomment">Comments on this page are closed.</div>
  213: </TMPL_IF>
  214: </div>
  215: </TMPL_IF>
  216: </TMPL_UNLESS>
  217: 
  218: </TMPL_IF>
  219: 
  220: <div id="footer" class="pagefooter">
  221: <TMPL_UNLESS DYNAMIC>
  222: <div id="pageinfo">
  223: <TMPL_IF NAME="TAGS">
  224: <div class="tags">
  225: Tags:
  226: <TMPL_LOOP NAME="TAGS">
  227: <TMPL_VAR LINK>
  228: </TMPL_LOOP>
  229: </div>
  230: </TMPL_IF>
  231: 
  232: <TMPL_IF NAME="BACKLINKS">
  233: <div id="backlinks">
  234: Links:
  235: <TMPL_LOOP NAME="BACKLINKS">
  236: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  237: </TMPL_LOOP>
  238: <TMPL_IF NAME="MORE_BACKLINKS">
  239: <span class="popup">...
  240: <span class="balloon">
  241: <TMPL_LOOP NAME="MORE_BACKLINKS">
  242: <a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a>
  243: </TMPL_LOOP>
  244: </span>
  245: </span>
  246: </TMPL_IF>
  247: </div><!-- #backlinks -->
  248: </TMPL_IF>
  249: 
  250: <TMPL_IF LICENSE>
  251: <div class="pagelicense">
  252: <a name="pagelicense"></a>
  253: License: <TMPL_VAR LICENSE>
  254: </div>
  255: </TMPL_IF>
  256: 
  257: <div class="pagedate">
  258: Last edited <TMPL_VAR MTIME>
  259: <!-- Created <TMPL_VAR CTIME> -->
  260: </div>
  261: 
  262: <TMPL_IF NAME="HAVE_ACTIONS">
  263: <TMPL_IF NAME="PREFSURL">
  264: <a href="<TMPL_VAR PREFSURL>">Preferences | Logout</a>
  265: </TMPL_IF>
  266: </TMPL_IF>
  267: 
  268: </div><!-- #pageinfo -->
  269: <TMPL_IF EXTRAFOOTER><TMPL_VAR EXTRAFOOTER></TMPL_IF>
  270: </TMPL_UNLESS>
  271: <!-- from <TMPL_VAR WIKINAME> -->
  272: </div><!-- .pagefooter #footer -->
  273: 
  274: <div class="rowOfBoxes">
  275:   <div id="footer2">
  276:     <div id="footerLogo">
  277: 		<!-- isc logo used to go here -->
  278:     </div>
  279:     <div id="footerContent">
  280:       <span class="footfeed">
  281:         <a href="//www.NetBSD.org/cgi-bin/feedback.cgi">
  282:           Contact</a> |
  283:       </span>
  284:       <span class="footcopy"><a href="about/disclaimer.html">
  285:         Disclaimer</a> |
  286:         <span class="copyright">
  287:           Copyright &copy; 1994-2018 The NetBSD Foundation, Inc.
  288:         </span>
  289:         ALL
  290:         RIGHTS RESERVED. <br /> NetBSD<sup>&reg;</sup> is a registered
  291:         trademark of The NetBSD Foundation, Inc.
  292:       </span>
  293:     </div>
  294:   </div>
  295: </div>
  296: 
  297: </body>
  298: </html>

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