add option to show the avatar instead of the logo

This commit is contained in:
Simon Vieille
2020-09-18 11:09:01 +02:00
parent 85c25f0fc7
commit e5dd893774
5 changed files with 39 additions and 2 deletions
+12
View File
@@ -342,6 +342,18 @@ $choicesSizes = [
</select>
</div>
<p><em><?php p($l->t('Use the avatar instead of the logo')); ?></em></p>
<div>
<select id="side-menu-use-avatar" name="use-avatar" class="side-menu-setting">
<?php foreach ($choicesYesNo as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['use-avatar']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?>
</option>
<?php endforeach; ?>
</select>
</div>
<div>
<label>
<?php p($l->t('Icons and texts')); ?>