diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-06-18 08:28:12 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-06-18 08:28:12 +0000 |
commit | 5ccd98577afcb96bed6b5be7ab816a6f2d3aca61 (patch) | |
tree | 76e73e99e4c36cee9de6c96ff3d9ca82c651b9c2 /usr/local/www/system_gateway_groups.php | |
parent | da669e7fb1a0b4d80f0d275fb5f33f6dcc085200 (diff) | |
download | pfsense-5ccd98577afcb96bed6b5be7ab816a6f2d3aca61.zip pfsense-5ccd98577afcb96bed6b5be7ab816a6f2d3aca61.tar.gz |
Add gateway groups edit page.
Diffstat (limited to 'usr/local/www/system_gateway_groups.php')
-rwxr-xr-x | usr/local/www/system_gateway_groups.php | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/usr/local/www/system_gateway_groups.php b/usr/local/www/system_gateway_groups.php index 481370d..647bb42 100755 --- a/usr/local/www/system_gateway_groups.php +++ b/usr/local/www/system_gateway_groups.php @@ -35,6 +35,7 @@ if (!is_array($config['gateways']['gateway_group'])) $config['gateways']['gateway_group'] = array(); $a_gateway_groups = &$config['gateways']['gateway_group']; +$a_gateways = &$config['gateways']['gateway_item']; $changedesc = "Gateway Groups: "; if ($_POST) { @@ -77,7 +78,7 @@ include("head.inc"); <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<form action="system_gateways.php" method="post"> +<form action="system_gateway_groups.php" method="post"> <input type="hidden" name="y1" value="1"> <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (file_exists($d_staticroutesdirty_path)): ?><p> @@ -123,12 +124,19 @@ effect.");?><br> </td> <td class="listr" ondblclick="document.location='system_gateway_groups_edit.php?id=<?=$i;?>';"> <?php - echo htmlspecialchars($gateway_group['members']); ?> + foreach($gateway_group['item'] as $item) { + $itemsplit = explode("|", $item); + echo htmlspecialchars($itemsplit[0]) . "<br/>\n"; + } + ?> </td> <td class="listr" ondblclick="document.location='system_gateway_groups_edit.php?id=<?=$i;?>';"> <?php - echo htmlspecialchars($gateway_group['priorities']); ?> - ?> + foreach($gateway_group['item'] as $item) { + $itemsplit = explode("|", $item); + echo "Tier ". htmlspecialchars($itemsplit[1]) . "<br/>\n"; + } + ?> </td> <td class="listbg" ondblclick="document.location='system_gateway_groups_edit.php?id=<?=$i;?>';"> <font color="#FFFFFF"><?=htmlspecialchars($gateway_group['descr']);?> |