1<div id="dokuwiki__content__wrapper"> 2 <!-- ********** ASIDE ********** --> 3 4 <?php 5 6 /* disable sidemenu on login and some pages */ 7 if(($ACT!="login") && ($ACT!="denied")){ 8 if (($ACT == 'show')||(isset($_REQUEST['page']) && $ACT=='admin' && $_REQUEST['page'] == 'config')){ 9 ?> 10 11 12 <div id="dokuwiki__aside"> 13 <div class="dokuwiki__aside_wrapper"> 14 <?php 15 /*mainmenu*/ 16 if ($ACT=='show'){ 17 $mainmenu = tpl_getConf('MainMenu'); 18 $translation = plugin_load('helper','translation'); 19 $currentlng = ""; 20 if ($translation){ 21 $currentlng = (explode(":",$INFO['namespace']))[0] . ":"; 22 } 23 $mainmenu = $currentlng . $mainmenu; 24 ?> 25 <div class="kiwiki-main-menu dokuwiki__aside__block"> 26 <h3><?php echo tpl_getLang('Menu'); ?></h3> 27 <div class="menu-content"> 28 <?php tpl_include_page($mainmenu); 29 echo Kiwiki_Functions::_edit_icon($mainmenu); 30 ?> 31 </div> 32 </div> 33 34 <?php 35 } 36 /*toc*/ 37 $toc = tpl_toc(true); 38 if ((isset($toc))){ 39 echo tpl_toc() ; 40 } 41 ?> 42 </div> 43 </div> 44 <?php 45 } 46 } ?> 47 <!-- ********** CONTENT ********** --> 48 49 <main id="dokuwiki__content"> 50 51 <div class="group"> 52 <?php tpl_flush() ?> 53 <?php tpl_includeFile('pageheader.html') ?> 54 <div class="page group"> 55 <!-- wikipage start --> 56 <?php tpl_content(false); 57 echo Kiwiki_Functions::_edit_icon(''); 58 ?> 59 <!-- wikipage stop --> 60 </div> 61 <?php tpl_flush(); 62 if(($ACT=="login") || ($ACT=="denied")){ 63 html_msgarea(); 64 echo '<a href="/" class="back-home">' . tpl_getLang('Back to homepage') . '</a>'; 65 } 66 if (isset($_REQUEST['do']) && $_REQUEST['do'] == 'profile'){ 67 echo '<div class="user_groups_info">' . tpl_getLang('User is in group'); 68 echo join(', ',$INFO['userinfo']['grps']); 69 echo '</div>'; 70 } ?> 71 </div> 72 </main><!-- /content --> 73</div><!-- /wrapper --> 74