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// include custom arctic template functions 19require_once(dirname(__FILE__).'/tpl_functions.php'); 20?> 21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 22 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 23<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" 24 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> 25<head> 26 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 27 <title> 28 <?php tpl_pagetitle()?> 29 [<?php echo strip_tags($conf['title'])?>] 30 </title> 31 32 <?php tpl_metaheaders()?> 33 34 <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" /> 35 36 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 37</head> 38 39<body> 40<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 41<div class="dokuwiki"> 42 <?php html_msgarea()?> 43 44 <div class="stylehead"> 45 46 <div class="header"> 47 <div class="pagename"> 48 [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))?>]] 49 </div> 50 <div class="logo"> 51 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?> 52 </div> 53 54 <div class="clearer"></div> 55 </div> 56 57 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 58 59 <div class="bar" id="bar__top"> 60 <div class="bar-left" id="bar__topleft"> 61 <?php tpl_button('edit')?> 62 <?php tpl_button('history')?> 63 </div> 64 65 <div class="bar-right" id="bar__topright"> 66 <?php tpl_button('recent')?> 67 <?php tpl_searchform()?> 68 </div> 69 70 <div class="clearer"></div> 71 </div> 72 73 <?php if($conf['breadcrumbs']){?> 74 <div class="breadcrumbs"> 75 <?php tpl_breadcrumbs()?> 76 <?php //tpl_youarehere() //(some people prefer this)?> 77 </div> 78 <?php }?> 79 80 <?php if($conf['youarehere']){?> 81 <div class="breadcrumbs"> 82 <?php tpl_youarehere() ?> 83 </div> 84 <?php }?> 85 86 </div> 87 <?php flush()?> 88 89 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 90 91 <table id='wikimid' width='100%' cellspacing='0' cellpadding='0'> 92 <tr> 93 <td id='wikileft' valign='top'> 94 <!-- <?php if($ACT != 'diff' && $ACT != 'edit' && $ACT != 'preview' && $ACT != 'admin') { ?> --> 95 <div class="left_sidebar"> 96 <?php tpl_sidebar('left') ?> 97 </div> 98 <!-- <?php } ?> --> 99 </td> 100 101 <td id='wikibody' valign='top'> 102 <div class="right_page"> 103 <!-- wikipage start --> 104 <?php tpl_content()?> 105 <!-- wikipage stop --> 106 </div> 107 </td> 108 </tr> 109 </table> 110 111 <div class="clearer"> </div> 112 113 <?php flush()?> 114 115 <div class="stylefoot"> 116 117 <div class="meta"> 118 <div class="user"> 119 <?php tpl_userinfo()?> 120 </div> 121 <div class="doc"> 122 <?php tpl_pageinfo()?> 123 </div> 124 </div> 125 126 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 127 128 <div class="bar" id="bar__bottom"> 129 <div class="bar-left" id="bar__bottomleft"> 130 <?php tpl_button('edit')?> 131 <?php tpl_button('history')?> 132 </div> 133 <div class="bar-right" id="bar__bottomright"> 134 <?php tpl_button('subscription')?> 135 <?php tpl_button('admin')?> 136 <?php tpl_button('profile')?> 137 <?php tpl_button('login')?> 138 <?php tpl_button('index')?> 139 <?php tpl_button('top')?> 140 </div> 141 <div class="clearer"></div> 142 </div> 143 144 </div> 145 146</div> 147<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> 148 149<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 150</body> 151</html> 152