add option to hide apps (big menu display)
This commit is contained in:
@@ -288,8 +288,6 @@ $choicesSizes = [
|
||||
src="<?php print_unescaped(image_path('side_menu', 'admin/layout-big-menu.svg')); ?>" alt="<?php p($l->t('Big menu')); ?>">
|
||||
</p>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-opener">
|
||||
<?php p($l->t('Always displayed')); ?>
|
||||
@@ -361,6 +359,40 @@ $choicesSizes = [
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-top-menu-apps">
|
||||
<?php p($l->t('Apps that not must show in the menu')); ?>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<p><em><?php echo $l->t('This feature is only compatible with the <code>big menu</code> display.'); ?></em></p>
|
||||
|
||||
<p>
|
||||
<a class="side-menu-toggler" data-target="#big-menu-hidden-apps" href="#_">
|
||||
🖱️ <?php p($l->t('Show and hide the list of applications')); ?>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<div class="side-menu-setting" data-name="big-menu-hidden-apps" id="big-menu-hidden-apps" data-checkbox style="display: none">
|
||||
<?php foreach ($_['apps'] as $app): ?>
|
||||
<div>
|
||||
<input
|
||||
type="checkbox"
|
||||
name="big-menu-hidden-apps[]"
|
||||
value="<?php echo $app['id'] ?>"
|
||||
id="big-menu-hidden-app-<?php echo $app['id'] ?>"
|
||||
<?php if (in_array($app['id'], $_['big-menu-hidden-apps'])): ?>checked<?php endif; ?>
|
||||
/>
|
||||
|
||||
<label for="big-menu-hidden-app-<?php echo $app['id'] ?>">
|
||||
<?php echo p($l->t($app['name'])); ?>
|
||||
</label>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<label for="side-menu-show-settings">
|
||||
<?php p($l->t('Show the link to settings')); ?>
|
||||
|
||||
Reference in New Issue
Block a user