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