1<?php 2if (!empty($sidebar)) { 3 $sidebar = $INFO['namespace'] ? $INFO['namespace'] . ':' . $sidebar : $sidebar; 4} 5?> 6 7<div id="dokuwiki__content__wrapper" role="main"> 8 9 <!-- ********** ASIDE LEFT ********** --> 10 11 <?php 12 13 if(($ACT!="login") && ($ACT!="denied")){ 14 if( $sidebar_right == 0 || $toc_right == 0 ){ 15 $right = 0; 16 include('partial/sidebar_toc.php'); 17 } 18 } 19 ?> 20 21 <!-- ********** CONTENT ********** --> 22 <main id="dokuwiki__content"> 23 24 <div class="group"> 25 <?php tpl_flush() ?> 26 <?php tpl_includeFile('pageheader.html') ?> 27 <div class="page group"> 28 <!-- wikipage start --> 29 <?php tpl_content(false); 30 echo Kiwiki_Functions::_edit_icon(''); 31 ?> 32 <!-- wikipage stop --> 33 </div> 34 <?php tpl_flush(); 35 if(($ACT=="login") || ($ACT=="denied")){ 36 html_msgarea(); 37 echo '<a href="'.DOKU_BASE.'" class="back-home">' . tpl_getLang('Back to homepage') . '</a>'; 38 } 39 if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'profile'){ 40 echo '<div class="user_groups_info">' . tpl_getLang('User is in group'); 41 echo join(', ',$INFO['userinfo']['grps']); 42 echo '</div>'; 43 } ?> 44 </div> 45 </main><!-- /content --> 46 47 <!-- ********** ASIDE RIGHT ********** --> 48 <?php 49 50 if(($ACT!="login") && ($ACT!="denied")){ 51 if( $sidebar_right == 1 || $toc_right == 1 ){ 52 $right = 1; 53 include('partial/sidebar_toc.php'); 54 } 55 } 56 ?> 57 58</div><!-- /wrapper --> 59<?php 60/* mobile sidebar */ 61if (($ACT == 'show') && page_exists($sidebar)) { 62 63 ?> 64 <div class="kiwiki-sidebar-mobile"> 65 <div class="sidebar-content"> 66 <?php 67 tpl_include_page($sidebar, true, true); 68 echo Kiwiki_Functions::_edit_icon($sidebar); 69 ?> 70 </div> 71 </div> 72 73 <?php 74} 75?>