1<?php
2// added by dwsimple	{
3	if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL; if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC;
4// }
5?>
6<?php
7/**
8 * dwsimple is a Dietrich Wittenberg SIMPLE Layout Engine
9 * based on DokuWiki Default Template
10 *
11 * This is the template you need to change for the overall look
12 * of DokuWiki.
13 *
14 * @link   http://wiki.splitbrain.org/wiki:tpl:templates
15 * @author Dietrich Wittenberg <info@wwwittenberg.de>
16 * The addings of dwsimple Template to Default Template
17 * are marked as remark with:
18 * 	added by dwsimple {
19 *		some adding
20 *	}
21 */
22
23// must be run from within DokuWiki
24if (!defined('DOKU_INC')) die();
25
26// added by dwsimple {
27// include functions that provides css-layout functionality
28@require_once(dirname(__FILE__).'/dwsimple/simple.php');
29// }
30
31?>
32<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
33 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
34<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
35 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
36<head>
37  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
38
39  <title>
40    <?php tpl_pagetitle()?>
41    [<?php echo strip_tags($conf['title'])?>]
42  </title>
43
44  <?php tpl_metaheaders()?>
45
46  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
47
48  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
49
50	<!-- added by dwsimple { -->
51	<link href="<?php echo $DOKU_TPL;?>dwsimple/cssc.php" rel="stylesheet" media="screen" type="text/css">
52	<link href="<?php echo $DOKU_TPL;?>dwsimple/cssc.css" rel="stylesheet" media="screen" type="text/css">
53	<!--[if lte IE 7]>
54		<link href="<?php echo $DOKU_TPL;?>dwsimple/ie5.css" rel="stylesheet" media="screen" type="text/css">
55	<![endif]-->
56	<!-- } -->
57
58</head>
59
60<body>
61<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
62<div class="dokuwiki">
63  <?php html_msgarea()?>
64
65	<!-- added by dwsimple { -->
66	<div id="head">
67	<!-- } -->
68  <div class="stylehead">
69
70    <div class="header">
71      <div class="pagename">
72        [[<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))?>]]
73      </div>
74      <div class="logo">
75        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
76      </div>
77
78      <div class="clearer"></div>
79    </div>
80
81    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
82
83    <div class="bar" id="bar__top">
84      <div class="bar-left" id="bar__topleft">
85        <?php tpl_button('edit')?>
86        <?php tpl_button('history')?>
87      </div>
88
89      <div class="bar-right" id="bar__topright">
90        <?php tpl_button('recent')?>
91        <?php tpl_searchform()?>&nbsp;
92      </div>
93
94      <div class="clearer"></div>
95    </div>
96
97    <?php if($conf['breadcrumbs']){?>
98    <div class="breadcrumbs">
99      <?php tpl_breadcrumbs()?>
100      <?php //tpl_youarehere() //(some people prefer this)?>
101    </div>
102    <?php }?>
103
104    <?php if($conf['youarehere']){?>
105    <div class="breadcrumbs">
106      <?php tpl_youarehere() ?>
107    </div>
108    <?php }?>
109
110  </div>
111  <?php flush()?>
112 	<!-- added by dwsimple { -->
113  </div>
114  <!-- } -->
115
116  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
117
118	<!-- added by dwsimple { -->
119	<div id="page">
120	<div id="inhalt">
121	<!-- } -->
122  <div class="page">
123    <!-- wikipage start -->
124    <?php tpl_content()?>
125    <!-- wikipage stop -->
126  </div>
127	<!-- added by dwsimple { -->
128  </div>
129  </div>
130  <!-- } -->
131
132  <div class="clearer">&nbsp;</div>
133
134  <?php flush()?>
135
136	<!-- added by dwsimple { -->
137	<div id="foot">
138	<!-- } -->
139  <div class="stylefoot">
140
141    <div class="meta">
142      <div class="user">
143        <?php tpl_userinfo()?>
144      </div>
145      <div class="doc">
146        <?php tpl_pageinfo()?>
147      </div>
148    </div>
149
150   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
151
152    <div class="bar" id="bar__bottom">
153      <div class="bar-left" id="bar__bottomleft">
154        <?php tpl_button('edit')?>
155        <?php tpl_button('history')?>
156        <?php tpl_button('revert')?>
157      </div>
158      <div class="bar-right" id="bar__bottomright">
159        <?php tpl_button('subscription')?>
160        <?php tpl_button('admin')?>
161        <?php tpl_button('profile')?>
162        <?php tpl_button('login')?>
163        <?php tpl_button('index')?>
164        <?php tpl_button('top')?>&nbsp;
165      </div>
166      <div class="clearer"></div>
167    </div>
168
169  </div>
170	<!-- added by dwsimple { -->
171  </div>
172  <!-- } -->
173
174</div>
175
176<!-- added by dwsimple { -->
177<div id="footer">
178<!-- } -->
179<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
180<!-- added by dwsimple { -->
181</div>
182<!-- } -->
183
184<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
185</body>
186</html>
187