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  <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
32
33  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
34</head>
35
36<body>
37<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
38<div class="dokuwiki">
39  <?php html_msgarea()?>
40
41  <div class="stylehead">
42
43<div class="header">
44	<div class="pagename">
45		<?php tpl_link(wl($ID,'do=backlink'),str_replace(":"," &raquo; ",tpl_pagetitle($ID,true)),'title="'.$lang['btn_backlink'].'"')?>
46	</div>
47	<div class="logo">
48		<?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
49	</div>
50	<div class="clearer"></div>
51</div>
52
53    <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
54
55
56  </div>
57  <?php tpl_flush()?>
58
59  <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
60
61	<div class="page">
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			<div class="bar-right" id="bar__topright">
68				<?php tpl_button('recent')?>
69				<?php tpl_searchform()?>
70			</div>
71			<div class="clearer"></div>
72		</div>
73
74    <?php if($conf['breadcrumbs']){?>
75    <div class="breadcrumbs">
76      <?php tpl_breadcrumbs()?>
77      <?php //tpl_youarehere() //(some people prefer this)?>
78    </div>
79    <?php }?>
80
81    <?php if($conf['youarehere']){?>
82    <div class="breadcrumbs">
83      <?php tpl_youarehere() ?>
84    </div>
85    <?php }?>
86
87		<!-- wikipage start -->
88		<div id="content">
89			<?php tpl_content()?>
90		</div>
91		<!-- wikipage stop -->
92
93		<?php tpl_flush()?>
94
95		<div class="stylefoot">
96			<div class="meta">
97				<div class="user">
98					<?php tpl_userinfo()?>
99				</div>
100				<div class="doc">
101					<?php tpl_pageinfo()?>
102				</div>
103			</div>
104			<div class="bar" id="bar__bottom">
105				<div class="bar-left" id="bar__bottomleft">
106					<?php tpl_button('edit')?>
107					<?php tpl_button('history')?>
108					<?php tpl_button('revert')?>
109				</div>
110				<div class="bar-right" id="bar__bottomright">
111					<?php tpl_button('subscribe')?>
112					<?php tpl_button('media')?>
113					<?php tpl_button('admin')?>
114					<?php tpl_button('profile')?>
115					<?php tpl_button('login')?>
116					<?php tpl_button('index')?>
117					<?php tpl_button('top')?>
118				</div>
119				<div class="clearer"></div>
120			</div>
121		</div>
122	</div>
123	<div class="clearer"></div>
124	<?php tpl_license(false);?>
125</div>
126<div id="copy">
127	<div id="copywrapper">
128		&copy; 2013 Another cool website by <a href="http://javanile.org">javanile.org</a>
129	</div>
130</div>
131<div class="no"><?php tpl_indexerWebBug() ?></div>
132</body>
133</html>
134