Update header.inc.php

This commit is contained in:
Phoenix Eve Aspacio 2018-01-15 22:44:48 +08:00 committed by GitHub
parent eb04e703c2
commit 8405a8b56c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@
<?php
if (isset($_SESSION['mailcow_locale'])) {
?>
<li class="dropdown">
<li class="dropdown<?=(isset($_SESSION['mailcow_locale']) && count($AVAILABLE_LANGUAGES) === 1) ? ' lang-link-disabled"' : '' ?>">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="lang-sm lang-lbl" lang="<?= $_SESSION['mailcow_locale']; ?>"></span><span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<?php