1<?php if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL; if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC; ?>
2<?php
3/**
4 * DokuWiki Default Template
5 *
6 * This is the template you need to change for the overall look
7 * of DokuWiki.
8 *
9 * You should leave the doctype at the very top - It should
10 * always be the very first line of a document.
11 *
12 * @link   http://wiki.splitbrain.org/wiki:tpl:templates
13 * @author Andreas Gohr <andi@splitbrain.org>
14 * @author Oscar M. Lage <r0sk10@gmail.com>
15 * @link   http://7throot.com
16 */
17
18// must be run from within DokuWiki
19if (!defined('DOKU_INC')) die();
20
21require_once(dirname(__FILE__).'/tpl_functions.php');
22
23?>
24<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
25 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
26<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
27 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
28<head>
29  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30  <title><?php echo strip_tags($conf['title'])?> &#187; <?php tpl_pagetitle()?></title>
31
32  <?php tpl_metaheaders()?>
33
34  <link rel="shortcut icon" href="<?php echo $DOKU_TPL?>images/favicon.ico" />
35  <link rel="stylesheet" media="screen" type="text/css" href="<?php echo $DOKU_TPL?>menu1.css" />
36
37  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
38</head>
39
40<body>
41<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
42<div class="dokuwiki">
43  <?php html_msgarea()?>
44
45  <div class="stylehead">
46
47    <div class="header">
48      <div class="logo">
49      	<a href="/">&nbsp;</a>
50        <!--<?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>-->
51      </div>
52
53      <div class="clearer"></div>
54
55      	<!-- menu1 -->
56				<div class="menu1">
57					<?php print tpl_menu1("menu1"); ?>
58				</div>
59    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
60    </div>
61
62    <div class="bar" id="bar__top">
63      <div class="bar-left" id="bar__topleft">
64        <?php tpl_button('edit')?>
65        <?php tpl_button('history')?>
66      </div>
67
68      <div class="bar-right" id="bar__topright">
69        <?php tpl_button('recent')?>
70        <?php tpl_searchform()?>&nbsp;
71      </div>
72
73      <div class="clearer"></div>
74    </div>
75
76    <?php if($conf['breadcrumbs']){?>
77    <div class="breadcrumbs">
78      <?php tpl_breadcrumbs()?>
79      <?php //tpl_youarehere() //(some people prefer this)?>
80    </div>
81    <?php }?>
82
83    <?php if($conf['youarehere']){?>
84    <div class="breadcrumbs">
85      <?php tpl_youarehere() ?>
86    </div>
87    <?php }?>
88
89  </div>
90  <?php flush()?>
91
92  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
93
94  <div class="page">
95    <!-- wikipage start -->
96    <?php tpl_content()?>
97    <!-- wikipage stop -->
98  </div>
99
100  <div class="clearer">&nbsp;</div>
101
102  <?php 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    <div class="meta">
116        <?php tpl_button('subscription')?>
117        <?php tpl_button('admin')?>
118        <?php tpl_button('profile')?>
119    </div>
120
121   <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
122
123    <div class="bar" id="bar__bottom">
124      <div class="bar-left" id="bar__bottomleft">
125        <?php tpl_button('edit')?>
126        <?php tpl_button('history')?>
127      </div>
128      <div class="bar-right" id="bar__bottomright">
129        <?php tpl_button('login')?>
130        <?php tpl_button('index')?>
131        <?php tpl_button('top')?>&nbsp;
132      </div>
133      <div class="clearer"></div>
134    </div>
135
136  </div>
137<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
138</div>
139
140<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
141</body>
142</html>
143