1<?php
2/**
3 * DokuWiki Monobook Light Template
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://wiki.splitbrain.org/wiki:tpl:templates
12 * @author Andreas Gohr <andi@splitbrain.org>
13 * @author Michael Klier <chi@chimeric.de>
14 */
15
16// must be run from within DokuWiki
17if (!defined('DOKU_INC')) die();
18require_once(DOKU_TPLINC.'tpl_functions.php');
19
20?>
21<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
22 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
23<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
24 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
25<head>
26  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
27  <title>
28    <?php tpl_pagetitle()?>
29    [<?php echo strip_tags($conf['title'])?>]
30  </title>
31
32  <?php tpl_metaheaders()?>
33
34  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
35
36  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
37
38  <!-- change link borders dynamically -->
39  <style type="text/css">
40    <?php if($ACT == 'show' || $ACT == 'edit') { ?>
41    div.dokuwiki ul#top__nav a.edit,
42    div.dokuwiki ul#top__nav a.show,
43    div.dokuwiki ul#top__nav a.source
44    <?php } else { ?>
45    div.dokuwiki ul#top__nav a.<?php echo $ACT;?>
46    <?php } ?>
47    {
48      border-color: #fabd23;
49      border-bottom: 1px solid #fff;
50      font-weight: bold;
51    }
52  </style>
53</head>
54
55<body>
56<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
57<div class="dokuwiki">
58  <?php html_msgarea()?>
59
60  <div id="sidebar_<?php echo tpl_getConf('sb_position')?>" class="sidebar">
61    <?php tpl_logo()?>
62    <?php tpl_sidebar()?>
63  </div>
64
65  <div id="dokubook_container_<?php echo tpl_getConf('sb_position')?>">
66
67    <div class="stylehead">
68
69      <div class="header">
70        <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
71        <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
72        <div class="logo">
73          <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
74        </div>
75      </div>
76
77      <ul id="top__nav">
78        <?php
79            foreach(array('edit', 'history', 'subscribe', 'subscribens') as $act) {
80                ob_start();
81                print '<li>' . DOKU_LF;
82                if(tpl_actionlink($act)) {
83                    print '</li>' . DOKU_LF;
84                    ob_end_flush();
85                } else {
86                    ob_end_clean();
87                }
88            }
89            @include(dirname(__FILE__).'/show_plugin_tabs.html')
90        ?>
91      </ul>
92
93    </div>
94
95    <?php flush()?>
96
97    <div class="page">
98      <?php @include(dirname(__FILE__).'/show_multilingual_options.html')?>
99      <?php if($conf['breadcrumbs']){?>
100      <div class="breadcrumbs">
101        <?php tpl_breadcrumbs()?>
102      </div>
103      <?php }?>
104
105      <?php if($conf['youarehere']){?>
106      <div class="breadcrumbs">
107        <?php tpl_youarehere() ?>
108      </div>
109      <?php }?>
110
111      <!-- wikipage start -->
112      <?php tpl_content()?>
113      <!-- wikipage stop -->
114
115      <div class="meta">
116        <div class="doc">
117          <?php tpl_pageinfo()?>
118        </div>
119      </div>
120
121      <?php tpl_actionlink('top')?>
122
123      <div class="clearer"></div>
124
125    </div>
126
127    <?php flush()?>
128
129    <div class="clearer"></div>
130
131    <?php tpl_footer() ?>
132
133    <div class="stylefoot">
134      <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
135    </div>
136
137    <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
138
139  </div>
140
141</div>
142<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
143</body>
144</html>
145