1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<?php
4include_once(dirname(__FILE__).'/conf.php');
5include_once(dirname(__FILE__).'/lang/en/lang.php');
6@include_once(dirname(__FILE__).'/lang/'.$conf['lang'].'/lang.php');
7if ($conf['sxs_sitenav']) {
8  include(dirname(__FILE__).'/sidebar.php');
9}
10include_once(dirname(__FILE__).'/sxs.php');
11$user = sxs_get_user_info();
12$perms = auth_quickaclcheck($ID);
13?>
14<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
15 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
16<head>
17  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18  <title><?php tpl_pagetitle()?> [<?php echo hsc($conf['title'])?>]</title>
19
20  <?php tpl_metaheaders()?>
21
22  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
23
24  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
25
26</head>
27<a name="dokuwiki__top"></a>
28
29<body <?php global $ACT; if($ACT=='login') { ?> onload="document.login_form.u.focus();";<?php } ?> >
30  <?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
31
32
33  <div class="dokuwiki"><!--start dokuwiki block-->
34    <?php html_msgarea()?>
35
36    <!--<?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>-->
37
38    <div id="content"><!--start content block-->
39    <?php if($conf['breadcrumbs']) { ?>
40    <div class="breadcrumbs">
41      <?php if($conf['sxs_youarehere']) {
42	    echo sxs_youarehere();
43	    } else {
44	    echo tpl_breadcrumbs();
45	    }?>
46    </div><!--end breadcrumbs-->
47    <?php }?>
48
49    <!--</div>-->
50    <?php flush()?>
51
52    <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
53
54    <div class="page"><!--start page block-->
55      <?php tpl_content()?>
56      <div class="clearer">&nbsp;</div>
57
58      <?php flush()?>
59      <!--<div class="stylefoot">-->
60
61      <hr />
62
63      <table width="100%" ><tbody><tr>
64
65	    <td align="left">
66	      <div class="toplink">
67		<?php tpl_actionlink('top')?>
68	      </div>
69	    </td>
70
71	    <td align="right">
72	      <!-- start page meta information -->
73	      <div class="meta">
74		<?php tpl_pageinfo()?>
75	      </div>
76	      <!-- end page meta information -->
77	    </td>
78
79      </tr></tbody></table>
80    </div><!--end page block-->
81
82    </div><!--end content block-->
83
84      <!-- start sidebar -->
85      <div id="sidebar">
86
87	<?php if ($conf['sxs_sitenav']) { ?>
88	<!-- start site navigation box -->
89	<div id="sitenav">
90	  <div id="sitenav_title">
91            <?php ptln(hsc($lang['sitenav_title']))?>
92	  </div>
93	  <?php html_sidebar('sitenav_content')?>
94	</div>
95	<!-- end site navigation box -->
96	<?php } ?>
97
98	<!-- start site commands box -->
99	<div id="sitecmd">
100	  <div id="sitecmd_title">
101            <?php ptln(hsc($lang['sitecmd_title']))?>
102	  </div>
103	  <div id="sitecmd_content">
104	    <?php sxs_sitecmds($perms, $user) ?>
105	  </div>
106
107	</div>
108	<!-- end site commands box -->
109
110	<!-- start user info -->
111	<div class="user">
112	  <?php tpl_userinfo() ?>
113	</div>
114	<!-- end user info -->
115
116	<!-- start footer -->
117	<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
118	<!-- end footer -->
119
120      </div>
121      <!-- end sidebar -->
122
123      <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
124    </div><!--end dokuwiki block-->
125
126  <div class="no"><?php tpl_indexerWebBug()?></div>
127</body>
128</html>
129