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