fix #13: add option to show only the opener

This commit is contained in:
Simon Vieille
2020-04-26 23:45:33 +02:00
parent 26e737e2d7
commit 9b060d1a4b
5 changed files with 25 additions and 0 deletions
+16
View File
@@ -135,6 +135,22 @@ $choicesSizes = [
<?php endforeach; ?>
</select>
</div>
<div>
<label for="side-menu-opener-only" class="settings-hint">
<?php p($l->t('Show only the opener (hidden logo)')); ?>
</label>
</div>
<div>
<select id="side-menu-opener-only" name="opener-only">
<?php foreach ($choicesYesNo as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['opener-only']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?>
</option>
<?php endforeach; ?>
</select>
</div>
</div>
<div class="section">