📄 contentfilter-props-edit-form.jsp
字号:
<td> </td> <td align="left">Patterns: </td> </tr> <tr> <td> </td> <td> <textarea rows="10" cols="100" name="patterns"><%= (patterns != null ? patterns : "") %></textarea> <% if (errors.containsKey("missingPatterns")) { %> <span class="jive-error-text"> <br>Please enter comma separated, regular expressions. </span> <% } else if (errors.containsKey("patternSyntaxException")) { %> <span class="jive-error-text"> <br>Invalid regular expression: <%= errors.get("patternSyntaxException") %>. Please try again. </span> <% } %> </td> </tr> <tr> <td> </td> <td><input type="checkbox" name="filterstatus" value="filterstatus" <%= filterStatusEnabled ? "checked" : "" %>>Filter users presence status.</input></td> </tr> </tbody> </table> </div></fieldset><br><br><fieldset> <legend>On Content Match</legend> <div> <p> Configure this feature to reject or allow (and optionally mask) packet content when there is a match. </p> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="1%"> <input type="radio" name="allowonmatch" value="false" id="not03" <%= ((allowOnMatch) ? "" : "checked") %>> </td> <td width="99%"> <label for="not01"><b>Reject</b></label> - Packets will be rejected. </td> </tr> <tr> <td width="1%"> <input type="radio" name="allowonmatch" value="true" id="not04" <%= ((allowOnMatch) ? "checked" : "") %>> </td> <td width="99%"> <label for="not02"><b>Allow</b></label> - Packets will be allowed. </td> </tr> <tr> <td> </td> <td align="left">Mask: <input type="text" size="100" maxlength="100" name="mask" value="<%= (mask != null ? mask : "") %>"> <% if (errors.containsKey("missingMask")) { %> <span class="jive-error-text"> <br>Please enter a mask. </span> <% } %> </td> </tr> <tr> <td> </td> <td><input type="checkbox" name="maskenabled" value="maskenabled" <%= maskEnabled ? "checked" : "" %>>Enable mask.</input></td> </tr> </tbody> </table> </div></fieldset><br><br><fieldset> <legend>Rejection Notification</legend> <div> <p> Enable this feature to have the sender notified whenever a packet is rejected. NB: This feature is only operational if "On Content Match" is set to reject packets. </p> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="1%"> <input type="radio" name="rejectionnotificationenabled" value="false" id="not05" <%= ((rejectionNotificationEnabled) ? "" : "checked") %>> </td> <td width="99%"> <label for="not01"><b>Disabled</b></label> - Notifications will not be sent out. </td> </tr> <tr> <td width="1%"> <input type="radio" name="rejectionnotificationenabled" value="true" id="not06" <%= ((rejectionNotificationEnabled) ? "checked" : "") %>> </td> <td width="99%"> <label for="not02"><b>Enabled</b></label> - Notifications will be sent out. </td> </tr> <tr> <td> </td> <td align="left">Rejection message: <input type="text" size="100" maxlength="100" name="rejectionMsg" value="<%= (rejectionMsg != null ? rejectionMsg : "") %>"> <% if (errors.containsKey("missingRejectionMsg")) { %> <span class="jive-error-text"> <br>Please enter a rejection message. </span> <% } %> </td> </tr> </tbody> </table> </div></fieldset><br><br><fieldset> <legend>Content Match Notification</legend> <div> <p> Enable this feature to have the contact person notified whenever there is a content match. </p> <table cellpadding="3" cellspacing="0" border="0" width="100%"> <tbody> <tr> <td width="1%"> <input type="radio" name="notificationenabled" value="false" id="not07" <%= ((notificationEnabled) ? "" : "checked") %>> </td> <td width="99%"> <label for="not01"><b>Disabled</b></label> - Notifications will not be sent out. </td> </tr> <tr> <td width="1%"> <input type="radio" name="notificationenabled" value="true" id="not08" <%= ((notificationEnabled) ? "checked" : "") %>> </td> <td width="99%"> <label for="not02"><b>Enabled</b></label> - Notifications will be sent out. </td> </tr> <tr> <td> </td> <td align="left">Username:  <input type="text" size="20" maxlength="100" name="contactname" value="<%= (contactName != null ? contactName : "") %>">@<%= XMPPServer.getInstance().getServerInfo().getName() %> <% if (errors.containsKey("missingContactName")) { %> <span class="jive-error-text"> <br>Please enter a username. </span> <% } else if (errors.containsKey("userNotFound")) { %> <span class="jive-error-text"> <br>Could not find user. Please try again. </span> <% } %> </td> </tr> <tr> <td> </td> <td> <input type="checkbox" name="notificationcb" value="notificationbyim" <%= notificationByIMEnabled ? "checked" : "" %>>Notify by IM.</input> <input type="checkbox" name="notificationcb" value="notificationbyemail" <%= notificationByEmailEnabled ? "checked" : "" %>>Notify by Email.</input> <input type="checkbox" name="notificationcb" value="notificationincludeoriginal" <%= includeOriginalEnabled ? "checked" : "" %>>Include original packet.</input> <% if (errors.containsKey("mailServerNotConfigured")) { %> <span class="jive-error-text"> <br>Error, sending an email will fail because the mail server is not setup. Please go to the <a href="/system-email.jsp">mail settings page</a> and set the mail host. </span> <% } else if (errors.containsKey("userEmailNotConfigured")) { %> <span class="jive-error-text"> <br>Please configure <a href="/user-properties.jsp?username=<%= contactName %>"><%= contactName %>'s</a> email address. </span> <% } else if (errors.containsKey("notificationFormatNotConfigured")) { %> <span class="jive-error-text"> <br>Users must be notified by IM and/or Email. </span> <% } %> </td> </tr> </tbody> </table> </div></fieldset><br><br><input type="submit" name="save" value="Save settings"><input type="submit" name="reset" value="Restore factory settings*"></form><br><br><em>*Restores the plugin to its factory state, you will lose all changes ever made to this plugin!</em></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -