1<?php
2/**
3 * "Slaad" template.
4 *   @author Ismael Salgado <slaad.net@gmail.com>
5 *   @link http://slaad.net
6 *
7 * Based on the default template.
8 *   @author Andreas Gohr <andi@splitbrain.org>
9 *   @link   http://wiki.splitbrain.org/wiki:tpl:templates
10 *
11 * (ñ-soft)
12 */
13
14if(!defined('DOKU_INC')) die();
15?>
16
17<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
18 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
19<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
20<head>
21  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
22
23	<title><?php tpl_pagetitle(); echo ' - [', strip_tags($conf['title']), ']'; ?></title>
24
25  <?php tpl_metaheaders()?>
26
27	<!--[if lt IE 8]><link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL; ?>design_ie.css" /><![endif]-->
28	<!--[if lt IE 7]><link rel="stylesheet" media="screen" type="text/css" href="<?php echo DOKU_TPL; ?>design_ie6.css" /><![endif]-->
29
30  <link rel="shortcut icon" href="<?php echo DOKU_TPL; ?>images/favicon.ico" />
31	<link rel="icon" href="<?php echo DOKU_TPL; ?>images/favicon.ico" />
32
33  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
34</head>
35<body id="dokuwiki__top">
36
37<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
38
39<div class="dokuwiki">
40	<div class="header">
41		<span><?php echo $conf['title']; ?></span>
42		<div class="search">
43			<div class="wrap"><?php tpl_searchform(); ?>
44			</div>
45		</div>
46	</div>
47
48	<div class="content">
49		<div class="wrap">
50			<div class="pagename">
51				&laquo;<?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true))?>&raquo;
52			</div>
53
54			<?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
55
56			<div class="nav-bar nav-bar-top">
57				<div class="wrap">
58
59					<ul>
60						<li><?php tpl_actionlink('index'); ?></li>
61						<li><?php tpl_actionlink('edit'); ?></li>
62						<li><?php tpl_actionlink('history'); ?></li>
63						<li><?php tpl_actionlink('recent'); ?></li>
64						<li><?php tpl_actionlink('profile'); ?></li>
65						<li><?php tpl_actionlink('subscription'); ?></li>
66						<li><?php tpl_actionlink('backlink'); ?></li>
67						<li><?php tpl_actionlink('admin'); ?></li>
68						<li><?php tpl_actionlink('login'); ?></li>
69						<li><?php tpl_actionlink('back'); ?></li>
70					</ul>
71					<div class="clear"></div>
72				</div>
73			</div>
74
75		<div class="breadcrumbs-wrap">
76			<div class="bc"><?php if($conf['breadcrumbs']) tpl_breadcrumbs(); ?></div>
77			<div class="yh"><?php if($conf['youarehere']) tpl_youarehere(); ?></div>
78		</div>
79
80		<div class="html-msgarea">
81			<?php html_msgarea(); ?>
82		</div>
83
84		<?php
85			flush();
86			//old includehook
87			@include(dirname(__FILE__).'/pageheader.html');
88		?>
89
90		<div class="wiki-content">
91			<!-- wikipage start -->
92			<?php tpl_content(); ?>
93			<!-- wikipage stop -->
94		</div>
95
96		<?php flush(); ?>
97
98		<div class="clear"></div>
99		<div class="meta">
100			<div class="user">
101				<?php tpl_userinfo(); ?>
102			</div>
103			<div class="doc">
104				<?php tpl_pageinfo(); ?>
105			</div>
106		</div>
107
108		<div class="nav-bar nav-bar-bottom">
109			<div class="wrap">
110
111				<ul>
112					<li><?php tpl_actionlink('top'); ?></li>
113					<li><?php tpl_actionlink('admin'); ?></li>
114					<li><?php tpl_actionlink('login'); ?></li>
115				</ul>
116				<div class="clear"></div>
117			</div>
118		</div>
119
120		<?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html'); ?>
121
122		</div>
123	</div>
124
125<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
126</div>
127
128<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
129</body>
130</html>
131