1<?php
2/**
3 * Template footer, included in the main and detail files
4 */
5
6// must be run from within DokuWiki
7if (!defined('DOKU_INC')) die();
8?>
9
10				<div id="secondary" class="col-lg-3">
11
12					<header id="masthead" class="site-header">
13						<div class="hgroup">
14							<h1 class="site-title display-title">
15									<span itemprop="name">
16										<?php
17											// display wiki title in a link to the home page
18											tpl_link(
19												wl(),
20												$conf['title']
21											);
22										?>
23									</span>
24							</h1>
25							<h2 itemprop="description" class="site-description">
26							<?php if ($conf['tagline']): ?>
27								<?php echo $conf['tagline']; ?>
28							<?php endif ?>
29							</h2>
30						</div>
31						<button type="button" class="btn btn-link hidden-lg toggle-sidebar" data-toggle="offcanvas" aria-label="Sidebar">
32							<i class="fa fa-bars"></i>
33						</button>
34						<button type="button" class="btn btn-link hidden-lg toggle-navigation" aria-label="Navigation Menu">
35							<i class="fa fa-gear"></i>
36						</button>
37						<nav id="site-navigation" class="navigation main-navigation">
38							<ul id="menu-menu" class="nav-menu">
39								<!-- ********** ASIDE ********** -->
40									<?php tpl_flush() ?>
41									<?php tpl_include_page($conf['sidebar'], true, true) ?>
42								<!-- /aside -->
43
44							</ul>
45						</nav>
46					</header>
47
48					<div class="sidebar-offcanvas">
49						<div id="main-sidebar" class="widget-area" role="complementary">
50							<aside id="search-2" class="widget widget_search">
51								<?php tpl_searchform(); ?>
52							</aside>
53
54							<aside id="recent-posts-2" class="widget widget_recent_entries">
55								<h3 class='widget-title'>Recent / Updated Posts</h3>
56									<div class="pad2 aside include group">
57										<div class="content"><div class="group">
58											<?php tpl_flush() ?>
59											<?php tpl_includeFile('sidebarheader.html') ?>
60
61											<?php tpl_include_page(tpl_getConf('topSidebar'), true, true) ?>
62
63										</div></div>
64									</div>
65							</aside>
66
67							<aside id="categories-1" class="widget widget_categories">
68								<h3 class='widget-title'>About me...</h3>
69									<div class="pad2 aside include group">
70										<div class="content"><div class="group">
71											<?php tpl_flush() ?>
72											<?php tpl_include_page(tpl_getConf('bottomSidebar'), true, true) ?>
73										</div></div>
74									</div>
75							</aside>
76
77							<aside id="categories-2" class="widget widget_categories">
78								<h3 class='widget-title'>Administation</h3>
79
80								<!-- USER TOOLS -->
81								<?php if ($conf['useacl']): ?>
82									<div id="dokuwiki__usertools2">
83										<h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
84										<ul>
85											<?php
86												if (!empty($_SERVER['REMOTE_USER'])) {
87													echo '<li class="user">';
88													tpl_userinfo(); /* 'Logged in as ...' */
89													echo '</li>';
90												}
91												tpl_toolsevent('usertools', array(
92													tpl_action('admin', true, 'li', true),
93													tpl_action('profile', true, 'li', true),
94													tpl_action('register', true, 'li', true),
95													tpl_action('login', true, 'li', true)
96												));
97											?>
98										</ul>
99									</div>
100								<?php endif ?>
101
102							</aside>
103							<?php //tpl_includeFile('sidebarfooter.html') ?>
104
105						</div>
106					</div>
107
108				</div>
109
110				<div id="primary" class="content-area col-lg-9" itemprop="mainContentOfPage">
111
112					<div id="content" class="site-content" role="main">
113						<!-- wrapper -->
114						<div class="wrapper group">
115
116							<?php include('tpl_content.php') ?>
117
118						</div>
119						<!-- /wrapper -->
120					</div>
121
122					<footer class="site-info" itemscope itemtype="http://schema.org/WPFooter">
123						<a href="http://wordpress.org/" title="Semantic Personal Publishing Platform">Inspired by WordPress</a>. Theme: Flat 1.7.6 by
124						<a rel="nofollow" href="https://themeisle.com/themes/flat/" title="Flat WordPress Theme">Themeisle</a> adapted for
125						<a href="https://www.dokuwiki.org/">Dokuwiki</a> by <a href="https://beemoon.fr">www.beemoon.com</a>
126					</footer>
127
128				</div>
129
130			</div>
131		</div>
132
133		<?php include('tpl_footer.php') ?>
134
135	</div>
136</div>
137