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