1<?php
2/**
3 * DokuWiki template Typo
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/template:typo
12 * @author Michael Klier <chi@chimeric.de>
13 */
14
15// must be run from within DokuWiki
16if (!defined('DOKU_INC')) die();
17?>
18<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
19 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
20<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
21 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
22<head>
23  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24  <title>
25    <?php tpl_pagetitle()?>
26    [<?php echo strip_tags($conf['title'])?>]
27  </title>
28
29  <?php tpl_metaheaders()?>
30
31  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
32
33  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
34</head>
35
36<body>
37
38<div class="dokuwiki">
39  <?php html_msgarea()?>
40  <a href="#" name="dokuwiki__top">&nbsp;</a>
41
42  <div id="content">
43    <?php $toc = tpl_toc(true)?>
44    <?php if($toc) { ?>
45    <?php print $toc ?>
46      <div class="clearer"></div>
47     <?php } ?>
48
49    <div class="page">
50      <!-- wikipage start -->
51      <?php tpl_content(false)?>
52      <?php flush()?>
53      <!-- wikipage stop -->
54      <div class="clearer"></div>
55      <div class="bar-right" id="bar__bottomright">
56        <?php tpl_actionlink('top')?>&nbsp;
57      </div>
58    </div>
59
60  </div>
61
62  <div id="sidebar">
63    <?php require_once(DOKU_TPLINC.'sidebar.html')?>
64  </div>
65
66  <?php flush()?>
67
68  <div class="clearer"></div>
69
70</div>
71
72<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
73</body>
74</html>
75