Project

General

Profile

Feature #3387 ยป urltable_freq.diff

firewall_aliases_edit.php with update freq as text field - Shawn Bruce, 01/07/2014 04:11 PM

View differences:

firewall_aliases_edit.php 2014-01-07 17:11:53.430854742 -0500
674 674
							<input autocomplete="off" name="address<?php echo $counter; ?>" type="text" class="formfldalias ipv4v6" id="address<?php echo $counter; ?>" size="30" value="<?=htmlspecialchars($address);?>" />
675 675
						</td>
676 676
						<td>
677
                        				<?php if(!isset($pconfig['updatefreq'])) { ?>
677 678
							<select name="address_subnet<?php echo $counter; ?>" class="formselect ipv4v6" id="address_subnet<?php echo $counter; ?>">
678 679
								<option></option>
679 680
								<?php for ($i = 128; $i >= 1; $i--): ?>
680 681
									<option value="<?=$i;?>" <?php if (($i == $address_subnet) || ($i == $pconfig['updatefreq'])) echo "selected=\"selected\""; ?>><?=$i;?></option>
681 682
								<?php endfor; ?>
682 683
							</select>
684
							<?php } else { ?>
685
							<input autocomplete="off" name="address_subnet<?php echo $tracker; ?>" class="formselect ipv4v6" id="address_subnet<?php echo $tracker; ?>" size="5" value="<?=$pconfig['updatefreq']?>">
686
							<?php } ?>
683 687
						</td>
684 688
						<td>
685 689
							<input name="detail<?php echo $counter; ?>" type="text" class="formfld unknown" id="detail<?php echo $counter; ?>" size="50" value="<?=$details[$counter];?>" />
    (1-1/1)