mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-07-29 19:55:01 +02:00
Replaced most each() calls with foreach() in preparation to support php 8
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
<label class="control-label" for="ldap_type"><?php print $text_ldap_type; ?>:</label>
|
||||
<div class="controls">
|
||||
<select name="ldap_type" id="ldap_type" onchange="Piler.fix_ldap_display();" class="span4">
|
||||
<?php while(list($k, $v) = each($ldap_types)) { ?>
|
||||
<?php foreach($ldap_types as $k => $v) { ?>
|
||||
<option value="<?php print $v; ?>"<?php if(isset($a['ldap_type']) && $a['ldap_type'] == $v) { ?> selected="selected"<?php } ?>><?php print $v; ?></option>
|
||||
<?php } ?>
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user