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
32  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
33  <script type="text/javascript" src="<?php echo DOKU_TPL?>hide_menu.js"></script>
34</head>
35
36<body>
37<div class="dokuwiki">
38  <?php html_msgarea()?>
39
40<div class="page">
41  <div class="stylehead">
42
43    <div class="header" onmouseover="toggleDown();">
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    <div id="menu_holder">
55      <?php tpl_button('edit')?>
56      <?php tpl_button('history')?>
57      <?php tpl_button('recent')?>
58      <?php tpl_searchform()?>&nbsp;
59      <br><br>
60      <?php tpl_button('revert')?>
61
62      <?php tpl_button('subscribe')?>
63      <?php tpl_button('admin')?>
64      <?php tpl_button('profile')?>
65      <?php tpl_button('login')?>
66      <?php tpl_button('index')?>
67
68      <div class="clearer"></div>
69    </div>
70
71    <?php if($conf['breadcrumbs']){?>
72    <div class="breadcrumbs">
73      <?php tpl_breadcrumbs()?>
74      <?php //tpl_youarehere() //(some people prefer this)?>
75    </div>
76    <?php }?>
77
78    <?php if($conf['youarehere']){?>
79    <div class="breadcrumbs">
80      <?php tpl_youarehere() ?>
81    </div>
82    <?php }?>
83
84  </div>
85  <?php tpl_flush()?>
86
87  <div class="content" onmouseover="toggleUp();">
88    <!-- wikipage start -->
89    <?php tpl_content()?>
90    <!-- wikipage stop -->
91  </div>
92
93  <div class="clearer">&nbsp;</div>
94
95  <?php tpl_flush()?>
96
97  <div class="stylefoot">
98
99    <div class="meta">
100      <div class="user">
101        <?php tpl_userinfo()?>
102      </div>
103      <div class="doc">
104        <?php tpl_pageinfo()?>
105      </div>
106    </div>
107
108  <?php tpl_license(false);?>
109  <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
110  </div>
111</div>
112
113
114</div>
115
116
117<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
118</body>
119</html>
120