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://wiki.splitbrain.org/wiki:tpl:templates
12 * @author Andreas Gohr <andi@splitbrain.org>
13 */
14
15// must be run from within DokuWiki
16if (!defined('DOKU_INC')) die();
17
18require_once(dirname(__FILE__).'/tpl_functions.php');
19?>
20<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
21 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
23 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
24<head>
25  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26  <title>
27    <?php tpl_pagetitle()?>
28    [<?php echo strip_tags($conf['title'])?>]
29  </title>
30
31  <?php tpl_metaheaders()?>
32
33  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
34  <link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL?>sidebar-theme.css" />
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  <?php html_msgarea()?>
43
44  <div class="stylehead">
45
46    <div class="header">
47      <div class="pagename">
48        [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))?>]]
49      </div>
50      <div class="logo">
51        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
52      </div>
53
54      <div class="clearer"></div>
55    </div>
56
57    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
58
59    <div class="bar" id="bar__top">
60      <div class="bar-left" id="bar__topleft">
61        <?php tpl_button('edit')?>
62        <?php tpl_button('history')?>
63      </div>
64
65      <div class="bar-right" id="bar__topright">
66        <?php tpl_button('recent')?>
67        <?php tpl_searchform()?>&nbsp;
68      </div>
69
70      <div class="clearer"></div>
71    </div>
72
73    <?php if($conf['breadcrumbs']){?>
74    <div class="breadcrumbs">
75      <?php tpl_breadcrumbs()?>
76      <?php //tpl_youarehere() //(some people prefer this)?>
77    </div>
78    <?php }?>
79
80    <?php if($conf['youarehere']){?>
81    <div class="breadcrumbs">
82      <?php tpl_youarehere() ?>
83    </div>
84    <?php }?>
85
86  </div>
87  <?php flush()?>
88
89  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
90
91  <table id="table-estructura">
92    <tr valign="top">
93      <td id="left_tr_estructura">
94          <?php tpl_sidebar('left') ?>
95      </td>
96      <?php flush()?>
97      <td id="center_tr_estructura">
98         <div class="page">
99          <!-- wikipage start -->
100          <?php tpl_content()?>
101          <!-- wikipage stop -->
102         </div>
103      </td>
104      <?php flush()?>
105      <td id="right_tr_estructura">
106          <?php tpl_sidebar('right') ?>
107      </td>
108    </tr>
109  </table>
110
111<?php
112/** Original content:
113  <div class="page">
114    <!-- wikipage start -->
115    <?php tpl_content()?>
116    <!-- wikipage stop -->
117  </div>
118**/?>
119
120  <div class="clearer">&nbsp;</div>
121
122  <?php flush()?>
123
124  <div class="stylefoot">
125
126    <div class="meta">
127      <div class="user">
128        <?php tpl_userinfo()?>
129      </div>
130      <div class="doc">
131        <?php tpl_pageinfo()?>
132      </div>
133    </div>
134
135   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
136
137    <div class="bar" id="bar__bottom">
138      <div class="bar-left" id="bar__bottomleft">
139        <?php tpl_button('edit')?>
140        <?php tpl_button('history')?>
141      </div>
142      <div class="bar-right" id="bar__bottomright">
143        <?php tpl_button('subscription')?>
144        <?php tpl_button('admin')?>
145        <?php tpl_button('profile')?>
146        <?php tpl_button('login')?>
147        <?php tpl_button('index')?>
148        <?php tpl_button('top')?>&nbsp;
149      </div>
150      <div class="clearer"></div>
151    </div>
152
153  </div>
154
155</div>
156<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
157
158<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
159</body>
160</html>
161