summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_notifications.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2013-03-07 21:14:13 +0000
committerColin Fleming <cj_fleming@sky.com>2013-03-07 21:14:13 +0000
commit846ac60faf2719422f6e446ec54e1edbafce1b11 (patch)
tree7f7f87b56a0e4b2f6cdb3d84394e01d0034f461a /usr/local/www/system_advanced_notifications.php
parentc988ed09be56392cb3b72f20233b0dd82740345c (diff)
downloadpfsense-846ac60faf2719422f6e446ec54e1edbafce1b11.zip
pfsense-846ac60faf2719422f6e446ec54e1edbafce1b11.tar.gz
Tidy up System:Advanced:Notifications XHTML
Close INPUT tags
Diffstat (limited to 'usr/local/www/system_advanced_notifications.php')
-rw-r--r--usr/local/www/system_advanced_notifications.php31
1 files changed, 16 insertions, 15 deletions
diff --git a/usr/local/www/system_advanced_notifications.php b/usr/local/www/system_advanced_notifications.php
index 9983711..50278f9 100644
--- a/usr/local/www/system_advanced_notifications.php
+++ b/usr/local/www/system_advanced_notifications.php
@@ -152,7 +152,7 @@ include("head.inc");
print_info_box($savemsg);
?>
</form>
- <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="system advanced notifications">
<tr>
<td>
<?php
@@ -171,7 +171,7 @@ include("head.inc");
<td id="mainarea">
<div class="tabcont">
<form action="system_advanced_notifications.php" method="post" name="iform">
- <table width="100%" border="0" cellpadding="6" cellspacing="0">
+ <table width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area">
<!-- GROWL -->
<tr>
<td colspan="2" valign="top" class="listtopic"><?=gettext("Growl"); ?></td>
@@ -179,28 +179,28 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Registration Name"); ?></td>
<td width="78%" class="vtable">
- <input name='name' value='<?php echo $pconfig['name']; ?>'><br/>
+ <input name='name' value='<?php echo $pconfig['name']; ?>' /><br/>
<?=gettext("Enter the name to register with the Growl server (default: PHP-Growl)."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Notification Name"); ?></td>
<td width="78%" class="vtable">
- <input name='notification_name' value='<?php echo $pconfig['notification_name']; ?>'><br/>
+ <input name='notification_name' value='<?php echo $pconfig['notification_name']; ?>' /><br/>
<?=sprintf(gettext("Enter a name for the Growl notifications (default: %s growl alert)."), $g['product_name']); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("IP Address"); ?></td>
<td width="78%" class="vtable">
- <input name='ipaddress' value='<?php echo $pconfig['ipaddress']; ?>'><br/>
+ <input name='ipaddress' value='<?php echo $pconfig['ipaddress']; ?>' /><br/>
<?=gettext("This is the IP address that you would like to send growl notifications to."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Password"); ?></td>
<td width="78%" class="vtable">
- <input name='password' type='password' value='<?php echo $pconfig['password']; ?>'><br/>
+ <input name='password' type='password' value='<?php echo $pconfig['password']; ?>' /><br/>
<?=gettext("Enter the password of the remote growl notification device."); ?>
</td>
</tr>
@@ -214,43 +214,43 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("E-Mail server"); ?></td>
<td width="78%" class="vtable">
- <input name='smtpipaddress' value='<?php echo $pconfig['smtpipaddress']; ?>'><br/>
+ <input name='smtpipaddress' value='<?php echo $pconfig['smtpipaddress']; ?>' /><br/>
<?=gettext("This is the FQDN or IP address of the SMTP E-Mail server to which notifications will be sent."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("SMTP Port of E-Mail server"); ?></td>
<td width="78%" class="vtable">
- <input name='smtpport' value='<?php echo $pconfig['smtpport']; ?>'>
- <input type='checkbox' name='smtpssl' <?php echo $pconfig['smtpssl']; ?>>Enable SSL/TLS Authentication<br/>
+ <input name='smtpport' value='<?php echo $pconfig['smtpport']; ?>' />
+ <input type='checkbox' name='smtpssl' <?php echo $pconfig['smtpssl']; ?> />Enable SSL/TLS Authentication<br/>
<?=gettext("This is the port of the SMTP E-Mail server, typically 25, 587 (submission) or 465 (smtps, tick ssl/tls checkbox)"); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("From e-mail address"); ?></td>
<td width="78%" class="vtable">
- <input name='smtpfromaddress' type='input' value='<?php echo $pconfig['smtpfromaddress']; ?>'><br/>
+ <input name='smtpfromaddress' type='text' value='<?php echo $pconfig['smtpfromaddress']; ?>' /><br/>
<?=gettext("This is the e-mail address that will appear in the from field."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Notification E-Mail address"); ?></td>
<td width="78%" class="vtable">
- <input name='smtpnotifyemailaddress' type='input' value='<?php echo $pconfig['smtpnotifyemailaddress']; ?>'><br/>
+ <input name='smtpnotifyemailaddress' type='text' value='<?php echo $pconfig['smtpnotifyemailaddress']; ?>' /><br/>
<?=gettext("Enter the e-mail address that you would like email notifications sent to."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Notification E-Mail auth username (optional)"); ?></td>
<td width="78%" class="vtable">
- <input name='smtpusername' type='input' value='<?php echo $pconfig['smtpusername']; ?>'><br/>
+ <input name='smtpusername' type='text' value='<?php echo $pconfig['smtpusername']; ?>' /><br/>
<?=gettext("Enter the e-mail address username for SMTP authentication."); ?>
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Notification E-Mail auth password"); ?></td>
<td width="78%" class="vtable">
- <input name='smtppassword' type='password' value='<?php echo $pconfig['smtppassword']; ?>'><br/>
+ <input name='smtppassword' type='password' value='<?php echo $pconfig['smtppassword']; ?>' /><br/>
<?=gettext("Enter the e-mail address password for SMTP authentication."); ?>
</td>
</tr>
@@ -264,7 +264,7 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Startup/Shutdown Sound"); ?></td>
<td width="78%" class="vtable">
- <input name="disablebeep" type="checkbox" id="disablebeep" value="yes" <?php if ($pconfig['disablebeep']) echo "checked"; ?> />
+ <input name="disablebeep" type="checkbox" id="disablebeep" value="yes" <?php if ($pconfig['disablebeep']) echo "checked=\"checked\""; ?> />
<strong><?=gettext("Disable the startup/shutdown beep"); ?></strong>
<br/>
<span class="vexpl"><?=gettext("When this is checked, startup and shutdown sounds will no longer play."); ?></span>
@@ -278,10 +278,11 @@ include("head.inc");
&nbsp;
</td>
<td>
- <input type='submit' id='Submit' name='Submit' value='<?=gettext("Save"); ?>'></form>
+ <input type='submit' id='Submit' name='Submit' value='<?=gettext("Save"); ?>' />
</td>
</tr>
</table>
+ </form>
</div>
</td>
</tr>
OpenPOWER on IntegriCloud