forked from deblan/side_menu
add option: show link to settings
This commit is contained in:
parent
d279fbd813
commit
b749a9be2e
|
@ -82,6 +82,7 @@ class Admin implements ISettings
|
|||
'opener-position' => $this->config->getAppValue('opener-position', 'before'),
|
||||
'opener-hover' => $this->config->getAppValue('opener-hover', '0'),
|
||||
'opener-only' => $this->config->getAppValue('opener-only', '0'),
|
||||
'show-settings' => $this->config->getAppValue('show-settings', '0'),
|
||||
'hide-when-no-apps' => $this->config->getAppValue('hide-when-no-apps', '0'),
|
||||
'size-icon' => $this->config->getAppValue('size-icon', 'normal'),
|
||||
'size-text' => $this->config->getAppValue('size-text', 'normal'),
|
||||
|
|
|
@ -61,3 +61,4 @@
|
|||
"Force this configuration to users": "Erzwingen Sie diese Konfiguration für Benutzer"
|
||||
"Export the configuration": "Exportieren Sie die Konfiguration"
|
||||
"Purge the cache": "Leeren Sie den Cache"
|
||||
"Show the link to settings": "Zeigen Sie den Link zu den Einstellungen an"
|
||||
|
|
|
@ -61,3 +61,4 @@
|
|||
"Force this configuration to users": "Forcer cette configuration aux utilisateurs"
|
||||
"Export the configuration": "Exporter la configuration"
|
||||
"Purge the cache": "Purger le cache"
|
||||
"Show the link to settings": "Afficher le lien vers les paramètres"
|
||||
|
|
|
@ -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')); ?>
|
||||
|
|
Loading…
Reference in a new issue