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
34  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
35</head>
36
37<body>
38<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
39<div class="dokuwiki">
40  <?php html_msgarea()?>
41
42  <div class="stylehead">
43
44    <div class="header">
45      <div class="pagename">
46        [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]]
47      </div>
48      <div class="logo">
49        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
50      </div>
51
52      <div class="clearer"></div>
53    </div>
54
55    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
56
57    <div class="bar" id="bar__top">
58      <div class="bar-left" id="bar__topleft">
59        <?php tpl_button('edit')?>
60        <?php tpl_button('history')?>
61      </div>
62
63      <div class="bar-right" id="bar__topright">
64        <?php tpl_button('recent')?>
65        <?php tpl_searchform()?>&nbsp;
66      </div>
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 flush()?>
86
87  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
88
89  <div class="page">
90    <!-- wikipage start -->
91    <?php tpl_content()?>
92    <!-- wikipage stop -->
93  </div>
94
95  <div class="clearer">&nbsp;</div>
96
97  <?php flush()?>
98
99  <div class="stylefoot">
100
101    <div class="meta">
102      <div class="user">
103        <?php tpl_userinfo()?>
104      </div>
105      <div class="doc">
106        <?php tpl_pageinfo()?>
107      </div>
108    </div>
109
110   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
111
112    <div class="bar" id="bar__bottom">
113      <div class="bar-left" id="bar__bottomleft">
114        <?php tpl_button('edit')?>
115        <?php tpl_button('history')?>
116        <?php tpl_button('revert')?>
117      </div>
118      <div class="bar-right" id="bar__bottomright">
119        <?php tpl_button('subscribe')?>
120        <?php tpl_button('subscribens')?>
121        <?php tpl_button('admin')?>
122        <?php tpl_button('profile')?>
123        <?php tpl_button('login')?>
124        <?php tpl_button('index')?>
125        <?php tpl_button('top')?>&nbsp;
126      </div>
127      <div class="clearer"></div>
128    </div>
129
130  </div>
131
132  <?php tpl_license(false);?>
133
134</div>
135<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
136
137<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
138</body>
139</html>
140