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 * @link   http://dokuwiki.org/templates
9 * @author Andreas Gohr <andi@splitbrain.org>
10 */
11
12// must be run from within DokuWiki
13if (!defined('DOKU_INC')) die();
14/* include sidebar code */
15include(dirname(__FILE__).'/sidebar.php');
16
17?>
18<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
19 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
20<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
21 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
22<head>
23  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24  <title>
25    <?php tpl_pagetitle()?>
26    [<?php echo strip_tags($conf['title'])?>]
27  </title>
28
29  <?php tpl_metaheaders()?>
30  <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
31
32  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
33</head>
34
35<body>
36<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
37<div class="dokuwiki">
38  <?php html_msgarea()?>
39
40  <div class="stylehead">
41
42    <div class="header">
43      <div class="logo">
44        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
45      </div>
46      <div class="tagline">
47         <?php echo $conf['tagline']?>
48      </div>
49      <div class="pagename">
50        [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>]]
51      </div>
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()?>&#160;
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 tpl_flush()?>
86
87  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
88
89  <?php html_sidebar()?>
90  <?php if($ACT == 'show') {?>
91  <div class="page_with_sidebar">
92  <?php }else {?>
93  <div class="page">
94  <?php } ?>
95    <!-- wikipage start -->
96    <?php tpl_content()?>
97    <!-- wikipage stop -->
98  </div>
99
100  <div class="clearer"></div>
101
102  <?php tpl_flush()?>
103
104  <div class="stylefoot">
105
106    <div class="meta">
107      <div class="user">
108        <?php tpl_userinfo()?>
109      </div>
110      <div class="doc">
111        <?php tpl_pageinfo()?>
112      </div>
113    </div>
114
115   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
116
117    <div class="bar" id="bar__bottom">
118      <div class="bar-left" id="bar__bottomleft">
119        <?php tpl_button('edit')?>
120        <?php tpl_button('history')?>
121        <?php tpl_button('revert')?>
122      </div>
123      <div class="bar-right" id="bar__bottomright">
124        <?php tpl_button('subscribe')?>
125        <?php tpl_button('media')?>
126        <?php tpl_button('admin')?>
127        <?php tpl_button('profile')?>
128        <?php tpl_button('login')?>
129        <?php tpl_button('index')?>
130        <?php tpl_button('top')?>&#160;
131      </div>
132      <div class="clearer"></div>
133    </div>
134
135  </div>
136
137  <?php tpl_license(false);?>
138
139</div>
140<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
141
142<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
143</body>
144</html>
145