diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-12-12 23:48:38 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-12-12 23:48:38 -0500 |
commit | 50cc604873bb24f093c09a8b130aa3a32c529943 (patch) | |
tree | ff231d7dc187b6b59702ab0bf826148ab0b95931 /usr/local | |
parent | b29b1a339cf13010c64a58daa2ec5ee31b0391bd (diff) | |
download | pfsense-50cc604873bb24f093c09a8b130aa3a32c529943.zip pfsense-50cc604873bb24f093c09a8b130aa3a32c529943.tar.gz |
clarify input_errors
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/system_gateways_edit.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php index c588ca5..30f692f 100755 --- a/usr/local/www/system_gateways_edit.php +++ b/usr/local/www/system_gateways_edit.php @@ -111,15 +111,15 @@ if ($_POST) { continue; if (($gateway['name'] <> "") && (in_array($_POST['name'], $gateway))) { - $input_errors[] = "The name \"{$_POST['name']}\" already exists."; + $input_errors[] = "The gateway name \"{$_POST['name']}\" already exists."; break; } if (($gateway['gateway'] <> "") && (in_array($_POST['gateway'], $gateway))) { - $input_errors[] = "The IP address \"{$_POST['gateway']}\" already exists."; + $input_errors[] = "The gateway IP address \"{$_POST['gateway']}\" already exists."; break; } if (($gateway['monitor'] <> "") && (in_array($_POST['monitor'], $gateway))) { - $input_errors[] = "The IP address \"{$_POST['monitor']}\" already exists."; + $input_errors[] = "The monitor IP address \"{$_POST['monitor']}\" is already in use. You must choose a different monitor IP."; break; } } |