diff options
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/header.php | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/app/Template/header.php b/app/Template/header.php index fd9ff24d..72d89b80 100644 --- a/app/Template/header.php +++ b/app/Template/header.php @@ -84,13 +84,15 @@ <i class="fa fa-life-ring fa-fw"></i> <?= $this->url->link(t('Documentation'), 'doc', 'show') ?> </li> - <li> - <i class="fa fa-sign-out fa-fw"></i> - <?= $this->url->link(t('Logout'), 'auth', 'logout') ?> - </li> + <?php if (! DISABLE_LOGOUT): ?> + <li> + <i class="fa fa-sign-out fa-fw"></i> + <?= $this->url->link(t('Logout'), 'auth', 'logout') ?> + </li> + <?php endif ?> </ul> </div> </li> </ul> </nav> -</header>
\ No newline at end of file +</header> |