mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
* Make Modules it's own section with no enable button
* Trap port -> Trap string * Cleanup misc wording
This commit is contained in:
parent
26fde007f1
commit
ba73e2a374
@ -314,7 +314,7 @@ function enable_change(whichone) {
|
||||
<tr>
|
||||
<td colspan="2" valign="top" class="optsect_t">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr><td class="optsect_s"><strong>Enable SNMP Traps</strong></td>
|
||||
<tr><td class="optsect_s"><strong>SNMP Traps</strong></td>
|
||||
<td align="right" class="optsect_s"><input name="trapenable" type="checkbox" value="yes" <?php if ($pconfig['trapenable']) echo "checked"; ?> onClick="enable_change(this)"> <strong>Enable</strong></td></tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
@ -337,13 +337,30 @@ function enable_change(whichone) {
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncellreq">Trap server port </td>
|
||||
<td width="22%" valign="top" class="vncellreq">Enter the SNMP trap string</td>
|
||||
<td width="78%" class="vtable">
|
||||
<input name="trapstring" type="text" class="formfld" id="trapstring" size="40" value="<?=htmlspecialchars($pconfig['trapstring']);?>">
|
||||
<br>Trap string</br>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="22%" valign="top"> </td>
|
||||
<td width="78%">
|
||||
<input name="Submit" type="submit" class="formbtn" value="Save" onClick="enable_change(true)">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td> </td></tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" valign="top" class="optsect_t">
|
||||
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
||||
<tr><td class="optsect_s"><strong>Modules</strong></td>
|
||||
<td align="right" class="optsect_s"> </td></tr>
|
||||
</table></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width="22%" valign="top" class="vncellreq">SNMP Modules</td>
|
||||
<td width="78%" class="vtable">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user