diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 05:06:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 05:06:41 +0000 |
commit | 612bb4f3db8fd261e918470880c457a744384bf5 (patch) | |
tree | 797ad379302fdb644b6fb12fe3c484609519b665 /usr/local/www/system_advanced.php | |
parent | af98cced4420801095daf39003c29e33cc1d8474 (diff) | |
download | pfsense-612bb4f3db8fd261e918470880c457a744384bf5.zip pfsense-612bb4f3db8fd261e918470880c457a744384bf5.tar.gz |
Do not show LAN related items when the interfafe does not exist.
Diffstat (limited to 'usr/local/www/system_advanced.php')
-rwxr-xr-x | usr/local/www/system_advanced.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php index 728148e..d6e161c 100755 --- a/usr/local/www/system_advanced.php +++ b/usr/local/www/system_advanced.php @@ -635,12 +635,13 @@ include("head.inc"); <td width="22%" valign="top"> </td> <td width="78%"><input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)" /></td> </tr> + <?php if($config['interfaces']['lan']): ?> <tr> <td colspan="2" class="list" height="12"> </td> </tr> <tr> <td colspan="2" valign="top" class="listtopic">Network Address Translation</td> - </tr> + </tr> <tr> <td width="22%" valign="top" class="vncell">Disable NAT Reflection</td> <td width="78%" class="vtable"> @@ -659,6 +660,8 @@ include("head.inc"); <td width="22%" valign="top"> </td> <td width="78%"><input name="Submit" type="submit" class="formbtn" value="Save" onclick="enable_change(true)" /></td> </tr> +<?php endif; ?> + <tr> <td colspan="2" class="list" height="12"> </td> </tr> |