1<?php
2/**
3 * DokuWiki Template Sandy
4 *
5 * @author neolao <neo@neolao.com>
6 * @author Michael Klier <chi@chimeric.de>
7 * @link   http://dokuwiki.org/template:sandy
8 */
9
10require_once(DOKU_TPLINC.'tpl_functions.php');
11?>
12<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
13 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
14<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']; ?>" lang="<?php echo $conf['lang']; ?>">
15  <head>
16    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
17    <meta http-equiv="Content-Style-Type" content="text/css" />
18    <?php tpl_metaheaders(); ?>
19    <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
20    <title><?php echo $conf['title'] . ' [' . $ID . ']'; ?></title>
21  </head>
22  <body>
23    <div class="dokuwiki">
24      <?php html_msgarea()?>
25      <div id="header">
26         <h1><?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[ALT+H]"')?></h1>
27      </div>
28      <div id="menu">
29        <?php tpl_topbar()?>
30      </div>
31      <div class="page">
32        <?php if($conf['breadcrumbs']){?>
33        <div class="breadcrumbs">
34          <?php tpl_breadcrumbs()?>
35        </div>
36        <?php }?>
37        <?php if($conf['youarehere']){?>
38        <div class="breadcrumbs">
39          <?php tpl_youarehere() ?>
40        </div>
41        <?php }?>
42	    <?php flush(); ?>
43        <?php tpl_content(); ?>
44        <?php flush(); ?>
45        <div class="meta">
46          <div class="user">
47            <?php tpl_userinfo()?>
48          </div>
49          <div class="doc">
50            <?php tpl_pageinfo()?>
51          </div>
52        </div>
53      </div>
54      <div id="footer">
55        <?php tpl_searchform(); ?>
56        <ul>
57          <?php
58          foreach(array('edit', 'backlink', 'recent', 'history', 'login') as $action) {
59            if(actionOK($action)) {
60          ?>
61            <li><?php tpl_actionlink($action)?></li>
62          <?php
63            }
64          }?>
65        </ul>
66        <ul>
67          <?php
68          foreach(array('revert', 'profile', 'subscription', 'admin') as $action) {
69            if(actionOK($action)) {
70          ?>
71            <li><?php tpl_actionlink($action)?></li>
72          <?php
73            }
74          }?>
75        </ul>
76      </div>
77    </div>
78    <div class="no"><?php tpl_indexerWebBug()?></div>
79  </body>
80</html>
81