add option: show link to settings

This commit is contained in:
Simon Vieille
2020-10-15 15:46:43 +02:00
parent d279fbd813
commit b749a9be2e
4 changed files with 19 additions and 0 deletions
+16
View File
@@ -361,6 +361,22 @@ $choicesSizes = [
</select>
</div>
<div>
<label for="side-menu-show-settings">
<?php p($l->t('Show the link to settings')); ?>
</label>
</div>
<div>
<select id="side-menu-show-settings" name="show-settings" class="side-menu-setting">
<?php foreach ($choicesYesNo as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['show-settings']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?>
</option>
<?php endforeach; ?>
</select>
</div>
<div>
<label>
<?php p($l->t('Icons and texts')); ?>