1<?php
2/**
3 * DokuWiki DoKubrick 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 * @author Andreas Gohr <andi@splitbrain.org>
12 * @author Michael Klier <chi@chimeric.de>
13 * @link   http://dokuwiki.org/template:dokubrick
14 * @link   http://chimeric.de/projects/dokuwiki/template/arctic/
15 */
16
17// must be run from within DokuWiki
18if (!defined('DOKU_INC')) die();
19
20// include custom arctic template functions
21require_once(dirname(__FILE__).'/tpl_functions.php');
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()?>
31    [<?php echo strip_tags($conf['title'])?>]
32  </title>
33
34  <?php tpl_metaheaders()?>
35
36  <link rel="shortcut icon" href="<?php echo DOKU_TPL?>images/favicon.ico" />
37
38  <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
39
40</head>
41<body>
42<?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
43<div class="dokuwiki">
44
45  <?php html_msgarea()?>
46
47  <div class="stylehead">
48    <div class="header">
49      <div class="logo">
50        <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" accesskey="h" title="[ALT+H]"')?>
51      </div>
52    </div>
53  </div>
54
55  <div id="wrapper">
56    <div class="breadcrumbs">
57      <?php ($conf['youarehere'] != 1) ? tpl_breadcrumbs() : tpl_youarehere();?>
58    </div>
59
60    <?php flush()?>
61
62    <?php if($ACT != 'diff' && $ACT != 'edit' && $ACT != 'preview'
63          && $ACT != 'admin' && $ACT != 'login' && $ACT != 'profile' && $ACT != 'conflict')
64    { ?>
65    <div class="left_page">
66      <?php tpl_content(false)?>
67    </div>
68    <div class="sidebar">
69      <?php tpl_searchform() ?>
70      <?php tpl_sidebar() ?>
71    </div>
72    <?php } else { ?>
73    <div class="page">
74      <?php tpl_content()?>
75    </div>
76    <?php } ?>
77
78    <div class="stylefoot">
79      <div class="meta">
80        <div class="user">
81        <?php tpl_userinfo()?>
82        </div>
83        <div class="doc">
84        <?php tpl_pageinfo()?>
85        </div>
86      </div>
87    </div>
88  </div>
89
90  <?php flush()?>
91
92  <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
93
94</div>
95
96<div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
97</body>
98</html>
99