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 */ 13header('X-UA-Compatible: IE=edge,chrome=1'); 14 15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) ); 16$showSidebar = true; /* */ 17$hasFooter = page_findnearest('pagefooter'); 18$showFooter = $hasFooter && ($ACT === 'show'); 19 20 21/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 22/* conditional comments for IE8 / IE9 browser detection if needed */ 23/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 24?> 25<!--[if lt IE 9]> <html class="no-js lt-ie10 lt-ie9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 26<!--[if IE 9]> <html class="no-js lt-ie10 ie-9" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <![endif]--> 27<!--[if gt IE 9]><!--> <html class="edge no-js" lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>"> <!--<![endif]--> 28<head> 29 30<?php 31 32 33/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 34/* meta and link relations */ 35/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 36?> 37<meta charset="utf-8" /> 38<meta name="viewport" content="width=device-width, initial-scale=1.0" /> 39<?php tpl_metaheaders() ?> 40<?php 41 42 43/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 44/* conditional comments for HTML5 / media queries support in IE8 */ 45/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 46?> 47<!--[if lt IE 9]> 48 <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> 49 <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> 50<![endif]--> 51 52<?php 53 54 55/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 56/* page title */ 57/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 58?> 59<title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title> 60 61<script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script> 62 63<?php 64 65 66/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 67/* favicons */ 68/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 69?> 70<?php 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 83 84 85/* #dokuwiki__top used as anchor for "back to top" button/link links */ 86$classWideContent = ($ACT === "show") ? "": "wide-content "; 87?> 88<body id="dokuwiki__top" class="<?php echo tpl_classes(); ?> <?php echo ($ACT) ? 'do-'.$ACT : 'do-none'; ?> <?php echo $classWideContent; ?><?php echo ($showSidebar) ? 'showSidebar' : ''; ?>"> 89 90<div id="dokuwiki__site"> 91 <?php 92 93 94/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 95/* template Include: tpl/nav-direct */ 96/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 97 ?> 98 <?php include('tpl/nav-direct.php') ?> 99 100 101 <div class="page-wrapper <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 102 <?php 103/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 104/* Include Hook: header.html */ 105/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 106 tpl_includeFile('header.html'); 107 ?> 108 109 <div id="dokuwiki__header" class="header no-print"> 110 <div class="container"> 111 <div class="row"> 112 <div class="col-xs-12"> 113 <div class="claim main-sidebar"> 114 <?php if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){ 115 116 117/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 118/* Logo */ 119/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 120/* upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' in der template config accordingly: */ 121 include('tpl/main-sidebar-logo.php'); 122 } ?> 123 <?php if ($conf['tagline']): ?> 124 <p class="claim"><?php echo $conf['tagline'] ?></p> 125 <?php endif ?> 126 127 </div><!-- .headings --> 128 </div><!-- .col --> 129 </div><!-- .row --> 130 </div><!-- .container --> 131 </div><!-- .header --> 132 <?php 133 134 135/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 136/* headline menu area (Accessibility ) */ 137/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 138 ?> 139 140 <div class="sr-only nav-area-head"> 141 <h5 class="sr-only" role="heading" aria-level="1"><?php echo tpl_getLang('nav-area-head') ?></h5> 142 </div><!-- .nav-area-head --> 143 144 <div class="tools"> 145 <div class="container"> 146 <div class="row"> 147 <div class="col-xs-12"> 148 149 <div class="sidebarheader main-sidebar"> 150 <?php 151 152 153/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 154/* Include Hook: sidebarheader.html */ 155/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 156 tpl_includeFile('sidebarheader.html') 157 ?> 158 </div><!-- .sidebarheader --> 159 160 <div class="search main-sidebar"> 161 <?php 162 163 164/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 165/* search form */ 166/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 167 include('tpl/main-sidebar-search.php'); 168 ?> 169 </div><!-- .search --> 170 171 <div id="dokuwiki__aside"> 172 <?php 173/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 174/* sidebar */ 175/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 176 include('tpl/main-sidebar-nav.php'); 177 ?> 178 </div><!-- .aside --> 179 180 </div><!-- .col --> 181 </div><!-- .row --> 182 </div><!-- .container --> 183 </div><!-- .tools --> 184 185 186 <div class="top-header"> 187 <div class="container"> 188 <div class="row"> 189 <div class="col-xs-12"> 190 191 <?php 192 193 194/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 195/* User Tools and MagicMatcher Bar */ 196/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 197 /** @var \helper_plugin_magicmatcher_context $mm */ 198 $mm = plugin_load('helper', 'magicmatcher_context'); 199 $navClass = ""; 200 if($mm){ 201 $matcher = $mm->getIssueContextBar(); 202 if($matcher !== ""){ 203 $navClass = "has-bar"; 204 } 205 } 206 207 include('tpl/nav-usertools-buttons.php'); 208 if($mm && $matcher !== ""){ 209 include('tpl/nav-magicmatcher.php'); 210 } 211 212/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 213/* Include Hook: header.html */ 214/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 215 tpl_includeFile('header.html'); 216 ?> 217 218 </div><!-- .col --> 219 </div><!-- .row --> 220 </div><!-- .container --> 221 </div><!-- /top-header --> 222 223 224 <div class="content"> 225 <div class="container"> 226 <div class="row"> 227 <div class="col-xs-12"> 228 229 <?php tpl_flush(); /* flush the output buffer */ 230 231 232/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 233/* Include Hook: pageheader.html */ 234/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 235 tpl_includeFile('pageheader.html') 236 ?> 237 238 <?php 239 ?> 240 241 <div class="breadcrumbs" data-do="<?php echo $ACT?>"> 242 243 <div class="togglelink page_main-content"> 244 <a href="#">< ><span class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle')?></span></a> 245 </div> 246 247 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6> 248 249 <?php 250 251/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 252/* page quality / page tasks */ 253/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 254 include('tpl/nav-page-quality-tasks.php'); 255 ?> 256 257 <?php 258/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 259/* breadcrumb */ 260/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 261 include('tpl/nav-breadcrumb.php'); 262 ?> 263 264 <h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['page_tools'] ?></h6> 265 266 <?php 267 268 269/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 270/* page tools */ 271/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 272 include('tpl/nav-page-tools.php'); 273 ?> 274 275 </div> 276 277 <div id="dokuwiki__content" class="page main-content"> 278 <div id="spr__meta-box"> 279 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_meta_box') ?></h6> 280 281 <?php 282 283 284/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 285/* meta box */ 286/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 287 include('tpl/nav-meta-box.php'); ?> 288 </div> 289 290 291 <div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div> 292 <?php 293 294 295/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 296/* wikipage start / main content */ 297/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 298 tpl_content(false); /* the main content */ 299 ?> 300 <div class="clearer"></div> 301 <?php if($showFooter): ?> 302 <div class="wikipagefooter"> 303 <hr> 304 <?php tpl_include_page('pagefooter', true, true) ?> 305 <div class="clearer"></div> 306 </div> 307 <?php endif; ?> 308 </div><!-- .main-content --> 309 310 311 <div class="page-footer"> 312 <?php 313 tpl_includeFile('pagefooter.html'); 314 315 316/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 317/* 'Last modified' etc */ 318/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 319 tpl_pageinfo() 320 ?> 321 </div> 322 323 </div><!-- .col --> 324 </div><!-- .row --> 325 </div><!-- .container --> 326 327 328 <?php 329 tpl_flush() 330 ?> 331 </div><!-- /content --> 332 333 334 <div class="clearer"></div> 335 336 </div><!-- /wrapper --> 337 338 339 340<!-- ********** FOOTER ********** --> 341 342 <div id="dokuwiki__footer"> 343 <div class="container"> 344 <div class="row"> 345 <div class="col-xs-12"> 346 347 <div class="main-footer"> 348 <p> 349 <?php 350 351 352/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 353/* copyright */ 354/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 355 tpl_license(''); 356 ?> 357 </p> 358 </div> 359 360 </div> 361 </div> 362 </div> 363 </div><!-- /footer --> 364 365 366 <?php tpl_includeFile('footer.html') ?> 367</div><!-- .dokuwiki__site --> 368 369<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 370 371</body> 372</html> 373