diff options
author | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 19:22:37 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.homeunix.net> | 2009-07-09 19:22:37 -0400 |
commit | d9252b1f7a274278315997f0e80903dd542c8ca7 (patch) | |
tree | 2a32145fb85070c9b36b2ed3e55797390f40d99c /usr/local/www | |
parent | 35b6111233952f38ec771570bdf8f08bbe7d1787 (diff) | |
download | pfsense-d9252b1f7a274278315997f0e80903dd542c8ca7.zip pfsense-d9252b1f7a274278315997f0e80903dd542c8ca7.tar.gz |
Adding System: Advanced: Notifications to priv list
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/system_advanced_notifications.php | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php index b15a9dd..710668f 100644 --- a/usr/local/www/system_advanced_notifications.php +++ b/usr/local/www/system_advanced_notifications.php @@ -41,6 +41,11 @@ if (!is_array($config['notifications']['growls'])) $a_tunable = &$config['notifications']['growl']; +if($a_tunable['password']) + $pconfig['password'] = $a_tunable['password']; +if($a_tunable['ipaddress']) + $pconfig['ipaddress'] = $a_tunable['ipaddress']; + if ($_POST) { unset($input_errors); @@ -124,14 +129,14 @@ include("head.inc"); <tr> <td width="22%" valign="top" class="vncell">IP Address</td> <td width="78%" class="vtable"> - <input name='ipaddress'><br/> + <input name='ipaddress' value=''><br/> This is the IP address that you would like to send growl notifications to. </td> </tr> <tr> <td width="22%" valign="top" class="vncell">Password</td> <td width="78%" class="vtable"> - <input name='password'><br/> + <input name='password' type='password' value=''><br/> Enter the password of the remote growl notification device. </td> </tr> @@ -141,7 +146,7 @@ include("head.inc"); </td> <td> <br/> - <input type='submit' value='Save'></form> + <input type='submit' id='Submit' name='Submit' value='Save'></form> </td> </tr> </table> |