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