gui: show search menu if admin can search too

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2017-09-06 20:05:29 +02:00
parent 631e8de191
commit 03900aef6e

View File

@ -47,7 +47,7 @@
</ul> </ul>
</li> </li>
<?php if(LDAP_ADMIN_MEMBER_DN) { ?> <?php if(LDAP_ADMIN_MEMBER_DN || ADMIN_CAN_POWER_SEARCH) { ?>
<li><a href="search.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-search"></i>&nbsp;<?php print $text_search; ?></a></li> <li><a href="search.php" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?>><i class="icon-search"></i>&nbsp;<?php print $text_search; ?></a></li>
<?php } ?> <?php } ?>