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