1<?php
2/*
3Wikimagination Template for DokuWiki - main page layout.
4
5http://felix.plesoianu.ro/index.php/page:Webdesign:Wikimagination%20Template
6
72012-09-19 Felix Pleşoianu <felix@plesoianu.ro>
8*/
9
10if (!defined('DOKU_INC')) die(); // must be run from within DokuWiki
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']; ?>"
15 lang="<?php echo $conf['lang']; ?>" dir="<?php echo $lang['direction']; ?>">
16<head>
17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
18 <title>
19  <?php tpl_pagetitle(); ?> [<?php echo strip_tags($conf['title']); ?>]
20 </title>
21
22 <?php tpl_metaheaders(); ?>
23
24  <link rel="shortcut icon" href="<?php echo tpl_basedir(); ?>media/favicon.ico" />
25</head>
26
27<body>
28 <div class="dokuwiki">
29  <div class="header">
30   <div id="logo">
31    <a href="<?php echo DOKU_BASE; ?>doku.php"><img
32     src="<?php echo tpl_getMediaFile(array(':logo.png', 'media/logo.png')); ?>"
33     alt="" width="128" height="128"/></a>
34   </div>
35   <h1><?php echo strip_tags($conf['title'])?></h1>
36   <?php tpl_searchform(); ?>
37   <h2><?php tpl_pagetitle(); ?></h2>
38  </div>
39
40  <div class="section">
41
42  <div class="article">
43   <div id="navigation-area">
44    <div><?php if ($conf['breadcrumbs']) { tpl_breadcrumbs(); } ?></div>
45    <div><?php if ($conf['youarehere']) { tpl_youarehere(); } ?></div>
46   </div>
47
48   <div id="content-area">
49    <div><?php html_msgarea(); ?></div>
50    <div><?php tpl_content(); ?></div>
51   </div>
52
53   <div id="info-area">
54    <address>
55     <?php tpl_pageinfo(); ?> - <?php tpl_userinfo(); ?>
56     <?php tpl_button('top'); ?>
57    </address>
58   </div>
59  </div>
60
61  <div class="aside">
62   <div id="page-commands">
63    <p>This page</p>
64    <?php tpl_button('edit'); ?>
65    <?php tpl_button('history'); ?>
66    <?php tpl_button('revert'); ?>
67    <?php tpl_link(wl($ID, 'do=backlink'), "Backlinks"); ?>
68   </div>
69
70   <div id="site-commands">
71    <p>Site toolbox</p>
72    <?php
73    tpl_button('recent');
74    tpl_button('subscription');
75    tpl_button('index');
76    ?>
77    <br/>
78    <?php tpl_button('media'); ?>
79    <br/>
80    <?php
81    tpl_button('admin');
82    tpl_button('profile');
83    tpl_button('login');
84    ?>
85   </div>
86  </div>
87
88  <div class="guard">&nbsp;</div>
89  </div>
90
91  <div class="footer">
92   <?php tpl_includeFile('footer.html') ?>
93   <?php tpl_indexerWebBug(); ?>
94  </div>
95 </div>
96</body>
97</html>
98