add option to show hovered label only on top menu

This commit is contained in:
Simon Vieille
2023-05-23 14:09:55 +02:00
parent 135f27cc32
commit 93fef37033
11 changed files with 32 additions and 9 deletions
+1 -1
View File
@@ -880,7 +880,7 @@ $labelAlwaysDisplayed = 'Always displayed';
</div>
<div class="side-menu-setting-form">
<select id="side-menu-top-menu-mouse-over-hidden-label" name="top-menu-mouse-over-hidden-label" class="side-menu-setting">
<?php foreach ($choicesYesNo as $label => $value): ?>
<?php foreach (array_merge($choicesYesNo, ['Except the hovered app' => '2']) as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['top-menu-mouse-over-hidden-label']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?>
</option>