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://wiki.splitbrain.org/wiki:tpl: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 <title><?php tpl_pagetitle()?> [<?php echo strip_tags($conf['title'])?>]</title> 26 27 <?php tpl_metaheaders()?> 28 29 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> 30 31 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 32</head> 33 34<body> 35<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 36<div class="dokuwiki"> 37 <?php html_msgarea()?> 38 39 <div class="stylehead"> 40 41 <div class="header"> 42 43 <?php 44 if($conf['breadcrumbs']) { ?> 45 <div class="trace"> 46 <?php tpl_breadcrumbs()?> 47 </div> 48 <?php } ?> 49 50 <?php if($INFO['userinfo']){?> 51 <div id="searchform"> 52 <?php tpl_searchform()?> 53 </div> 54 <?php }?> 55 56 </div> 57 58 <div id="action_bar"> 59 <div id="userinfo"> 60 <?php tpl_userinfo()?> 61 </div> 62 63 <!-- if the user isn't logged in, don't show ths action bar --> 64 <?php if($INFO['userinfo']){?> 65 <div id="actions"> 66 <?php tpl_actionlink('index')?> 67 <?php tpl_actionlink('subscription')?> 68 <?php tpl_actionlink('admin')?> 69 <?php tpl_actionlink('profile')?> 70 <?php tpl_actionlink('login')?> 71 </div> 72 <?php }?> 73 </div> 74 75 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 76 <div class="clearer"></div> 77 <div id="toolbar"> 78 79 80 <?php if($INFO['userinfo']){?> 81 <div id="page_title" class="pagename"> 82 <div id="title"> 83 84 <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))?> 85 86 <?php if($conf['youarehere']){?> 87 <div class="page_path"> 88 (<?php tpl_youarehere() ?>) 89 </div> 90 <?php }?> 91 92 </div> 93 </div> 94 95 96 <div class="bar" id="bar__top"> 97 <div id="bar__topleft"> 98 <div id="edit"><?php tpl_actionlink('edit')?></div> 99 <div id="history"><?php tpl_actionlink('history')?></div> 100 </div> 101 </div> 102 <?php }?> 103 104 </div> 105 <?php flush()?> 106 107 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 108 109 <?php if($INFO['userinfo']){?> 110 <div id="info"> 111 <div class="clearer"></div> 112 <?php tpl_pageinfo()?> 113 (<?php tpl_actionlink('recent')?>) 114 </div> 115 <?php }?> 116 117 <div class="page"> 118 119 <!-- wikipage start --> 120 <?php tpl_content()?> 121 <!-- wikipage stop --> 122 </div> 123 124 <div class="clearer"> </div> 125 126 <?php flush()?> 127 128 <div class="stylefoot"> 129 130 <div class="meta"> 131 132 </div> 133 134 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 135 136 <div class="bar" id="bar__bottom"> 137 <div class="bar-left" id="bar__bottomleft"> 138 <?php tpl_button('edit')?> 139 <?php tpl_button('history')?> 140 </div> 141 <div class="bar-right" id="bar__bottomright"> 142 <?php tpl_actionlink('subscription')?> 143 <?php tpl_actionlink('admin')?> 144 <?php tpl_actionlink('profile')?> 145 <?php tpl_actionlink('login')?> 146 <?php tpl_actionlink('index')?> 147 <?php tpl_actionlink('top')?> 148 </div> 149 <div class="clearer"></div> 150 </div> 151 152 </div> 153 154</div> 155<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> 156 157<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 158</div> 159</body> 160</html> 161