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 <?php if(tpl_getConf('actionmenu')){?> 64 <?php tpl_actionmenu()?> 65 <?php }?> 66 </div> 67 68 <div class="bar-right" id="bar__topright"> 69 <?php tpl_button('recent')?> 70 <?php tpl_searchform()?> 71 </div> 72 73 <div class="clearer"></div> 74 </div> 75 76 <?php if($conf['breadcrumbs']){?> 77 <div class="breadcrumbs"> 78 <?php tpl_breadcrumbs()?> 79 <?php //tpl_youarehere() //(some people prefer this)?> 80 </div> 81 <?php }?> 82 83 <?php if($conf['youarehere']){?> 84 <div class="breadcrumbs"> 85 <?php tpl_youarehere() ?> 86 </div> 87 <?php }?> 88 89 </div> 90 91 <div class="clearer"></div> 92 93 <?php flush()?> 94 95 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 96 97 <?php if($ACT != 'diff' && $ACT != 'edit' && $ACT != 'preview' 98 && $ACT != 'admin' && tpl_getConf('sidebar')) { ?> 99 <table id="wikibody" width="100%" cellspacing="0" cellpadding="0" align="justify"> 100 <tr> 101 <td id="wikileft" valign="top"> 102 <div class="left_sidebar"> 103 <?php tpl_sidebar() ?> 104 </div> 105 </td> 106 <td id="wikimain" valign="top"> 107 <div class="right_page"> 108 <!-- wikipage start --> 109 <?php tpl_content()?> 110 <!-- wikipage stop --> 111 </div> 112 </td></tr> 113 </table> 114 <?php } else { ?> 115 <div class="page"> 116 <!-- wikipage start --> 117 <?php tpl_content()?> 118 <!-- wikipage stop --> 119 </div> 120 <?php } ?> 121 122 <div class="clearer"> </div> 123 124 <?php flush()?> 125 126 <div class="stylefoot"> 127 128 <div class="meta"> 129 <div class="user"> 130 <?php tpl_userinfo()?> 131 </div> 132 <div class="doc"> 133 <?php tpl_pageinfo()?> 134 </div> 135 </div> 136 137 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 138 139 <div class="bar" id="bar__bottom"> 140 <div class="bar-left" id="bar__bottomleft"> 141 <?php tpl_button('edit')?> 142 <?php tpl_button('history')?> 143 </div> 144 <div class="bar-right" id="bar__bottomright"> 145 <?php tpl_button('subscription')?> 146 <?php tpl_button('admin')?> 147 <?php tpl_button('profile')?> 148 <?php tpl_button('login')?> 149 <?php tpl_button('index')?> 150 <?php tpl_button('top')?> 151 </div> 152 <div class="clearer"></div> 153 </div> 154 155 </div> 156 157</div> 158<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?> 159 160<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 161</body> 162</html>