1<!DOCTYPE html> 2<?php 3 4/** 5 * DokuWiki sprintDoc Template 6 * 7 * @link FIXME 8 * @author Jana Deutschlaender <deutschlaender@cosmocode.de> 9 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html) 10 */ 11 12if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */ 13@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */ 14header('X-UA-Compatible: IE=edge,chrome=1'); 15 16$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); 17$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show'); 18 19 20/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 21/* conditional comments for IE8 / IE9 browser detection if needed */ 22/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 23?> 24<!--[if lt IE 9]> <html class="no-js lt-ie10 lt-ie9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 25<!--[if IE 9]> <html class="no-js lt-ie10 ie-9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 26<!--[if gt IE 9]><!--> <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <!--<![endif]--> 27<head> 28 29<?php 30 31 32/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 33/* meta and link relations */ 34/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 35?> 36<meta charset="utf-8" /> 37<meta name="viewport" content="width=device-width, initial-scale=1.0" /> 38<?php tpl_metaheaders() ?> 39<?php 40 41 42/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 43/* conditional comments for HTML5 / media queries support in IE8 */ 44/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 45?> 46<!--[if lt IE 9]> 47 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> 48 <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> 49<![endif]--> 50 51<?php 52 53 54/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 55/* page title */ 56/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 57?> 58<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 59 60<script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 61 62<?php 63 64 65/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 66/* favicons */ 67/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 68?> 69<?php 70 echo tpl_favicon(array('favicon')); /* DokuWiki: favicon.ico */ 71 include('tpl/favicon_tiles.php'); 72?> 73<?php 74 75 76/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 77/* Include Hook: meta.html */ 78/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 79?> 80<?php tpl_includeFile('meta.html') ?> 81</head> 82<?php /* #dokuwiki__top used as anchor for "back to top" button/link links */ ?> 83<body id="dokuwiki__top" class="<?php echo tpl_classes(); ?>"> 84 85 86 <div id="dokuwiki__site"> 87 <?php 88 89 90/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 91/* template Include: tpl/nav-direct */ 92/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 93 ?> 94 <?php include('tpl/nav-direct.php') ?> 95 96 97 <div class="page-wrapper <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 98 <?php 99 100 101/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 102/* Message AREA */ 103/* FIXME: position of error + info messages. Does it have to be on top of the page? */ 104/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 105 html_msgarea(); 106 107 108/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 109/* Headline Menu AREA */ 110/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 111 ?> 112 113 <div class="nav-area-head"> 114 <h5 class="sr-only" role="heading" aria-level="1"><?php echo tpl_getLang('nav-area-head') ?></h5> 115 </div><!-- .nav-area-head --> 116 117 <?php 118 119 120/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 121/* MagicMatcher */ 122/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 123 include('tpl/nav-magicmatcher.php'); 124 125 126/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 127/* Include Hook: header.html */ 128/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 129 tpl_includeFile('header.html'); 130 ?> 131 132 <div id="dokuwiki__header" class="header no-print"> 133 <div class="container"> 134 <div class="row"> 135 <div class="col-xs-12"> 136 <?php 137 138 139/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 140/* User Tools */ 141/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 142 include('tpl/nav-usertools.php'); ?> 143 </div><!-- .col --> 144 </div><!-- .row --> 145 </div><!-- .container --> 146 147 <div class="headings"> 148 <h1><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1> 149 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 150 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 151 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 152 <?php if ($conf['tagline']): ?> 153 <p class="claim"><?php echo $conf['tagline'] ?></p> 154 <?php endif ?> 155 156 157 <div class="clearer"></div> 158 </div> 159 160 <div class="tools"> 161 162 <!-- SITE TOOLS --> 163 <div id="dokuwiki__sitetools"> 164 <h3 class="a11y"><?php echo $lang['site_tools'] ?></h3> 165 <?php tpl_searchform() ?> 166 <ul> 167 <?php tpl_toolsevent('sitetools', array( 168 'recent' => tpl_action('recent', 1, 'li', 1), 169 'media' => tpl_action('media', 1, 'li', 1), 170 'index' => tpl_action('index', 1, 'li', 1), 171 )); ?> 172 </ul> 173 </div> 174 175 </div> 176 <div class="clearer"></div> 177 178 <!-- BREADCRUMBS --> 179 <?php if($conf['breadcrumbs']){ ?> 180 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 181 <?php } ?> 182 <?php if($conf['youarehere']){ ?> 183 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 184 <?php } ?> 185 186 <div class="clearer"></div> 187 <hr class="a11y" /> 188 </div></div><!-- /header --> 189 190 191 <div class="wrapper"> 192 193 <!-- ********** ASIDE ********** --> 194 <?php if ($showSidebar): ?> 195 <div id="dokuwiki__aside"><div class="pad aside include group"> 196 <?php tpl_includeFile('sidebarheader.html') ?> 197 <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?> 198 <?php tpl_includeFile('sidebarfooter.html') ?> 199 <div class="clearer"></div> 200 </div></div><!-- /aside --> 201 <?php endif; ?> 202 203 <!-- ********** CONTENT ********** --> 204 <div id="dokuwiki__content"><div class="pad"> 205 <?php tpl_flush() /* flush the output buffer */ ?> 206 <?php tpl_includeFile('pageheader.html') ?> 207 208 <div class="page"> 209 <!-- wikipage start --> 210 <?php tpl_content() /* the main content */ ?> 211 <!-- wikipage stop --> 212 <div class="clearer"></div> 213 </div> 214 215 <?php tpl_flush() ?> 216 <?php tpl_includeFile('pagefooter.html') ?> 217 </div></div><!-- /content --> 218 219 <div class="clearer"></div> 220 <hr class="a11y" /> 221 222 <!-- PAGE ACTIONS --> 223 <?php if ($showTools): ?> 224 <div id="dokuwiki__pagetools"> 225 <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3> 226 <ul> 227 <?php tpl_toolsevent('pagetools', array( 228 'edit' => tpl_action('edit', 1, 'li', 1), 229 'discussion'=> _tpl_action('discussion', 1, 'li', 1), 230 'revisions' => tpl_action('revisions', 1, 'li', 1), 231 'backlink' => tpl_action('backlink', 1, 'li', 1), 232 'subscribe' => tpl_action('subscribe', 1, 'li', 1), 233 'revert' => tpl_action('revert', 1, 'li', 1), 234 'top' => tpl_action('top', 1, 'li', 1), 235 )); ?> 236 </ul> 237 </div> 238 <?php endif; ?> 239 </div><!-- /wrapper --> 240 241 <!-- ********** FOOTER ********** --> 242 <div id="dokuwiki__footer"><div class="pad"> 243 <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div> 244 <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?> 245 </div></div><!-- /footer --> 246 247 <?php tpl_includeFile('footer.html') ?> 248 </div><!-- .dokuwiki__site --> 249 250 <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 251 252</body> 253</html> 254