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