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