1<?php if (!defined('DOKU_INC')) die('Must be run within dokuwiki!'); ?>
2
3<!DOCTYPE html>
4
5<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
6
7<head>
8  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
9
10  <title><?php tpl_pagetitle()?> | <?php echo strip_tags($conf['title'])?></title>
11
12  <link rel='icon' type='image/png' href='<?php echo DOKU_TPL?>images/favicon.png' />
13  <link rel='stylesheet' type='text/css' href='<?php echo DOKU_TPL?>/blueprint/screen.css' />
14
15	<script src='<?php echo DOKU_TPL?>jquery-1.4.2.min.js' type='text/javascript'></script>
16  <script src='<?php echo DOKU_TPL?>scripts.js' type='text/javascript'></script>
17
18  <?php tpl_metaheaders()?>
19  <?php if (file_exists(DOKU_PLUGIN.'displaywikipage/code.php')) include_once(DOKU_PLUGIN.'displaywikipage/code.php'); ?>
20
21</head>
22
23<body>
24
25  <!-- Top Header -->
26  <div id='top_header' class='clearfix'>
27		<h1><a href='<?php echo DOKU_URL; ?>' title='<?php echo $conf['title']; ?> Homepage'><?php echo strip_tags($conf['title'])?></a></h1>
28
29		<p id='account_info'><?php tpl_userinfo(); ?><br /><?php tpl_actionlink('profile', '', '', 'My Account'); ?> <?php tpl_actionlink('login'); ?> <?php if(auth_isadmin()): ?>| <?php tpl_actionlink('admin'); ?><?php endif; ?></p>
30		<br class='clear' />
31  </div>
32
33  <!-- TOC Area -->
34  <div id='toc_area'>
35	<div id='toc_inner'>
36		<?php if (function_exists('dwp_display_wiki_page')): ?>
37			<?php dwp_display_wiki_page("shared:sidebar"); ?>
38		<?php else: ?>
39			<?php include(dirname(__FILE__) . '/sidebar.php'); ?>
40		<?php endif; ?>
41		<br class='clear' />
42	</div>
43</div>
44	<div id='toc_toggle' style=''><a href='#'>Table of Contents</a></div>
45
46	<!-- Main Area -->
47  <div id='main_pane'>
48
49		<div id='main_pane_header'>
50			<?php tpl_button('edit')?>
51			<?php tpl_button('history')?>
52
53			<form id='search' method='get' accept-charset='utf-8' action='<?php echo DOKU_URL; ?>doku.php/'>
54				<input type="hidden" value="search"  name="do" />
55				<input type='text' id="navSearch" placeholder='Search' name="id" accesskey="f" />
56				<input class='button' type='submit' value='&raquo;' />
57			</form>
58			<br class='clear' />
59		</div>
60
61	  <p id='main_pane_breadcrumbs'>
62			<?php if($conf['youarehere']): ?>
63				<?php tpl_youarehere() ?>
64			<?php else: ?>
65				<?php tpl_breadcrumbs()?>
66			<?php endif; ?>
67		</p>
68
69
70			<div id="content">
71				<div class='page dokuwiki'>
72					<?php flush();?>
73					<!-- wikipage start -->
74					<?php tpl_content();?>
75					<!-- wikipage stop -->
76		       <?php flush();?>
77		     </div>
78		   </div>
79
80	</div>
81
82
83  <!-- Footer -->
84  <div id="footer">
85
86  	<ul>
87  		<li><a href="<?php echo DOKU_URL; ?>/feed.php">Wiki RSS Feed</a></li>
88			<li><a href="<?php echo DOKU_URL; ?>doku.php/wiki:syntax">Wiki Syntax Guide</a></li>
89			<li><a href="http://wiki.splitbrain.org/wiki%3Amanual">DokuWiki Documentation</a></li>
90	  </ul>
91
92    <p>
93      <?php tpl_pageinfo(); ?> | <?php tpl_actionlink('edit')?>
94      <br />Copyright (c) <?php echo(date('Y'));?> All Rights Reserved
95    </p>
96  </div>
97
98  <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
99
100</body>
101</html>
102