1<?php
2/**
3 * DokuWiki Spacious Template
4 * Based on the starter template and a wordpress theme of the same name
5 *
6 * @link     http://dokuwiki.org/template:spacious
7 * @author   desbest <afaninthehouse@gmail.com>
8 * @license  GPL 2 (http://www.gnu.org/licenses/gpl.html)
9 */
10
11if (!defined('DOKU_INC')) die(); /* must be run from within DokuWiki */
12@require_once(dirname(__FILE__).'/tpl_functions.php'); /* include hook for template functions */
13header('X-UA-Compatible: IE=edge,chrome=1');
14
15$showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER']) );
16$showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
17?><!DOCTYPE html>
18<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang'] ?>"
19  lang="<?php echo $conf['lang'] ?>" dir="<?php echo $lang['direction'] ?>" class="no-js">
20<head>
21    <meta charset="UTF-8" />
22    <title><?php tpl_pagetitle() ?> [<?php echo strip_tags($conf['title']) ?>]</title>
23    <script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
24    <?php tpl_metaheaders() ?>
25    <meta name="viewport" content="width=device-width,initial-scale=1" />
26    <?php echo tpl_favicon(array('favicon', 'mobile')) ?>
27    <?php tpl_includeFile('meta.html') ?>
28    <link rel="preconnect" href="https://fonts.gstatic.com">
29<link rel="preconnect" href="https://fonts.gstatic.com">
30<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap" rel="stylesheet">
31</head>
32
33<body>
34
35<div id="page" class="hfeed site">
36<a class="skip-link screen-reader-text" href="#main"></a>
37
38<header id="masthead" class="site-header clearfix">
39
40
41<div id="header-meta">
42    <div class="inner-wrap clearfix">
43    <nav class="small-menu" class="clearfix">
44    </nav>
45    </div>
46</div>
47
48
49<div id="header-text-nav-container" class="">
50
51    <div class="inner-wrap" id="">
52
53        <div id="header-text-nav-wrap" class="clearfix">
54            <div id="header-left-section">
55                <div id="header-logo-image">
56
57                </div><!-- #header-logo-image -->
58
59                <div id="header-text" class="">
60                        <h1 id="site-title"  rel="home" title=""><?php tpl_link(wl(),$conf['title'],'accesskey="h" title="[H]"') ?></h1>
61                        <h3 id="site-title">
62                            <a href=""
63                               title=""
64                               rel="home"></a>
65                        </h3>
66
67                    <p id="site-description"></p>
68                    <!-- #site-description -->
69                </div><!-- #header-text -->
70            </div><!-- #header-left-section -->
71            <div id="header-right-section">
72
73                <div id="header-right-sidebar" class="clearfix">
74                    <?php if ($conf['useacl'] && $showTools): ?>
75                    <!-- <div id="dokuwiki__usertools"> -->
76                        <h3 class="a11y"><?php echo $lang['user_tools'] ?></h3>
77                        <nav id="site-navigation" class="main-navigation clearfix   " role="navigation">
78                        <ul class="nav-menu">
79                            <?php /* the optional second parameter of tpl_action() switches between a link and a button,
80                                     e.g. a button inside a <li> would be: tpl_action('edit', 0, 'li') */
81                            ?>
82                            <?php tpl_toolsevent('usertools', array(
83                                'admin'     => tpl_action('admin', 1, 'li', 1),
84                                'userpage'  => _tpl_action('userpage', 1, 'li', 1),
85                                'profile'   => tpl_action('profile', 1, 'li', 1),
86                                'register'  => tpl_action('register', 1, 'li', 1),
87                                'login'     => tpl_action('login', 1, 'li', 1),
88                            )); ?>
89                        </ul>
90                        <ul>
91                        <?php tpl_toolsevent('sitetools', array(
92                            'recent'    => tpl_action('recent', 1, 'li', 1),
93                            'media'     => tpl_action('media', 1, 'li', 1),
94                            'index'     => tpl_action('index', 1, 'li', 1),
95                        )); ?>
96                    </ul>
97                        </nav>
98                    <!-- </div> -->
99                <?php endif ?>
100                </div> <!-- header right sidebar -->
101
102                <div class="header-action">
103
104                        <div class="search-wrapper">
105                            <div class="search">
106                                <i class="fa fa-search"> </i>
107                            </div>
108                            <div class="header-search-form">
109
110                            </div>
111                        </div><!-- /.search-wrapper -->
112                </div>
113            </div><!-- #header-right-section -->
114
115        </div><!-- #header-text-nav-wrap -->
116    </div><!-- .inner-wrap -->
117    <div class="bottom-menu clearfix">
118        <div class="inner-wrap clearfix"> <!-- this div is big -->
119
120
121
122            <div class="header-action">
123
124                    <div class="search-wrapper">
125
126                        <div class="search">
127                            <i class="fa fa-search"> </i>
128                        </div>
129                        <div class="header-search-form">
130
131                        </div>
132                    </div><!-- /.search-wrapper -->
133            </div>
134        </div>
135    </div>
136</div><!-- #header-text-nav-container -->
137
138    <div class="header-post-title-container clearfix">
139        <div class="inner-wrap">
140            <div class="post-title-wrapper">
141                <!-- BREADCRUMBS -->
142                <?php if($conf['breadcrumbs']){ ?>
143                    <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div>
144                <?php } ?>
145                <?php if($conf['youarehere']){ ?>
146                    <div class="breadcrumbs"><?php tpl_youarehere() ?></div>
147                <?php } ?>
148                                        <h2 class="header-post-title-class"></h2>
149                        <h1 class="header-post-title-class"></h1>
150            </div>
151        </div>
152    </div>
153</header>
154<!-- /////////////-- end of header --//////////// -->
155
156    <div id="main" class="clearfix">
157        <div class="inner-wrap">
158
159            <!-- end spacious header -->
160
161
162    <?php /* with these Conditional Comments you can better address IE issues in CSS files,
163             precede CSS rules by #IE8 for IE8 (div closes at the bottom) */ ?>
164    <!--[if lte IE 8 ]><div id="IE8"><![endif]-->
165
166    <?php /* the "dokuwiki__top" id is needed somewhere at the top, because that's where the "back to top" button/link links to */ ?>
167    <?php /* tpl_classes() provides useful CSS classes; if you choose not to use it, the 'dokuwiki' class at least
168             should always be in one of the surrounding elements (e.g. plugins and templates depend on it) */ ?>
169    <div id="dokuwiki__site"><div id="dokuwiki__top" class="site <?php echo tpl_classes(); ?> <?php
170        echo ($showSidebar) ? 'hasSidebar' : ''; ?>">
171        <?php html_msgarea() /* occasional error and info messages on top of the page */ ?>
172        <?php tpl_includeFile('header.html') ?>
173
174        <!-- ********** HEADER ********** -->
175        <div id="dokuwiki__header"><div class="pad">
176
177            <div class="headings">
178                <?php /* how to insert logo instead (if no CSS image replacement technique is used):
179                        upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly:
180                        tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?>
181                <?php if ($conf['tagline']): ?>
182                    <p class="claim"><?php echo $conf['tagline'] ?></p>
183                <?php endif ?>
184
185                <ul class="a11y skip">
186                    <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li>
187                </ul>
188                <div class="clearer"></div>
189            </div>
190
191
192            <div class="clearer"></div>
193
194
195
196            <div class="clearer"></div>
197            <hr class="a11y" />
198        </div></div><!-- /header -->
199
200
201        <div class="wrapper">
202
203            <!-- ********** CONTENT ********** -->
204            <div id="dokuwiki__content"><!-- <div class="pad"> -->
205                <?php tpl_flush() /* flush the output buffer */ ?>
206                <?php tpl_includeFile('pageheader.html') ?>
207
208
209
210                <div class="page">
211
212                    <div id="primary">
213                        <div id="content" class="clearfix">
214                        <!-- wikipage start -->
215                        <?php tpl_content() /* the main content */ ?>
216                        <!-- wikipage stop -->
217                        </div>
218                    </div>
219
220                    <div id="secondary">
221                        <aside id="search" class="widget widget_search">
222                            <?php tpl_searchform() ?>
223                        </aside>
224
225                        <aside id="archives" class="widget">
226                            <h3 class="widget-title">Page Actions</h3>
227                            <!-- PAGE ACTIONS -->
228                            <?php if ($showTools): ?>
229                                    <h3 class="a11y"><?php echo $lang['page_tools'] ?></h3>
230                                    <ul>
231                                        <?php tpl_toolsevent('pagetools', array(
232                                            'edit'      => tpl_action('edit', 1, 'li', 1),
233                                            'discussion'=> _tpl_action('discussion', 1, 'li', 1),
234                                            'revisions' => tpl_action('revisions', 1, 'li', 1),
235                                            'backlink'  => tpl_action('backlink', 1, 'li', 1),
236                                            'subscribe' => tpl_action('subscribe', 1, 'li', 1),
237                                            'revert'    => tpl_action('revert', 1, 'li', 1),
238                                            'top'       => tpl_action('top', 1, 'li', 1),
239                                        )); ?>
240                                    </ul>
241                            <?php endif; ?>
242                        </aside>
243
244                        <?php if ($showSidebar): ?>
245                        <aside id="writtensidebar" class="widget">
246                            <!-- <h3 class="widget-title">Sidebar</h3> -->
247                            <?php tpl_includeFile('sidebarheader.html') ?>
248                            <?php tpl_include_page($conf['sidebar'], 1, 1) /* includes the nearest sidebar page */ ?>
249                            <?php tpl_includeFile('sidebarfooter.html') ?>
250                            <div class="clearer"></div>
251                        </aside>
252                        <?php endif; ?>
253                    </div>
254                        <!-- close secondary -->
255                    <!-- </div>  -->
256                    <!-- close dokuwiki__content -->
257
258
259
260
261
262                    <div class="clearer"></div>
263                </div>
264
265                <?php tpl_flush() ?>
266                <?php tpl_includeFile('pagefooter.html') ?>
267            <!-- </div> --></div><!-- /content -->
268
269            <div class="clearer"></div>
270            <hr class="a11y" />
271
272
273            <!-- ********** ASIDE ********** -->
274
275
276        </div><!-- /wrapper -->
277
278        <!-- ********** FOOTER ********** -->
279
280
281        <?php tpl_includeFile('footer.html') ?>
282    </div></div><!-- /site -->
283
284    <div class="no"><?php tpl_indexerWebBug() /* provide DokuWiki housekeeping, required in all templates */ ?></div>
285    <!--[if lte IE 8 ]></div><![endif]-->
286
287        </div><!-- .inner-wrap -->
288</div><!-- #main -->
289
290
291<footer id="colophon" class="clearfix">
292    <div class="footer-socket-wrapper clearfix">
293        <div class="inner-wrap">
294            <div class="footer-socket-area">
295                <div id="dokuwiki__footer"><div class="pad">
296                    <?php
297                                            if (!empty($_SERVER['REMOTE_USER'])) {
298                                                echo '';
299                                                tpl_userinfo(); /* 'Logged in as ...' */
300                                                echo '<br>';
301                                            }
302                                        ?>
303            <div class="doc"><?php tpl_pageinfo() /* 'Last modified' etc */ ?></div>
304            <?php tpl_license('button') /* content license, parameters: img=*badge|button|0, imgonly=*0|1, return=*0|1 */ ?>
305        </div></div><!-- /footer -->
306                <nav class="small-menu clearfix">
307
308                </nav>
309            </div>
310        </div>
311    </div>
312</footer>
313<a href="#masthead" id="scroll-up"></a>
314</div><!-- #page -->
315</body>
316</html>
317