1<?php if (isset($DOKU_TPL)==FALSE) $DOKU_TPL = DOKU_TPL; if (isset($DOKU_TPLINC)==FALSE) $DOKU_TPLINC = DOKU_TPLINC; ?>
2<?php
3/**
4 * DokuWiki Default Template
5 *
6 * This is the template you need to change for the overall look
7 * of DokuWiki.
8 *
9 * @link   http://wiki.splitbrain.org/wiki:tpl:templates
10 * @author Andreas Gohr <andi@splitbrain.org>
11 * @author Esther Brunner <wikidesign@gmail.com>
12 * @author Oscar M. Lage <r0sk10@gmail.com>
13 */
14
15// must be run from within DokuWiki
16if (!defined('DOKU_INC')) die();
17
18// include functions that provide sidebar and tabs functionality
19@require_once(dirname(__FILE__).'/functions.php');
20tpl_checkColor();
21
22?>
23<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
26 lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
27<head>
28  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
29  <title>
30    <?php tpl_pagetitle()?> · <?php echo strip_tags($conf['title'])?>
31  </title>
32
33  <?php tpl_metaheaders()?>
34
35  <link rel="shortcut icon" href="<?php echo $DOKU_TPL?>images/favicon.ico" />
36
37  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
38</head>
39
40<body>
41<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
42<div class="dokuwiki" id="<?php tpl_classID()?>">
43  <?php html_msgarea()?>
44
45  <div class="header">
46    <div class="logo">
47      <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
48    </div>
49  </div>
50
51  <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
52
53  <div class="main">
54
55    <?php if($conf['breadcrumbs']){?>
56    <div class="breadcrumbs">
57      <?php tpl_breadcrumbs()?>
58    </div>
59    <?php }?>
60
61    <?php if($conf['youarehere']){?>
62    <div class="breadcrumbs">
63      <?php tpl_youarehere()?>
64    </div>
65    <?php }?>
66
67    <?php flush()?>
68
69    <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
70
71    <?php tpl_tabs()?>
72
73    <div class="page">
74
75      <!-- wikipage start -->
76      <?php tpl_content()?>
77      <!-- wikipage stop -->
78
79      <?php if ($INFO['exists'] && ($ACT == 'show') && $INFO['perm']
80        && tpl_getConf('showpageinfo')){?>
81      <div class="meta">
82        <?php tpl_pageinfo()?>
83      </div>
84      <?php }?>
85
86      <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
87
88      <?php if ($INFO['editable']){?>
89      <div class="bar">
90      <?php tpl_button('edit').' '.tpl_button('history').' '.tpl_button('backlink').' '.tpl_button('subscription')?>
91      </div>
92      <?php }?>
93    </div><!-- page -->
94
95    <div class="sidebar">
96      <?php tpl_sidebar()?>
97      <hr />
98      <?php if (tpl_getConf('showsiteactions')){?>
99        <ul>
100          <li><div class="li"><?php tpl_actionlink('index')?></div></li>
101          <li><div class="li"><?php tpl_actionlink('recent')?></div></li>
102        </ul>
103      <?php }?>
104      <div class="centeralign"><?php tpl_searchform()?></div>
105      <?php if (tpl_getConf('showuseractions')){?>
106        <hr />
107        <ul>
108          <li><div class="li"><?php tpl_actionlink('login')?>
109          <?php if ($_SERVER['REMOTE_USER']){?>
110            <?php echo $INFO['userinfo']['name']?>
111            </div></li>
112            <li><div class="li">
113            <?php tpl_actionlink('profile')?>
114          <?php }?>
115          </div></li>
116          <?php if ($INFO['perm'] == 255){?>
117            <li><div class="li"><?php tpl_actionlink('admin')?></div></li>
118          <?php }?>
119        </ul>
120      <?php }?>
121    </div><!-- sidebar -->
122
123  </div><!-- main -->
124
125  <?php flush()?>
126
127  <div class="footer">
128  <a <?php echo $tgt?> href="<?php echo DOKU_BASE; ?>feed.php" title="Recent changes RSS feed"><img src="<?php echo $DOKU_TPL; ?>images/button-rss.png" width="80" height="15" alt="Recent changes RSS feed" /></a>
129
130  <a <?php echo $tgt?> href="http://creativecommons.org/licenses/by-nc-sa/2.0/" rel="license" title="Creative Commons License"><img src="<?php echo $DOKU_TPL; ?>images/button-cc.gif" width="80" height="15" alt="Creative Commons License" /></a>
131
132  <a <?php echo $tgt?> href="https://www.paypal.com/xclick/business=andi%40splitbrain.org&amp;item_name=DokuWiki+Donation&amp;no_shipping=1&amp;no_note=1&amp;tax=0&amp;currency_code=EUR&amp;lc=US" title="Donate"><img src="<?php echo $DOKU_TPL; ?>images/button-donate.gif" alt="Donate" width="80" height="15" /></a>
133
134  <a <?php echo $tgt?> href="http://wiki.splitbrain.org/wiki:dokuwiki" title="Driven by DokuWiki"><img src="<?php echo $DOKU_TPL; ?>images/button-dw.png" width="80" height="15" alt="Driven by DokuWiki" /></a>
135
136  <a <?php echo $tgt?> href="http://www.userlinux.net" title="Designed by Oscar M. Lage - Userlinux"><img src="<?php echo $DOKU_TPL; ?>images/btn_userlinux.png" width="80" height="15" alt="Designed by Oscar M. Lage - Userlinux" /></a>
137  </div><!-- footer -->
138
139</div>
140<?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
141
142<div id="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
143</body>
144</html>
145