diff options
author | thompsa <andy@fud.org.nz> | 2010-02-11 13:27:53 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2010-02-11 13:27:53 +1300 |
commit | d663e86b5b091d0d522d446fb2b62ddc781cb70f (patch) | |
tree | 7955a06b431e38151e8f98b66e0061a7ae6c71f6 /config/haproxy-dev/haproxy_listeners_edit.php | |
parent | 67ec528e137efb562c6728c1b6c4471aadbfc32e (diff) | |
download | pfsense-packages-d663e86b5b091d0d522d446fb2b62ddc781cb70f.tar.gz pfsense-packages-d663e86b5b091d0d522d446fb2b62ddc781cb70f.tar.bz2 pfsense-packages-d663e86b5b091d0d522d446fb2b62ddc781cb70f.zip |
Reduce duplication by putting the acl syntax in the array
Diffstat (limited to 'config/haproxy-dev/haproxy_listeners_edit.php')
-rwxr-xr-x | config/haproxy-dev/haproxy_listeners_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/haproxy-dev/haproxy_listeners_edit.php b/config/haproxy-dev/haproxy_listeners_edit.php index 89ac8195..21258c9d 100755 --- a/config/haproxy-dev/haproxy_listeners_edit.php +++ b/config/haproxy-dev/haproxy_listeners_edit.php @@ -38,7 +38,7 @@ function haproxy_acl_select($mode) { $seltext = ''; foreach ($a_acltypes as $expr) { if ($expr['mode'] == '' || $expr['mode'] == $mode) - $seltext .= "<option value='" . $expr['name'] . "'>" . $expr['descr'] ."</option>"; + $seltext .= "<option value='" . $expr['name'] . "'>" . $expr['descr'] .":</option>"; } return $seltext; } @@ -574,7 +574,7 @@ include("head.inc"); <select name="acl_expression<?=$counter;?>" id="acl_expression<?=$counter;?>"> <?php foreach ($a_acltypes as $expr) { ?> - <option value="<?=$expr['name'];?>"<?php if($acl['expression'] == $expr['name']) echo " SELECTED"; ?>><?=$expr['descr'];?></option> + <option value="<?=$expr['name'];?>"<?php if($acl['expression'] == $expr['name']) echo " SELECTED"; ?>><?=$expr['descr'];?>:</option> <?php } ?> </select> </td> |