1<?php 2 global $conf; 3 global $INFO; 4 $showTools = !tpl_getConf('hideTools') || ( tpl_getConf('hideTools') && $_SERVER['REMOTE_USER'] ); 5 global $_SERVER; 6?> 7<div id="zenlikeheader"> 8 <div class="headings"> 9 <div id="headercontent"> 10 <h1><?php echo $conf['title']; ?></h1> 11 <?php /* how to insert logo instead (if no CSS image replacement technique is used): 12 upload your logo into the data/media folder (root of the media manager) and replace 'logo.png' accordingly: 13 tpl_link(wl(),'<img src="'.ml('logo.png').'" alt="'.$conf['title'].'" />','id="dokuwiki__top" accesskey="h" title="[H]"') */ ?> 14 <?php if ($conf['tagline']): ?> 15 <p class="claim"><?php echo $conf['tagline'] ?></p> 16 <?php endif ?> 17 </div> 18 19 <div id="search"> 20 <?php tpl_searchform() ?> 21 </div> 22 23 </div> 24 25 <div id="headerpic"></div> 26 27 <ul class="a11y skip"> 28 <li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content'] ?></a></li> 29 </ul> 30 <div class="clearer"></div> 31</div> 32 33<div id="menu"> 34 35 <?php 36 tpl_include_page(tpl_getConf('menuid')); 37 ?> 38 39 <div id="rightmenu"> 40 41 <?php 42 43 if ($INFO['ismobile']) { 44 45 tpl_actiondropdown($lang['tools']); 46 47 } else { 48 49 print '<ul>'; 50 51 tpl_action('recent', 1, 'li'); 52 tpl_action('media', 1, 'li'); 53 tpl_action('index', 1, 'li'); 54 55 if ($conf['useacl'] && $showTools) { 56 57 echo '<li class="menusplit">'; 58 59 echo '<img src="' . tpl_basedir() . 60 'images/icon-user.png" ' . 61 'id="toggle_usertools" '; 62 63 if ($_SERVER['REMOTE_USER']) { 64 echo 'title="'; 65 tpl_userinfo(); 66 echo '" '; 67 } 68 69 echo 'width="32" height="16" alt="' . 70 $lang['user_tools'] . 71 '" />'; 72 73 echo '</li>'; 74 75 } 76 77 print '</ul>'; 78 79 } 80 81 ?> 82 83 </div> 84</div> 85 86<div id="usertools" style="display:none"> 87 <ul> 88 89<?php 90 91 tpl_action('admin', 1, 'li'); 92 _tpl_action('userpage', 1, 'li'); 93 tpl_action('profile', 1, 'li'); 94 tpl_action('register', 1, 'li'); 95 tpl_action('login', 1, 'li'); 96 97?> 98 </ul> 99</div> 100 101<div id="menubottom"></div> 102 103<!-- BREADCRUMBS --> 104<?php if($conf['breadcrumbs']){ ?> 105 <div class="breadcrumbs"><?php tpl_breadcrumbs() ?></div> 106<?php } ?> 107<?php if($conf['youarehere']){ ?> 108 <div class="breadcrumbs"><?php tpl_youarehere() ?></div> 109<?php } ?> 110 111