diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 03:34:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-06 03:34:47 +0000 |
commit | 5de92d20adbde90d76327381652747012c1db62c (patch) | |
tree | 221127456c3e4d7d40b71c9da98439b98bad9959 /usr | |
parent | 18d4df52ee067080581ec9d6a8ec0077c8d1c879 (diff) | |
download | pfsense-5de92d20adbde90d76327381652747012c1db62c.zip pfsense-5de92d20adbde90d76327381652747012c1db62c.tar.gz |
Hide table if pf is disabled
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/system_routes.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php index 63e37a0..0d870dc 100755 --- a/usr/local/www/system_routes.php +++ b/usr/local/www/system_routes.php @@ -97,12 +97,14 @@ if ($_GET['act'] == "del") { <input name="apply" type="submit" class="formbtn" id="apply" value="Apply changes"></p> <?php endif; ?> - <table width="100%" border="0" cellpadding="0" cellspacing="0"> - <?php if($config['system']['disablefilter'] <> "") :?> + <?php if($config['system']['disablefilter'] <> "") :?> + <table width="100%" border="0" cellpadding="0" cellspacing="0"> + <tr><td width="2%"><input type="checkbox" name="enablefastrouting" id="enablefastrouting" <?php if($config['staticroutes']['enablefastrouting'] == "enabled") echo " checked"; ?>></td><td><b>Enable fast routing</td></tr> - <?php endif ?> + <tr><td colspan=2><hr><input type="submit" value="Save"></td></tr> - </table><br> + </table><br> + <?php endif ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> |