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