diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 05:37:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-25 05:37:39 +0000 |
commit | 347858c997dc3e03915815967d6e3f4d50c76a77 (patch) | |
tree | fb91a415ba140bba34d6ec3b09224e96a274b285 /usr | |
parent | bfb94edd857090a62bf4d5d1b45610f5af4b3325 (diff) | |
download | pfsense-347858c997dc3e03915815967d6e3f4d50c76a77.zip pfsense-347858c997dc3e03915815967d6e3f4d50c76a77.tar.gz |
Add a notebox and flash a small notice after the gateway is populated
in the dropdownbox stating where you can manage the gateways.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 3623cc4..074ffcc 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -862,6 +862,8 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" <div id='addgwbox'> Select a existing Gateway from the list or <a OnClick="show_add_gateway();" href="#">add a new one</a>. </div> + <div id='notebox'> + </div> <div id="status"> </div> <div style="display:none" id="addgateway" name="addgateway"> @@ -1452,6 +1454,7 @@ $types = array("none" => "None", "static" => "Static", "dhcp" => "DHCP", "pppoe" optn.value = value; selectbox.options.add(optn); selectbox.selectedIndex = (selectbox.options.length-1); + $('notebox').innerHTML="<p/><strong>NOTE:</strong> You can manage Gateways <a href='system_gateways.php'>here</a>."; } function report_failure() { alert("Sorry, we could not create your gateway at this time."); |