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 * @author Andreas Gohr <andi@splitbrain.org>
12 * @author Michael Klier <chi@chimeric.de>
13 * @link   http://dokuwiki.org/template:simple
14 * @link   http://chimeric.de/projects/dokuwiki/template/simple
15 */
16// must be run from within DokuWiki
17if (!defined('DOKU_INC')) die();
18
19include(DOKU_TPLINC.'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
43  <b class="rtop_outer">
44    <b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>
45  </b>
46
47  <div id="outer_container">
48
49    <?php html_msgarea()?>
50
51    <div class="stylehead">
52      <b class="rtop_inner">
53        <b class="r1"></b><b class="r2"></b><b class="r3"></b><b class="r4"></b>
54      </b>
55
56      <?php tpl_searchform()?>
57
58      <?php if($conf['breadcrumbs']){?>
59      <div class="breadcrumbs">
60        <?php tpl_breadcrumbs()?>
61        <?php //tpl_youarehere() //(some people prefer this)?>
62      </div>
63      <?php }?>
64
65      <?php if($conf['youarehere']){?>
66      <div class="breadcrumbs">
67        <?php tpl_youarehere() ?>
68      </div>
69      <?php }?>
70
71      <div class="clearer"></div>
72
73      <div class="logo">
74        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
75      </div>
76
77      <div class="clearer"></div>
78
79    </div>
80
81    <?php flush()?>
82
83    <div id="inner_container">
84
85      <div id="tpl_simple_navi">
86        <?php tpl_topbar() ?>
87      </div>
88
89      <div class="clearer"></div>
90
91      <div class="page">
92
93        <div class="bar" id="bar__top">
94          <div class="bar-left" id="bar__topleft">
95		    <?php
96            if(!plugin_isdisabled('npd') && ($npd =& plugin_load('helper', 'npd'))) {
97                $npd->html_new_page_button();
98            }
99			?>
100            <?php tpl_actionlink('edit')?>
101          </div>
102          <div class="bar-right" id="bar__topright">
103            <?php tpl_actionlink('history')?>
104            <?php tpl_actionlink('subscription')?>
105          </div>
106          <div class="clearer"></div>
107        </div>
108
109
110
111        <!-- wikipage start -->
112        <?php tpl_content()?>
113        <!-- wikipage stop -->
114
115        <div class="clearer">&nbsp;</div>
116
117        <?php flush()?>
118
119        <div class="stylefoot">
120
121          <?php tpl_actionlink('top')?>
122
123          <div class="meta">
124            <div class="user">
125              <?php tpl_userinfo()?>
126            </div>
127            <div class="doc">
128              <?php tpl_pageinfo()?>
129            </div>
130          </div>
131
132          <div class="bar" id="bar__bottom">
133            <div class="bar-left" id="bar__bottomleft">
134              <?php tpl_actionlink('index')?>
135              <?php tpl_actionlink('recent')?>
136            </div>
137            <div class="bar-right" id="bar__bottomright">
138              <?php tpl_actionlink('admin')?>
139              <?php tpl_actionlink('profile')?>
140              <?php tpl_actionlink('login')?>
141            </div>
142          </div>
143
144        </div>
145        <div class="clearer">&nbsp;</div>
146      </div>
147      <div class="clearer">&nbsp;</div>
148    </div>
149
150    <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
151    <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
152
153    <b class="rbottom_inner">
154      <b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b>
155    </b>
156
157  </div>
158
159  <b class="rbottom_outer">
160    <b class="r4"></b><b class="r3"></b><b class="r2"></b><b class="r1"></b>
161  </b>
162
163</div>
164
165<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
166</body>
167</html>
168