mirror of
https://gh.wpcy.net/https://github.com/mojiro/OneExperienceKB.git
synced 2026-04-26 09:22:16 +08:00
38 lines
1.3 KiB
PHP
38 lines
1.3 KiB
PHP
<?php global $themeOneExperienceKBConfig; ?>
|
|
<?php if (file_exists('plugins/Customizer')): ?>
|
|
<?php $_title = $this->render('OneExperienceKB:layout/header/customizerTitle', array(
|
|
'project' => isset($project) ? $project : null,
|
|
'task' => isset($task) ? $task : null,
|
|
'description' => isset($description) ? $description : null,
|
|
'title' => $title,
|
|
)); ?>
|
|
<?php else: ?>
|
|
<?php $_title = $this->render('header/title', array(
|
|
'project' => isset($project) ? $project : null,
|
|
'task' => isset($task) ? $task : null,
|
|
'description' => isset($description) ? $description : null,
|
|
'title' => $title,
|
|
)); ?>
|
|
<?php endif ?>
|
|
<?php $_top_right_corner = implode(' ', array(
|
|
$this->render('header/user_notifications'),
|
|
$this->render('header/creation_dropdown'),
|
|
$this->render('header/user_dropdown')
|
|
)); ?>
|
|
<?php if (!isset($themeOneExperienceKBConfig['backgroundColorHeader'])) : ?>
|
|
<header>
|
|
<?php else: ?>
|
|
<header style="background:<?= $themeOneExperienceKBConfig['backgroundColorHeader'] ?>">
|
|
<?php endif ?>
|
|
<div class="title-container">
|
|
<?= $_title ?>
|
|
</div>
|
|
<div class="board-selector-container">
|
|
<?php if (! empty($board_selector)): ?>
|
|
<?= $this->render('header/board_selector', array('board_selector' => $board_selector)) ?>
|
|
<?php endif ?>
|
|
</div>
|
|
<div class="menus-container">
|
|
<?= $_top_right_corner ?>
|
|
</div>
|
|
</header>
|