diff options
author | Ermal <eri@pfsense.org> | 2010-04-30 14:32:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-30 14:32:25 +0000 |
commit | 5f53260a2da559c71a5de91dc5c6a332e664b24e (patch) | |
tree | ecc42481ed81b7349b47bdf5b45f3cfca3da08cc /usr/local/www/system_gateway_groups_edit.php | |
parent | 05f3ffa431cf622828d311dd9b9b8ea49f9d1006 (diff) | |
download | pfsense-5f53260a2da559c71a5de91dc5c6a332e664b24e.zip pfsense-5f53260a2da559c71a5de91dc5c6a332e664b24e.tar.gz |
Allow for each gateway a weight to be choosen if the gateway has to be used in Gateway groups. This will create that many entries in the route-to statement as the weight says.
Diffstat (limited to 'usr/local/www/system_gateway_groups_edit.php')
-rwxr-xr-x | usr/local/www/system_gateway_groups_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_gateway_groups_edit.php b/usr/local/www/system_gateway_groups_edit.php index 57aaf97..6d0539b 100755 --- a/usr/local/www/system_gateway_groups_edit.php +++ b/usr/local/www/system_gateway_groups_edit.php @@ -168,10 +168,10 @@ include("head.inc"); $itemsplit = explode("|", $item); if($itemsplit[0] == $name) { $selected[$itemsplit[1]] = "selected"; + break; } else { $selected[0] = "selected"; } - } echo "<select name='{$name}' class='formfldselect' id='{$name}'>"; echo "<option value='0' $selected[0] >Never</option>"; @@ -180,7 +180,7 @@ include("head.inc"); echo "<option value='3' $selected[3] >Tier 3</option>"; echo "<option value='4' $selected[4] >Tier 4</option>"; echo "<option value='5' $selected[5] >Tier 5</option>"; - echo "</select> <strong>{$name} - {$gateway['descr']}</strong><br/>"; + echo "</select> <strong>{$name} - {$gateway['descr']}</strong><br />"; } ?> <br/><span class="vexpl"> |