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 <?php if ($conf['tagline']): ?> 103 <p class="claim"><?php echo $conf['tagline'] ?></p> 104 <?php endif ?> 105 106 </div><!-- .headings --> 107 </div><!-- .col --> 108 </div><!-- .row --> 109 </div><!-- .container --> 110 </div><!-- .header --> 111 <?php 112 113 114/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 115/* headline menu area (Accessibility ) */ 116/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 117 ?> 118 119 <div class="sr-only nav-area-head"> 120 <h5 class="sr-only" role="heading" aria-level="1"><?php echo tpl_getLang('nav-area-head') ?></h5> 121 </div><!-- .nav-area-head --> 122 123 <div class="tools"> 124 <div class="container"> 125 <div class="row"> 126 <div class="col-xs-12"> 127 128 <div class="sidebarheader main-sidebar"> 129 <?php 130 131 132/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 133/* Include Hook: sidebarheader.html */ 134/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 135 tpl_includeFile('sidebarheader.html') 136 ?> 137 </div><!-- .sidebarheader --> 138 139 <div class="search main-sidebar"> 140 <?php 141 142 143/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 144/* search form */ 145/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 146 include('tpl/main-sidebar-search.php'); 147 ?> 148 </div><!-- .search --> 149 150 <div id="dokuwiki__aside"> 151 <?php 152/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 153/* sidebar */ 154/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 155 include('tpl/main-sidebar-nav.php'); 156 ?> 157 </div><!-- .aside --> 158 159 </div><!-- .col --> 160 </div><!-- .row --> 161 </div><!-- .container --> 162 </div><!-- .tools --> 163 164 165 <div class="top-header"> 166 <div class="container"> 167 <div class="row"> 168 <div class="col-xs-12"> 169 170 <?php 171 172 173/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 174/* User Tools and MagicMatcher Bar */ 175/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 176 /** @var \helper_plugin_magicmatcher_context $mm */ 177 $mm = plugin_load('helper', 'magicmatcher_context'); 178 $navClass = ""; 179 if($mm){ 180 $matcher = $mm->getIssueContextBar(); 181 if($matcher !== ""){ 182 $navClass = "has-bar"; 183 } 184 } 185 186 include('tpl/nav-usertools-buttons.php'); 187 if($mm && $matcher !== ""){ 188 include('tpl/nav-magicmatcher.php'); 189 } 190 191/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 192/* Include Hook: header.html */ 193/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 194 tpl_includeFile('header.html'); 195 ?> 196 197 </div><!-- .col --> 198 </div><!-- .row --> 199 </div><!-- .container --> 200 </div><!-- /top-header --> 201 202 203 <div class="content"> 204 <div class="container"> 205 <div class="row"> 206 <div class="col-xs-12"> 207 208 <?php tpl_flush(); /* flush the output buffer */ 209 210 211/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 212/* Include Hook: pageheader.html */ 213/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 214 tpl_includeFile('pageheader.html') 215 ?> 216 217 <?php 218 ?> 219 220 <div class="breadcrumbs" data-do="<?php echo $ACT?>"> 221 222 <div class="togglelink page_main-content"> 223 <a href="#">< ><span class="sr-out"><?php echo tpl_getLang('a11y_sidebartoggle')?></span></a> 224 </div> 225 226 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_menu_status') ?></h6> 227 228 <?php 229 230/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 231/* page quality / page tasks */ 232/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 233 include('tpl/nav-page-attributes.php'); 234 ?> 235 236 <?php 237/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 238/* breadcrumb */ 239/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 240 include('tpl/nav-breadcrumb.php'); 241 ?> 242 243 <h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['page_tools'] ?></h6> 244 245 <?php 246 247 248/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 249/* page tools */ 250/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 251 include('tpl/nav-page-tools.php'); 252 ?> 253 254 </div> 255 256 <div id="dokuwiki__content" class="page main-content"> 257 <div id="spr__meta-box"> 258 <h6 class="sr-only" role="heading" aria-level="2"><?php echo tpl_getLang('head_meta_box') ?></h6> 259 260 <?php 261 262 263/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 264/* meta box */ 265/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 266 include('tpl/nav-meta-box.php'); ?> 267 </div> 268 269 <div class="qc-output"></div> 270 271 <div class="msg-area"><?php html_msgarea();/*msg('Information.', 0);msg('Success', 1);msg('Notification', 2);msg('Fehler', -1);*/ ?></div> 272 <?php 273 274 275/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 276/* wikipage start / main content */ 277/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 278 tpl_content(false); /* the main content */ 279 ?> 280 <div class="clearer"></div> 281 <?php if($showFooter): 282 283 284/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 285/* Page Include Hook: pagefooter.txt */ 286/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 287 ?> 288 <div class="wikipagefooter"> 289 <hr> 290 <?php tpl_include_page('pagefooter', true, true) ?> 291 <div class="clearer"></div> 292 </div> 293 <?php endif; ?> 294 </div><!-- .main-content --> 295 296 297 <div class="page-footer"> 298 <?php 299 300 301/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 302/* Include Hook: pagefooter */ 303/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 304 tpl_includeFile('pagefooter.html'); 305 306 307/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 308/* 'Last modified' etc */ 309/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 310 tpl_pageinfo() 311 ?> 312 </div> 313 314 </div><!-- .col --> 315 </div><!-- .row --> 316 </div><!-- .container --> 317 318 319 <?php 320 tpl_flush() 321 ?> 322 </div><!-- /content --> 323 324 325 <div class="clearer"></div> 326 327 </div><!-- /wrapper --> 328 329 330 331<!-- ********** FOOTER ********** --> 332 333 <div id="dokuwiki__footer"> 334 <div class="container"> 335 <div class="row"> 336 <div class="col-xs-12"> 337 338 <div class="main-footer"> 339 <p> 340 <?php 341 342 343/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 344/* copyright */ 345/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */ 346 tpl_license($img = false, $imgonly = false, $return = false, $wrap = false); 347 ?> 348 </p> 349 </div> 350 351 </div> 352 </div> 353 </div> 354 </div><!-- /footer --> 355 356 357 <?php tpl_includeFile('footer.html') ?> 358</div><!-- .dokuwiki__site --> 359 360<div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div> 361 362</body> 363</html> 364