From 3184f4e79bf088892e6b31fc4192541932ebbaca Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 7 Dec 2005 01:15:14 +0000 Subject: [PATCH] Make snmp services screen look uniform --- usr/local/www/services_snmp.php | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/usr/local/www/services_snmp.php b/usr/local/www/services_snmp.php index 9f49e1fa05..a0a625c8f0 100755 --- a/usr/local/www/services_snmp.php +++ b/usr/local/www/services_snmp.php @@ -83,7 +83,7 @@ if ($_POST) { $reqdfields = explode(" ", "syslocation"); $reqdfieldsn = explode(",", "System location"); - do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); + do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors); } if ($_POST['trapenable']) { @@ -114,7 +114,7 @@ if ($_POST) { if (!$input_errors) { $config['snmpd']['enable'] = $_POST['enable'] ? true : false; $config['snmpd']['pollport'] = $_POST['pollport']; - $config['snmpd']['syslocation'] = $_POST['syslocation']; + $config['snmpd']['syslocation'] = $_POST['syslocation']; $config['snmpd']['syscontact'] = $_POST['syscontact']; $config['snmpd']['rocommunity'] = $_POST['rocommunity']; /* disabled until some docs show up on what this does. @@ -302,14 +302,24 @@ function enable_change(whichone) { */ ?> - -   - - onClick="enable_change(this)"> - Enable SNMP Traps + +   + + +   + + + + + + +
Enable SNMP Traps onClick="enable_change(this)"> Enable
+ + + Trap server