From d9a273cf83ed999ac73f7df8bf21f8faec31989f Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 3 Jun 2011 11:30:34 -0400 Subject: Reorganize the nut settings so it's more obvious that the "Remote access" settings can be used for both Local and SNMP UPS types. --- config/nut/nut.xml | 90 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 43 deletions(-) (limited to 'config/nut') diff --git a/config/nut/nut.xml b/config/nut/nut.xml index 5be4ace6..b1fb705a 100644 --- a/config/nut/nut.xml +++ b/config/nut/nut.xml @@ -102,14 +102,14 @@ Local UPS local - + @@ -117,6 +117,25 @@ powerdown checkbox + + Remote Access Settings - Used for Local and SNMP Types to allow access + listtopic + + + Remote Access Address <br>(ex: 192.168.1.0/24) + allowaddr + input + + + Remote Access User + allowuser + input + + + Remote Acces Password + allowpass + password + Local UPS Settings listtopic @@ -520,45 +539,6 @@ - - Local Remote Access Address <br>(ex: 192.168.1.0/24) - allowaddr - input - - - Local Remote Access User - allowuser - input - - - Local Remote Acces Password - allowpass - password - - - Remote NUT UPS Settings - listtopic - - - <strong>Remote UPS Name</strong> - remotename - input - - - <strong>Remote UPS Address</strong> <br>(ex: 192.168.1.10) - remoteaddr - input - - - <strong>Remote UPS User</strong> - remoteuser - input - - - <strong>Remote UPS Password</strong> - remotepass - password - Remote SNMP UPS Settings listtopic @@ -630,6 +610,30 @@ snmpdisabletransfer checkbox + + Remote NUT UPS Settings + listtopic + + + <strong>Remote NUT UPS Name</strong> + remotename + input + + + <strong>Remote NUT UPS Address</strong> <br>(ex: 192.168.1.10) + remoteaddr + input + + + <strong>Remote NUT UPS User</strong> + remoteuser + input + + + <strong>Remote NUT UPS Password</strong> + remotepass + password + before_form_nut(&$pkg); -- cgit v1.2.3