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 <title> 26 <?php tpl_pagetitle()?> 27 [<?php echo strip_tags($conf['title'])?>] 28 </title> 29 30 <?php tpl_metaheaders()?> 31 <?php echo tpl_favicon(array('favicon', 'mobile')) ?> 32 33 <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?> 34</head> 35 36<body> 37<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?> 38<div class="dokuwiki"> 39 <?php html_msgarea()?> 40 41 <div class="stylehead"> 42 43 <div class="header"> 44 <div class="pagename"> 45 [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]] 46 </div> 47 <div class="logo"> 48 <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?> 49 </div> 50 51 <div class="clearer"></div> 52 </div> 53 54 <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?> 55 56 57 </div> 58 <?php tpl_flush()?> 59 60 <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?> 61 62 <div class="page"> 63 <div class="bar" id="bar__top"> 64 <div class="bar-left" id="bar__topleft"> 65 <?php tpl_button('edit')?> 66 <?php tpl_button('history')?> 67 </div> 68 69 <div class="bar-right" id="bar__topright"> 70 <?php tpl_button('recent')?> 71 <?php tpl_searchform()?> 72 </div> 73 74 <div class="clearer"></div> 75 </div> 76 77 <?php if($conf['breadcrumbs']){?> 78 <div class="breadcrumbs"> 79 <?php tpl_breadcrumbs()?> 80 <?php //tpl_youarehere() //(some people prefer this)?> 81 </div> 82 <?php }?> 83 84 <?php if($conf['youarehere']){?> 85 <div class="breadcrumbs"> 86 <?php tpl_youarehere() ?> 87 </div> 88 <?php }?> 89 90 <!-- wikipage start --> 91 <div id="content"> 92 <?php tpl_content()?> 93 </div> 94 <!-- wikipage stop --> 95 96 <?php tpl_flush()?> 97 98 <div class="stylefoot"> 99 100 <div class="meta"> 101 <div class="user"> 102 <?php tpl_userinfo()?> 103 </div> 104 <div class="doc"> 105 <?php tpl_pageinfo()?> 106 </div> 107 </div> 108 109 <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?> 110 111 <div class="bar" id="bar__bottom"> 112 <div class="bar-left" id="bar__bottomleft"> 113 <?php tpl_button('edit')?> 114 <?php tpl_button('history')?> 115 <?php tpl_button('revert')?> 116 </div> 117 <div class="bar-right" id="bar__bottomright"> 118 <?php tpl_button('subscribe')?> 119 <?php tpl_button('media')?> 120 <?php tpl_button('admin')?> 121 <?php tpl_button('profile')?> 122 <?php tpl_button('login')?> 123 <?php tpl_button('index')?> 124 <?php tpl_button('top')?> 125 </div> 126 <div class="clearer"></div> 127 </div> 128 129 </div> 130 131 132 133 134 </div> 135 136 <div class="clearer"></div> 137 138 139 140 <?php tpl_license(false);?> 141 142</div> 143<div id="copy"><div id="copywrapper"> 144 ©2008 Another cool website by <a href="http://80kv.com">80KV</a> 145</div></div> 146 147<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div> 148</body> 149</html> 150