fix #19: add option to keep external sites in the top menu

This commit is contained in:
Simon Vieille
2020-05-09 15:53:25 +02:00
parent 7864e16ef3
commit c52079e882
9 changed files with 60 additions and 4 deletions
+17
View File
@@ -248,6 +248,23 @@ $choicesSizes = [
<?php endforeach; ?>
</select>
</div>
<div>
<label for="side-menu-external-sites-in-top-menu" class="settings-hint">
<?php p($l->t('Do not move external sites in the side menu')); ?>
<small><span class="warning">Experimental</span></small>
</label>
</div>
<div>
<select id="side-menu-external-sites-in-top-menu" name="external-sites-in-top-menu">
<?php foreach ($choicesYesNo as $label => $value): ?>
<option value="<?php echo $value ?>" <?php if ($value === $_['external-sites-in-top-menu']): ?>selected<?php endif; ?>>
<?php echo $l->t($label); ?>
</option>
<?php endforeach; ?>
</select>
</div>
</div>
<div class="section">