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