1<?php 2/** 3 * DokuWiki Default Template 4 * 5 * This is the template you need to change for the overall look 6 * of DokuWiki. 7 * 8 * You should leave the doctype at the very top - It should 9 * always be the very first line of a document. 10 * 11 * @link http://dokuwiki.org/templates 12 * @author Andreas Gohr <andi@splitbrain.org> 13 */ 14 15// must be run from within DokuWiki 16if (!defined('DOKU_INC')) die(); 17 18?> 19<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 20 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 21<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 22 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 23<head> 24 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 25 <meta name="viewport" content="width=device-width" /> 26 <title> 27 <?php tpl_pagetitle()?> 28 [<?php echo strip_tags($conf['title'])?>] 29 </title> 30 31 <?php tpl_metaheaders()?> 32 <?php echo tpl_favicon(); ?> 33 34 <?php @include(dirname(__FILE__).'/meta.html')?> 35</head> 36 37<body> 38<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 39<div class="dokuwiki"> 40 41 <?php html_msgarea()?> 42 43 <h1><?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?></h1> 44 45 <div class="navi"> 46 <?php tpl_include_page("navi")?> 47 </div> 48 49 <div class="stylehead"> 50 51 <?php if (false): ?> 52 <div class="header"> 53 <div class="pagename"> 54 <?php #echo tpl_pagetitle($ID,true)?> 55 </div> 56 <div class="clearer"></div> 57 </div> 58 <?php endif; ?> 59 60 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 61 62 <?php if($conf['youarehere']){?> 63 <div class="breadcrumbs"> 64 <?php tpl_youarehere() ?> 65 </div> 66 <?php }?> 67 68 </div> 69 <?php tpl_flush()?> 70 71 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 72 73 <div class="page"> 74 <!-- wikipage start --> 75 <?php tpl_content()?> 76 <!-- wikipage stop --> 77 </div> 78 79 <div class="clearer"></div> 80 81 <?php tpl_flush()?> 82 83 <div class="stylefoot"> 84 85 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 86 87 <div class="bar" id="bar__bottom"> 88 <?php tpl_button('edit')?> 89 <?php tpl_button('history')?> 90 <?php tpl_button('revert')?> 91 <?php tpl_button('subscribe')?> 92 <?php tpl_button('media')?> 93 <?php tpl_button('admin')?> 94 <?php tpl_button('profile')?> 95 <?php tpl_button('login')?> 96 <?php tpl_button('index')?> 97 <?php tpl_button('top')?> 98 </div> 99 100 </div> 101 102 <?php tpl_license(false);?> 103 104</div> 105<?php @include(dirname(__FILE__).'/footer.html')?> 106 107<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 108</body> 109</html> 110