sidebar
This commit is contained in:
parent
42f8e89c3c
commit
77d4a15da5
8 changed files with 108 additions and 37 deletions
23
main.php
23
main.php
|
@ -234,18 +234,21 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
|
|||
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* User Tools */
|
||||
/* User Tools and MagicMatcher Bar */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
$mm = plugin_load('helper', 'magicmatcher_context');
|
||||
$navClass = "";
|
||||
if($mm){
|
||||
$matcher = $mm->getIssueContextBar();
|
||||
if($matcher !== ""){
|
||||
$navClass = "has-bar";
|
||||
}
|
||||
}
|
||||
|
||||
include('tpl/nav-usertools.php');
|
||||
|
||||
?>
|
||||
|
||||
<?php
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* MagicMatcher */
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
include('tpl/nav-magicmatcher.php');
|
||||
|
||||
if($mm && $matcher !== ""){
|
||||
include('tpl/nav-magicmatcher.php');
|
||||
}
|
||||
|
||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||
/* Include Hook: header.html */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue