1<?php if (!defined('DOKU_INC')) die('Must be run within dokuwiki!'); ?>
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
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  <meta http-equiv="Content-Language" content="en-us" />
10
11  <title><?php tpl_pagetitle()?> | <?php echo strip_tags($conf['title'])?></title>
12
13  <link rel='stylesheet' type='text/css' href='<?php echo DOKU_TPL?>/blueprint/screen.css' />
14
15  <script src='<? echo DOKU_TPL?>/scripts.js' type='text/javascript'></script>
16
17  <?php tpl_metaheaders()?>
18  <?php if (file_exists(DOKU_PLUGIN.'displaywikipage/code.php')) include_once(DOKU_PLUGIN.'displaywikipage/code.php'); ?>
19
20</head>
21
22<body>
23
24  <!-- Top Header -->
25  <div id='top_header'>
26  </div>
27
28  <!-- Top Bar -->
29  <div id="topBar" class='clearfix'>
30
31    <div id="topBarContent" class='clearfix'>
32      <h1><?php echo strip_tags($conf['title'])?></h1>
33      <p>
34        <?php if($conf['youarehere']): ?>
35          <?php tpl_youarehere() ?>
36        <?php else: ?>
37          <?php tpl_breadcrumbs()?>
38        <?php endif; ?>
39      </p>
40    </div>
41
42    <div id="topBarButtons">
43      <?php tpl_button('edit')?>
44      <?php tpl_button('history')?>
45    </div>
46
47  </div>
48
49  <!-- Main Area -->
50  <div id="mainArea" class='clearfix'>
51
52    <!-- Left Navigation -->
53    <div id="leftNav">
54
55      <p id='accountInfo'><?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>
56
57      <form id='search' class='clearfix' accept-charset='utf-8' action='/doku.php/'>
58        <p>
59          <input type="hidden" value="search"  name="do"/>
60          <input type='text' id="navSearch" onfocus="toggleNavSearchFocus()" onblur="toggleNavSearchBlur()" value='search' name="id" accesskey="f" /> <button class='button' type='submit'>&raquo;</button>
61        </p>
62
63      </form>
64
65      <div id='left_index' class='clearfix'>
66        <h3>Index</h3>
67
68        <?php if (function_exists('dwp_display_wiki_page')): ?>
69          <?php dwp_display_wiki_page("shared:sidebar"); ?>
70        <?php else: ?>
71          <?php include(dirname(__FILE__) . '/sidebar.php'); ?>
72        <?php endif; ?>
73
74      </div>
75
76      <div>
77        <h3>Meta</h3>
78        <ul>
79          <li><a href="<?php echo DOKU_URL; ?>/feed.php">Wiki RSS Feed</a></li>
80          <li><a href="<?php echo DOKU_URL; ?>doku.php/wiki:editing_guide">Style and Editing Guide</a></li>
81          <li><a href="<?php echo DOKU_URL; ?>doku.php/wiki:syntax">Wiki Syntax Guide</a></li>
82          <li><a href="http://wiki.splitbrain.org/wiki%3Amanual">DokuWiki Documentation</a></li>
83        </ul>
84      </div>
85    </div>
86
87    <!-- Content Area -->
88    <div id="content">
89      <div class='page dokuwiki'>
90        <?php flush();?>
91        <!-- wikipage start -->
92        <?php tpl_content();?>
93        <!-- wikipage stop -->
94        <?php flush();?>
95      </div>
96    </div>
97
98  </div>
99
100  <!-- Footer -->
101  <div id="footer">
102    <p>
103      <?php tpl_pageinfo(); ?> | <?php tpl_actionlink('subscription')?> | <?php tpl_actionlink('edit')?>
104      <br />Copyright (c) <?php echo(date('Y'));?> <!-- Your company here? -->
105    </p>
106  </div>
107
108  <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
109
110</body>
111</html>
112