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 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 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" class="menu main-sidebar"> 172 <?php 173 174 175/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 176/* main menu */ 177/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 178 include('tpl/nav-main.php'); 179 ?> 180 </div><!-- .menu --> 181 182 <div class="side-tools main-sidebar toggle-menu"> 183 <?php 184 185 186/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 187/* site tools */ 188/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 189 include('tpl/nav-sitetools.php'); 190 ?> 191 </div><!-- .side-tools --> 192 <div class="side-tools main-sidebar toggle-menu"> 193 <?php 194 195 196/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 197/* user tools */ 198/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 199 include('tpl/nav-usermenu.php'); 200 ?> 201 </div><!-- .side-tools --> 202 203 <div class="side-tools main-sidebar toggle-menu"> 204 <?php 205 206 207/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 208/* trace */ 209/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 210 include('tpl/nav-trace.php'); 211 ?> 212 </div><!-- .side-tools --> 213 214 <div class="sidebarfooter main-sidebar"> 215 <?php 216 217 218/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 219/* Include Hook: sidebarfooter.html */ 220/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 221 tpl_includeFile('sidebarfooter.html') 222 ?> 223 </div><!-- .sidebarheader --> 224 225 </div><!-- .col --> 226 </div><!-- .row --> 227 </div><!-- .container --> 228 </div><!-- .tools --> 229 230 231 <div class="top-header"> 232 <div class="container"> 233 <div class="row"> 234 <div class="col-xs-12"> 235 236 <?php 237 238 239/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 240/* User Tools and MagicMatcher Bar */ 241/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 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 echo "© ".tpl_getConf('copyright'); 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