Révision f5629ea6
Ajouté par Renato Botelho il y a presque 10 ans
usr/local/www/interfaces_bridge_edit.php | ||
---|---|---|
271 | 271 |
<td width="78%" class="vtable"> |
272 | 272 |
<select name="members[]" multiple="multiple" class="formselect" size="3"> |
273 | 273 |
<?php |
274 |
$members_array = explode(',', $pconfig['members']); |
|
274 | 275 |
foreach ($ifacelist as $ifn => $ifinfo) { |
275 | 276 |
echo "<option value=\"{$ifn}\""; |
276 |
if (stristr($pconfig['members'], $ifn))
|
|
277 |
if (in_array($ifn, $members_array))
|
|
277 | 278 |
echo " selected=\"selected\""; |
278 | 279 |
echo ">{$ifinfo}</option>"; |
279 | 280 |
} |
281 |
unset($members_array); |
|
280 | 282 |
?> |
281 | 283 |
</select> |
282 | 284 |
<br/> |
Formats disponibles : Unified diff
Be more precise to match members of a bridge interface, it should fix #3637