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 = true; /* */ 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 include('tpl/favicon_tiles.php'); 71?> 72<?php 73 74 75/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 76/* Include Hook: meta.html */ 77/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 78?> 79<?php tpl_includeFile('meta.html') ?> 80</head> 81<?php 82 83 84/* #dokuwiki__top used as anchor for "back to top" button/link links */ 85$classWideContent = ($ACT === "show") ? "": "wide-content "; 86?> 87<body id="dokuwiki__top" class="<?php echo tpl_classes(); ?> <?php echo ($ACT) ? 'do-'.$ACT : 'do-none'; ?> <?php echo $classWideContent; ?><?php echo ($showSidebar) ? 'showSidebar' : ''; ?>"> 88 89<div id="dokuwiki__site"> 90 <?php 91 92 93/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 94/* template Include: tpl/nav-direct */ 95/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 96 ?> 97 <?php include('tpl/nav-direct.php') ?> 98 99 100 <div class="page-wrapper <?php echo ($showSidebar) ? 'hasSidebar' : ''; ?>"> 101 <?php 102/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 103/* Include Hook: header.html */ 104/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 105 tpl_includeFile('header.html'); 106 ?> 107 108 <div id="dokuwiki__header" class="header no-print"> 109 <div class="container"> 110 <div class="row"> 111 <div class="col-xs-12"> 112 <div class="claim main-sidebar"> 113 <?php if (tpl_getConf('logo') && file_exists(mediaFN(tpl_getConf('logo')))){ 114 115 116/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 117/* Logo */ 118/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 119/* upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' in der template config accordingly: */ 120 include('tpl/main-sidebar-logo.php'); 121 } ?> 122 <?php if ($conf['tagline']): ?> 123 <p class="claim"><?php echo $conf['tagline'] ?></p> 124 <?php endif ?> 125 126 </div><!-- .headings --> 127 </div><!-- .col --> 128 </div><!-- .row --> 129 </div><!-- .container --> 130 </div><!-- .header --> 131 <?php 132 133 134/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 135/* headline menu area (Accessibility ) */ 136/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 137 ?> 138 139 <div class="sr-only nav-area-head"> 140 <h5 class="sr-only" role="heading" aria-level="1"><?php echo tpl_getLang('nav-area-head') ?></h5> 141 </div><!-- .nav-area-head --> 142 143 <div class="tools"> 144 <div class="container"> 145 <div class="row"> 146 <div class="col-xs-12"> 147 148 <div class="sidebarheader main-sidebar"> 149 <?php 150 151 152/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 153/* Include Hook: sidebarheader.html */ 154/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 155 tpl_includeFile('sidebarheader.html') 156 ?> 157 </div><!-- .sidebarheader --> 158 159 <div class="search main-sidebar"> 160 <?php 161 162 163/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 164/* search form */ 165/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 166 include('tpl/main-sidebar-search.php'); 167 ?> 168 </div><!-- .search --> 169 170 <div id="dokuwiki__aside" class="menu main-sidebar"> 171 <?php 172 173 174/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 175/* main menu */ 176/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 177 include('tpl/nav-main.php'); 178 ?> 179 </div><!-- .menu --> 180 181 <div class="side-tools main-sidebar toggle-menu"> 182 <?php 183 184 185/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 186/* site tools */ 187/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 188 include('tpl/nav-sitetools.php'); 189 ?> 190 </div><!-- .side-tools --> 191 <div class="side-tools main-sidebar toggle-menu"> 192 <?php 193 194 195/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 196/* user tools */ 197/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 198 include('tpl/nav-usermenu.php'); 199 ?> 200 </div><!-- .side-tools --> 201 202 <div class="side-tools main-sidebar toggle-menu"> 203 <?php 204 205 206/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 207/* trace */ 208/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 209 include('tpl/nav-trace.php'); 210 ?> 211 </div><!-- .side-tools --> 212 213 <div class="sidebarfooter main-sidebar"> 214 <?php 215 216 217/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 218/* Include Hook: sidebarfooter.html */ 219/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 220 tpl_includeFile('sidebarfooter.html') 221 ?> 222 </div><!-- .sidebarheader --> 223 224 </div><!-- .col --> 225 </div><!-- .row --> 226 </div><!-- .container --> 227 </div><!-- .tools --> 228 229 230 <div class="top-header"> 231 <div class="container"> 232 <div class="row"> 233 <div class="col-xs-12"> 234 235 <?php 236 237 238/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 239/* User Tools and MagicMatcher Bar */ 240/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 241 /** @var \helper_plugin_magicmatcher_context $mm */ 242 $mm = plugin_load('helper', 'magicmatcher_context'); 243 $navClass = ""; 244 if($mm){ 245 $matcher = $mm->getIssueContextBar(); 246 if($matcher !== ""){ 247 $navClass = "has-bar"; 248 } 249 } 250 251 include('tpl/nav-usertools-buttons.php'); 252 if($mm && $matcher !== ""){ 253 include('tpl/nav-magicmatcher.php'); 254 } 255 256/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 257/* Include Hook: header.html */ 258/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 259 tpl_includeFile('header.html'); 260 ?> 261 262 </div><!-- .col --> 263 </div><!-- .row --> 264 </div><!-- .container --> 265 </div><!-- /top-header --> 266 267 268 <div class="content"> 269 <div class="container"> 270 <div class="row"> 271 <div class="col-xs-12"> 272 273 <?php tpl_flush(); /* flush the output buffer */ 274 275 276/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 277/* Include Hook: pageheader.html */ 278/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 279 tpl_includeFile('pageheader.html') 280 ?> 281 282 <?php 283 ?> 284 285 <div class="breadcrumbs"> 286 287 <div class="togglelink page_main-content"> 288 <a href="#">< ><span class="sr-out">auf/zu</span></a> 289 </div> 290 291 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6> 292 293 <?php 294 295/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 296/* page quality / page tasks */ 297/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 298 include('tpl/nav-page-quality-tasks.php'); 299 ?> 300 301 <?php 302/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 303/* breadcrumb */ 304/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 305 include('tpl/nav-breadcrumb.php'); 306 ?> 307 308 <h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['page_tools'] ?></h6> 309 310 <?php 311 312 313/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 314/* page tools */ 315/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 316 include('tpl/nav-page-tools.php'); 317 ?> 318 319 </div> 320 321 <div id="dokuwiki__content" class="page main-content"> 322 <div id="spr__meta-box"> 323 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_meta_box') ?></h6> 324 325 <?php 326 327 328/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 329/* meta box */ 330/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 331 include('tpl/nav-meta-box.php'); ?> 332 </div> 333 334 335 <div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div> 336 <?php 337 338 339/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 340/* wikipage start / main content */ 341/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 342 tpl_content(false); /* the main content */ 343 ?> 344 <div class="clearer"></div> 345 </div><!-- .main-content --> 346 347 348 <div class="page-footer"> 349 <?php 350 tpl_includeFile('pagefooter.html'); 351 352 353/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 354/* 'Last modified' etc */ 355/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 356 tpl_pageinfo() 357 ?> 358 </div> 359 360 </div><!-- .col --> 361 </div><!-- .row --> 362 </div><!-- .container --> 363 364 365 <?php 366 tpl_flush() 367 ?> 368 </div><!-- /content --> 369 370 371 <div class="clearer"></div> 372 373 </div><!-- /wrapper --> 374 375 376 377<!-- ********** FOOTER ********** --> 378 379 <div id="dokuwiki__footer"> 380 <div class="container"> 381 <div class="row"> 382 <div class="col-xs-12"> 383 384 <div class="main-footer"> 385 <p> 386 <?php 387 388 389/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 390/* copyright */ 391/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 392 tpl_license(''); 393 ?> 394 </p> 395 </div> 396 397 </div> 398 </div> 399 </div> 400 </div><!-- /footer --> 401 402 403 <?php tpl_includeFile('footer.html') ?> 404</div><!-- .dokuwiki__site --> 405 406<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 407 408</body> 409</html> 410