Skip to content

Commit

Permalink
NEW: Show LDAP Settings Only When Enabled
Browse files Browse the repository at this point in the history
 - hides all 26 settings to save screen space unless LDAP is enabled - #19
  • Loading branch information
aljawaid committed Sep 17, 2023
1 parent 93cf95a commit aa4d002
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Template/config/ldap-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@
<li class="app-info-value border-bottom-thick" title="<?= t('This is the default setting') ?>">
<?= t('Disabled') ?>
</li>
<span class="fail-x" title="<?= t('This is the default setting') ?>">&#10008;</span>
<li class="form-help"><?= t('Enable LDAP in your configuration file to display the related settings.') ?></li>
<?php else: ?>
<li class="app-info-value border-bottom-thick">
<?= t('Enabled') ?>
</li>
<span class="pass-tick">&#10004;</span>
<?php endif ?>
</span>

0 comments on commit aa4d002

Please sign in to comment.