mirror of
https://gh.wpcy.net/https://github.com/mojiro/OneExperienceKB.git
synced 2026-04-25 09:12:16 +08:00
24 lines
1.1 KiB
PHP
24 lines
1.1 KiB
PHP
<?php global $themeOneExperienceKBConfig; ?>
|
|
<span class="logo">
|
|
<?php if (!isset($themeOneExperienceKBConfig['logo'])) : ?>
|
|
<?= $this->url->link('K<span>B</span>', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
|
|
<?php else: ?>
|
|
<?= $this->url->link('<img src="'.$themeOneExperienceKBConfig['logo'].'" style="float: left;max-height: 40px;margin-top: -7px;margin-right: 10px;" />', 'DashboardController', 'show', array(), false, '', t('Dashboard')) ?>
|
|
<?php endif ?>
|
|
</span>
|
|
<?php if (!isset($themeOneExperienceKBConfig['HeadingTitleColor'])) : ?>
|
|
<h1>
|
|
<?php else: ?>
|
|
<h1 style="color:<?= $themeOneExperienceKBConfig['HeadingTitleColor'] ?>">
|
|
<?php endif ?>
|
|
<span class="title">
|
|
<?php if (! empty($project) && ! empty($task)): ?>
|
|
<?= $this->url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?>
|
|
<?php else: ?>
|
|
<?= $this->text->e($title) ?>
|
|
<?php endif ?>
|
|
</span>
|
|
<?php if (! empty($description)): ?>
|
|
<?= $this->app->tooltipHTML($description) ?>
|
|
<?php endif ?>
|
|
</h1>
|