aboutsummaryrefslogtreecommitdiff
path: root/app/layout/header.phtml
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2022-04-11 22:54:19 +0200
committerGravatar GitHub <noreply@github.com> 2022-04-11 22:54:19 +0200
commit4191f9859ec1ec524167478c6fffce1da219a8fe (patch)
treedb217aac6ca719c7e9121f33d8d5be10de917234 /app/layout/header.phtml
parent5e28bf8b403205642cf09aad5ef47ed1aa781a5d (diff)
Improved: dropdown close area (#4293)
* fix Ansum theme: close X in white * fix Mapco theme: close X in white * move the dropdown-close outside of the list * CSS * bring flux elemt behind the grey background * Update main.js
Diffstat (limited to 'app/layout/header.phtml')
-rw-r--r--app/layout/header.phtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/layout/header.phtml b/app/layout/header.phtml
index e872a5918..6040df2d3 100644
--- a/app/layout/header.phtml
+++ b/app/layout/header.phtml
@@ -40,7 +40,7 @@
<a class="btn dropdown-toggle" href="#dropdown-configure"><?= _i('configure') ?></a>
<ul class="dropdown-menu scrollbar-thin">
<li class="dropdown-header-close"><a class="toggle_aside" href="#close"><?= _i('close') ?></a></li>
- <li class="dropdown-close"><a href="#close">❌</a></li>
+
<li class="dropdown-header"><?= _t('gen.menu.account') ?>: <?= htmlspecialchars(Minz_Session::param('currentUser', '_'), ENT_NOQUOTES, 'UTF-8') ?></li>
<li class="item"><a href="<?= _url('user', 'profile') ?>"><?= _t('gen.menu.user_profile') ?></a></li>
<?php if (FreshRSS_Auth::accessNeedsAction()): ?>
@@ -77,6 +77,7 @@
<li class="item"><a href="<?= _url('index', 'about') ?>"><?= _t('gen.menu.about') ?></a></li>
<?= Minz_ExtensionManager::callHook('menu_other_entry') ?>
</ul>
+ <a class="dropdown-close" href="#close">❌</a>
</div>
</nav>
<?php } elseif (FreshRSS_Auth::accessNeedsAction()) { ?>