mirror of
https://gh.wpcy.net/https://github.com/mojiro/OneExperienceKB.git
synced 2026-04-30 10:02:18 +08:00
22 lines
1.1 KiB
PHP
22 lines
1.1 KiB
PHP
<?php global $themeOneExperienceKBConfig; ?>
|
|
<span class="logo">
|
|
<?php if (null !== $this->task->customizerFileModel->getByType(1)) : ?>
|
|
<?= $this->url->link('<img src="'.$this->url->href("CustomizerFileController", "image", array("plugin" => "customizer", "file_id" => $this->task->customizerFileModel->getIdByType(1))).'" 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>
|