diff options
author | NOYB <Al_Stu@Frontier.com> | 2016-02-08 05:40:21 -0800 |
---|---|---|
committer | NOYB <Al_Stu@Frontier.com> | 2016-02-08 05:40:21 -0800 |
commit | 598d3120424696d90a4febf5d78feb0c08a6050d (patch) | |
tree | b69ab546939bdc1829da8d6171c5f1cbfd3782b0 /src/usr | |
parent | 8c045dc8c76030487690aad6ad89c2c60c43e0ce (diff) | |
download | pfsense-598d3120424696d90a4febf5d78feb0c08a6050d.zip pfsense-598d3120424696d90a4febf5d78feb0c08a6050d.tar.gz |
Suppress unused id attributes.
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/vpn_ipsec_phase2.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/www/vpn_ipsec_phase2.php b/src/usr/local/www/vpn_ipsec_phase2.php index a1a6a20..186054c 100644 --- a/src/usr/local/www/vpn_ipsec_phase2.php +++ b/src/usr/local/www/vpn_ipsec_phase2.php @@ -639,14 +639,14 @@ foreach ($p2_ealgos as $algo => $algodata) { $group = new Form_Group($i == 0 ? 'Encryption Algorithms':''); $group->addClass('encalg'); - // Note: ID attribute of each element created is to be unique. + // Note: ID attribute of each element created is to be unique. Not being used, suppressing it. $group->add(new Form_Checkbox( 'ealgos[]', null, $algodata['name'], (is_array($pconfig['ealgos']) && in_array($algo, $pconfig['ealgos'])), $algo - ))->addClass('multi')->setAttribute('id', 'ealgos[]' . '_' . $algodata['name']); + ))->addClass('multi')->setAttribute('id'); if (is_array($algodata['keysel'])) { $list = array(); @@ -677,14 +677,14 @@ foreach ($p2_ealgos as $algo => $algodata) { $group = new Form_Group('Hash Algorithms'); foreach ($p2_halgos as $algo => $algoname) { - // Note: ID attribute of each element created is to be unique. + // Note: ID attribute of each element created is to be unique. Not being used, suppressing it. $group->add(new Form_Checkbox( 'halgos[]', null, $algoname, (empty($pconfig['halgos']) ? '' : in_array($algo, $pconfig['halgos'])), $algo - ))->addClass('multi')->setAttribute('id', 'halgos[]' . '_' . $algoname); + ))->addClass('multi')->setAttribute('id'); } $section->add($group); |