1 <?php
2 /**
3  * DokuWiki Origin Resurrected Template
4  *
5  * This was originally the default template for dokuwiki called "default"
6  * but later in 2012 that changed to a different template called "dokuwiki"
7  * I (desbest) have volunteered to maintain this to make it compatible with
8  * newer dokuwiki versions, as I have a use for this template for me to add
9  * modifications to it for my website.
10  *
11  * @link   http://dokuwiki.org/templates
12  * @author Andreas Gohr <andi@splitbrain.org>
13  * @author desbest <afaninthehouse@gmail.com>
14  */
15 
16 // must be run from within DokuWiki
17 if (!defined('DOKU_INC')) die();
18 
19 ?>
20 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
21  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>"
23  lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>">
24 <head>
25   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
26   <title>
27     <?php tpl_pagetitle()?>
28     [<?php echo strip_tags($conf['title'])?>]
29   </title>
30 
31   <?php tpl_metaheaders()?>
32   <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
33 
34   <?php /*old includehook*/ @include(dirname(__FILE__).'/meta.html')?>
35   <meta name="viewport" content="width=device-width, initial-scale=1">
36 </head>
37 
38 <body>
39 <?php /*old includehook*/ @include(dirname(__FILE__).'/topheader.html')?>
40 <div class="dokuwiki">
41   <?php html_msgarea()?>
42 
43   <div class="stylehead">
44 
45     <div class="header">
46       <div class="pagename">
47         <!-- [[ -->
48         <?php tpl_link(wl($ID,'do=backlink'),tpl_pagetitle($ID,true),'title="'.$lang['btn_backlink'].'"')?>
49         <!-- ]] -->
50       </div>
51       <div class="logo">
52         <?php tpl_link(wl(),$conf['title'],'name="dokuwiki__top" id="dokuwiki__top" accesskey="h" title="[H]"')?>
53       </div>
54 
55       <div class="clearer"></div>
56     </div>
57 
58     <?php /*old includehook*/ @include(dirname(__FILE__).'/header.html')?>
59 
60     <div class="bar" id="bar__top">
61       <div class="bar-left" id="bar__topleft">
62         <?php tpl_button('edit')?>
63         <?php tpl_button('history')?>
64       </div>
65 
66       <div class="bar-right" id="bar__topright">
67         <?php tpl_button('recent')?>
68         <?php tpl_searchform()?>&#160;
69       </div>
70 
71       <div class="clearer"></div>
72     </div>
73 
74     <?php if($conf['breadcrumbs']){?>
75     <div class="breadcrumbs">
76       <?php tpl_breadcrumbs()?>
77       <?php //tpl_youarehere() //(some people prefer this)?>
78     </div>
79     <?php }?>
80 
81     <?php if($conf['youarehere']){?>
82     <div class="breadcrumbs">
83       <?php tpl_youarehere() ?>
84     </div>
85     <?php }?>
86 
87   </div>
88   <?php tpl_flush()?>
89 
90   <?php /*old includehook*/ @include(dirname(__FILE__).'/pageheader.html')?>
91 
92   <div class="page">
93     <!-- wikipage start -->
94     <?php tpl_content()?>
95     <!-- wikipage stop -->
96   </div>
97 
98   <div class="clearer"></div>
99 
100   <?php tpl_flush()?>
101 
102   <div class="stylefoot">
103 
104     <div class="meta">
105       <div class="user">
106         <?php tpl_userinfo()?>
107       </div>
108       <div class="doc">
109         <?php tpl_pageinfo()?>
110       </div>
111     </div>
112 
113    <?php /*old includehook*/ @include(dirname(__FILE__).'/pagefooter.html')?>
114 
115     <div class="bar" id="bar__bottom">
116       <div class="bar-left" id="bar__bottomleft">
117         <?php tpl_button('edit')?>
118         <?php tpl_button('history')?>
119         <?php tpl_button('revert')?>
120       </div>
121       <div class="bar-right" id="bar__bottomright">
122         <?php tpl_button('subscribe')?>
123         <?php tpl_button('media')?>
124         <?php tpl_button('admin')?>
125         <?php tpl_button('profile')?>
126         <?php tpl_button('login')?>
127         <?php tpl_button('index')?>
128         <?php tpl_button('top')?>&#160;
129       </div>
130     </div>
131 
132   <div class="clearer"></div><?php tpl_flush()?> <!-- desbest edit -->
133 
134   </div>
135 
136   <?php tpl_license(false);?>
137 
138 </div>
139 <?php /*old includehook*/ @include(dirname(__FILE__).'/footer.html')?>
140 
141 <div class="no"><?php /* provide DokuWiki housekeeping, required in all templates */ tpl_indexerWebBug()?></div>
142 </body>
143 </html>
144