1<div id="dokuwiki__pagetoolszenith">
2	<!-- If small screen (tablet, smartphone -->
3		<div class="mobileTools">
4		<?php tpl_actiondropdown($lang['tools']); ?>
5		</div>
6    <!-- BREADCRUMBS -->
7    <div class="breadsearch">
8    <?php if($conf['breadcrumbs'] || $conf['youarehere']): ?>
9
10	    <div class="bread_here">
11                <?php if($conf['youarehere']): ?>
12                    <div class="youarehere"><?php tpl_youarehere() ?></div>
13                <?php endif ?>
14                <?php if($conf['breadcrumbs']): ?>
15                    <div class="trace"><?php tpl_breadcrumbs() ?></div>
16                <?php endif ?>
17	    </div>
18
19	        <!-- Search&Language -->
20             <div class="searchlang">
21	        <?php tpl_searchform(); ?>
22	<!-- Lang (only with Translation Plugin -->
23	        <?php
24		$translation = plugin_load('helper','translation');
25		if ($translation) echo $translation->showTranslations();
26	        ?>
27             </div>
28
29    <?php endif ?>
30	</div>
31<!-- Tools group : connexion, various tools -->
32    <div class="tools group">
33    <div class="toolszenith">
34        <!-- USER TOOLS -->
35        <?php if ($conf['useacl']): ?>
36            <div id="dokuwiki__usertools">
37                <h3 class="a11y"><?php echo $lang['user_tools']; ?></h3>
38                <ul>
39                    <?php
40
41                        tpl_toolsevent('usertools', array(
42                            tpl_action('admin', true, 'li', true),
43                            tpl_action('profile', true, 'li', true),
44                            tpl_action('register', true, 'li', true),
45                            tpl_action('login', true, 'li', true)
46                        ));
47			if (!empty($_SERVER['REMOTE_USER'])) {
48                            echo '<li class="user">';
49                            tpl_userinfo(); /* 'Logged in as ...' */
50                            echo '</li>';
51                        }
52                    ?>
53                </ul>
54            </div>
55        <?php endif ?>
56
57        <!-- SITE TOOLS -->
58        <div id="dokuwiki__sitetools">
59            <h3 class="a11y"><?php echo $lang['site_tools']; ?></h3>
60            <ul>
61                <?php
62                    tpl_toolsevent('sitetools', array(
63                        tpl_action('recent', true, 'li', true),
64                        tpl_action('media', true, 'li', true),
65                        tpl_action('index', true, 'li', true)
66                    ));
67                ?>
68            </ul>
69        </div>
70    </div>
71    </div>
72</div>