sidebar
This commit is contained in:
parent
42f8e89c3c
commit
77d4a15da5
8 changed files with 108 additions and 37 deletions
|
@ -5,13 +5,10 @@
|
|||
<div id="dokuwiki_magic-matcher" class="magic-matcher no-print">
|
||||
<div class="container">
|
||||
<?php
|
||||
$mm = plugin_load('helper', 'magicmatcher_context');
|
||||
if($mm){
|
||||
echo "<h6 class=\"sr-only\" role=\"heading\" aria-level=\"2\">".tpl_getLang('head_magic_matcher')."</h6>";
|
||||
echo PHP_EOL;
|
||||
$mm->tpl();
|
||||
echo $matcher;
|
||||
echo PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</div><!-- .container -->
|
||||
</div><!-- .magic-matcher -->
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
if ($conf['useacl'] && $showTools): ?>
|
||||
|
||||
<nav id="dokuwiki__usertools" class="nav-usertools">
|
||||
<nav id="dokuwiki__usertools" class="nav-usertools <?php echo $navClass?>">
|
||||
<h6 class="sr-only" role="heading" aria-level="2"><?php echo $lang['user_tools']; ?></h6>
|
||||
<ul>
|
||||
<li class="log"><?php tpl_actionlink('login'); ?></li>
|
||||
|
@ -20,7 +20,9 @@
|
|||
switch ($num) {
|
||||
case 0: $class = 'noopentasks'; break;
|
||||
case 1: $class = 'opentask'; break;
|
||||
default: $class = 'opentasks'; break;
|
||||
default:
|
||||
$class = 'opentask opentasks';
|
||||
break;
|
||||
}
|
||||
$linktarget = tpl_getConf('tasks_page');
|
||||
$doInner = "<span class=\"prefix\">".tpl_getLang('prefix_tasks_user')." </span><span class=\"num\">".count($tasks)."</span>";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue