Projet

Général

Profil

« Précédent | Suivant » 

Révision 2464e353

Ajouté par N0YB il y a presque 10 ans

XHTML Compliance - System Menu

Enforce select option

Voir les différences:

usr/local/www/system_advanced_firewall.php
537 537
									<select name="tftpinterface[]" multiple="multiple" class="formselect" size="3">
538 538
<?php
539 539
										$ifdescs = get_configured_interface_with_descr();
540
										$rowIndex = 0;
540 541
										foreach ($ifdescs as $ifent => $ifdesc):
542
											$rowIndex++;
541 543
?>
542 544
											<option value="<?=$ifent;?>" <?php if (in_array($ifent, $pconfig['tftpinterface'])) echo "selected=\"selected\""; ?>><?=gettext($ifdesc);?></option>
543
<?php									endforeach; ?>
545
<?php									endforeach;
546
										if ($rowIndex == 0)
547
											echo "<option></option>";
548
 ?>
544 549
									</select>
545 550
									<strong><?=gettext("Choose the interfaces where you want TFTP proxy helper to be enabled.");?></strong>
546 551
								</td>

Formats disponibles : Unified diff