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