You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

137 lines
4.3 KiB

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