亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? contentfilter-props-edit-form.jsp

?? 基于Jabber協議的即時消息服務器
?? JSP
?? 第 1 頁 / 共 2 頁
字號:
<%@ page import="java.util.*,                 org.jivesoftware.wildfire.XMPPServer,                 org.jivesoftware.wildfire.user.*,				org.jivesoftware.wildfire.plugin.ContentFilterPlugin,                                  org.jivesoftware.util.*"%><%@ page import="java.util.regex.Pattern"%><%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %><%@ taglib uri="http://java.sun.com/jstl/fmt_rt" prefix="fmt" %><%    boolean save = request.getParameter("save") != null;    boolean reset = request.getParameter("reset") !=null;    boolean success = request.getParameter("success") != null;        //filter options    boolean patternsEnabled = ParamUtils.getBooleanParameter(request, "patternsenabled");    String patterns =  ParamUtils.getParameter(request, "patterns");    String [] filterStatusChecked = ParamUtils.getParameters(request, "filterstatus");    boolean filterStatusEnabled = filterStatusChecked.length > 0;     //match options    boolean allowOnMatch = ParamUtils.getBooleanParameter(request, "allowonmatch");    String [] maskChecked = ParamUtils.getParameters(request, "maskenabled");	boolean maskEnabled = maskChecked.length > 0;   	String mask =  ParamUtils.getParameter(request, "mask");    //rejection options    boolean rejectionNotificationEnabled = ParamUtils.getBooleanParameter(request, "rejectionnotificationenabled");    String rejectionMsg = ParamUtils.getParameter(request, "rejectionMsg");      //notification options      boolean notificationEnabled = ParamUtils.getBooleanParameter(request, "notificationenabled");    String contactName = ParamUtils.getParameter(request, "contactname");    List<String> notificationOptions = Arrays.asList(ParamUtils.getParameters(request, "notificationcb"));    boolean notificationByIMEnabled = notificationOptions.contains("notificationbyim");    boolean notificationByEmailEnabled = notificationOptions.contains("notificationbyemail");    boolean includeOriginalEnabled = notificationOptions.contains("notificationincludeoriginal");        //get handle to plugin	ContentFilterPlugin plugin = (ContentFilterPlugin) XMPPServer.getInstance().getPluginManager().getPlugin("contentfilter");    //input validation    Map<String, String> errors = new HashMap<String, String>();    if (save) {            if (patterns == null) {            errors.put("missingPatterns", "missingPatterns");        } else {            String[] data = patterns.split(",");            try {                for (String aData : data) {                    Pattern.compile(aData);                }            } catch (java.util.regex.PatternSyntaxException e) {    			    errors.put("patternSyntaxException", e.getMessage());    			}    		}    		    		    	if (mask == null) {	    	    errors.put("missingMask", "missingMask");	    	}    		    	if (rejectionMsg == null) {	    	    errors.put("missingRejectionMsg", "missingRejectionMsg");	    	}    		    	if (contactName == null) {		    errors.put("missingContactName", "missingContactName");		} else {		    contactName = contactName.trim().toLowerCase();		    try  {		        User user = UserManager.getInstance().getUser(contactName);		        if (notificationByEmailEnabled) {		            //verify that the user has an email address		            if (user.getEmail() == null) {		                errors.put("userEmailNotConfigured", "userEmailNotConfigured");		            }		            //verify that the email server is configured		            if (!JiveGlobals.getBooleanProperty("mail.configured", false)) {		                errors.put("mailServerNotConfigured", "mailServerNotConfigured");		            }		        }			} catch (UserNotFoundException unfe) {			    errors.put("userNotFound", "userNotFound");			}		}				if (!notificationByIMEnabled && !notificationByEmailEnabled) {		    errors.put("notificationFormatNotConfigured", "notificationFormatNotConfigured");		}	    	       	    	    	    if (errors.size() == 0) {		    plugin.setPatternsEnabled(patternsEnabled);		    plugin.setPatterns(patterns);		    plugin.setFilterStatusEnabled(filterStatusEnabled);		    plugin.setAllowOnMatch(allowOnMatch);		    plugin.setMaskEnabled(maskEnabled);		    plugin.setMask(mask);	        plugin.setViolationNotificationEnabled(notificationEnabled);	        plugin.setViolationContact(contactName);	        plugin.setViolationNotificationByIMEnabled(notificationByIMEnabled);	        plugin.setViolationNotificationByEmailEnabled(notificationByEmailEnabled);	        plugin.setViolationIncludeOriginalPacketEnabled(includeOriginalEnabled);           	        plugin.setRejectionNotificationEnabled(rejectionNotificationEnabled);	        plugin.setRejectionMessage(rejectionMsg);            	        response.sendRedirect("contentfilter-props-edit-form.jsp?success=true");	        return;	    }    } else if (reset) {      plugin.reset();      response.sendRedirect("contentfilter-props-edit-form.jsp?success=true");    } else {        patterns = plugin.getPatterns();        mask = plugin.getMask();           contactName = plugin.getViolationContact();        rejectionMsg = plugin.getRejectionMessage();    }    if (errors.size() == 0) {        patterns = plugin.getPatterns();        mask = plugin.getMask();           contactName = plugin.getViolationContact();        rejectionMsg = plugin.getRejectionMessage();        notificationByIMEnabled = plugin.isViolationNotificationByIMEnabled();        notificationByEmailEnabled = plugin.isViolationNotificationByEmailEnabled();        includeOriginalEnabled = plugin.isViolationIncludeOriginalPacketEnabled();    }        patternsEnabled = plugin.isPatternsEnabled();    filterStatusEnabled = plugin.isFilterStatusEnabled();    allowOnMatch = plugin.isAllowOnMatch();    maskEnabled = plugin.isMaskEnabled();    notificationEnabled = plugin.isViolationNotificationEnabled();    rejectionNotificationEnabled = plugin.isRejectionNotificationEnabled();%><html>    <head>        <title>Content Filter</title>        <meta name="pageID" content="contentfilter-props-edit-form"/>    </head>    <body><p>Use the form below to edit content filter settings.<br></p><%  if (success) { %>    <div class="jive-success">    <table cellpadding="0" cellspacing="0" border="0">    <tbody>        <tr>	        <td class="jive-icon"><img src="images/success-16x16.gif" width="16" height="16" border="0"></td>	        <td class="jive-icon-label">Settings updated successfully.</td>        </tr>    </tbody>    </table>    </div><br><%  } else if (errors.size() > 0) { %>    <div class="jive-error">    <table cellpadding="0" cellspacing="0" border="0">    <tbody>        <tr>        	<td class="jive-icon"><img src="images/error-16x16.gif" width="16" height="16" border="0"></td>        	<td class="jive-icon-label">Error saving the settings.</td>        </tr>    </tbody>    </table>    </div><br><%  } %><form action="contentfilter-props-edit-form.jsp" method="post"><fieldset>    <legend>Filter</legend>    <div>        <p>    To enable the content filter you need to set up some regular expressions.    </p>        <table cellpadding="3" cellspacing="0" border="0" width="100%">    <tbody>    	<tr>    	    <td width="1%">            <input type="radio" name="patternsenabled" value="false" id="not01"             <%= ((patternsEnabled) ? "" : "checked") %>>        </td>        <td width="99%">            <label for="not01"><b>Disabled</b></label> - Packets will not be filtered.        </td>    </tr>    <tr>        <td width="1%">            <input type="radio" name="patternsenabled" value="true" id="not02"             <%= ((patternsEnabled) ? "checked" : "") %>>        </td>        <td width="99%">            <label for="not02"><b>Enabled</b></label> - Packets will be filtered.        </td>    </tr>    	<tr>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品一区二区三区在线观看| 欧美日韩一区二区在线视频| 久久久精品免费网站| 美国精品在线观看| 精品av综合导航| 国产一区二区视频在线播放| 久久久久久久精| 成人h精品动漫一区二区三区| 国产精品欧美一区二区三区| 99视频精品在线| 亚洲制服欧美中文字幕中文字幕| 欧美三级在线视频| 精品在线观看视频| 欧美激情一区二区三区蜜桃视频 | 亚洲欧美激情一区二区| 欧洲一区在线电影| 美女视频网站久久| 国产精品人人做人人爽人人添| 91视频在线看| 免费xxxx性欧美18vr| 国产亚洲欧美日韩日本| 91亚洲精品久久久蜜桃网站 | 欧美午夜一区二区三区| 免费黄网站欧美| 亚洲国产成人一区二区三区| 欧洲精品视频在线观看| 激情五月婷婷综合网| 亚洲欧美综合网| 日韩三级视频中文字幕| 懂色av一区二区三区蜜臀| 一区二区三区日韩精品| 欧美大胆一级视频| 91丝袜美腿高跟国产极品老师| 男女性色大片免费观看一区二区| 国产日韩欧美精品在线| 欧美日韩免费电影| 丰满亚洲少妇av| 蜜桃av一区二区在线观看| 国产精品水嫩水嫩| 日韩一区二区精品| 色成年激情久久综合| 国内精品写真在线观看| 亚洲福利一区二区| 国产精品理论在线观看| 精品国免费一区二区三区| 欧美在线色视频| 国产91丝袜在线观看| 日韩福利视频网| 亚洲精品美腿丝袜| 国产亚洲精品bt天堂精选| 欧美一区二区网站| 色噜噜久久综合| 成人丝袜18视频在线观看| 蜜臀久久99精品久久久画质超高清| 亚洲人xxxx| 国产精品女上位| 久久综合资源网| 日韩欧美一二三| 91精品福利在线一区二区三区 | 亚洲视频免费在线观看| 久久久久久**毛片大全| 日韩欧美第一区| 欧美二区在线观看| 欧美主播一区二区三区美女| 99久久综合狠狠综合久久| 国产精品一区二区在线观看网站| 欧美aa在线视频| 天天色天天操综合| 欧美久久一二三四区| av在线不卡免费看| 高清久久久久久| 国内成人精品2018免费看| 免费观看成人鲁鲁鲁鲁鲁视频| 一区二区高清视频在线观看| 亚洲精选视频免费看| 亚洲婷婷在线视频| 中文字幕在线不卡一区 | 91精品福利视频| 99视频热这里只有精品免费| 成人黄色小视频| www.欧美日韩国产在线| 岛国av在线一区| 成人免费的视频| 99久免费精品视频在线观看| 97国产一区二区| 91福利区一区二区三区| 欧美午夜精品一区二区三区| 欧美日韩电影在线播放| 欧美视频一区二区三区| 欧美一区二区视频在线观看2020| 91精品国产综合久久精品麻豆 | 99精品视频免费在线观看| 国内外成人在线视频| 国内精品国产三级国产a久久| 久久99精品国产91久久来源| 久久99热这里只有精品| 国产精品小仙女| 99国产精品久久久久久久久久 | 色婷婷av一区二区三区大白胸| 99久久免费视频.com| 色哟哟亚洲精品| 欧美日韩一区二区三区在线看 | 日韩欧美一区在线| 久久综合丝袜日本网| 中文字幕欧美一| 亚洲成人免费av| 91高清视频在线| 成人精品视频.| 91免费版在线| 717成人午夜免费福利电影| 精品久久人人做人人爽| 国产人伦精品一区二区| 亚洲综合精品自拍| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产麻豆午夜三级精品| 91视频免费播放| 日韩西西人体444www| 国产精品视频在线看| 亚洲一区免费视频| 国产精品自拍三区| 欧洲精品在线观看| 国产欧美久久久精品影院| 亚洲综合色成人| 国产精品一区三区| 欧美日韩亚洲综合在线| 中文字幕免费不卡| 青娱乐精品在线视频| 99re热视频精品| 欧美电视剧免费全集观看| 亚洲综合视频网| 国产精品1区2区| 91精品国产91久久综合桃花| 亚洲欧洲av在线| 国产在线日韩欧美| 欧美另类高清zo欧美| 最新欧美精品一区二区三区| 男女男精品视频| 在线看国产日韩| 欧美激情一区二区三区| 另类小说综合欧美亚洲| 色综合中文综合网| 亚洲人被黑人高潮完整版| 精品无人区卡一卡二卡三乱码免费卡| 91丨porny丨国产| 国产女人aaa级久久久级| 免费看日韩精品| 欧美日韩中文一区| 亚洲免费在线观看| 成人精品电影在线观看| 久久久久9999亚洲精品| 久久精品噜噜噜成人av农村| 欧美日韩一二三区| 亚洲一区二区三区四区在线免费观看| 高清不卡一二三区| 亚洲精品一区二区三区蜜桃下载 | 国产成人丝袜美腿| 日韩精品一区二区三区在线| 亚洲18女电影在线观看| 欧美成人a视频| 蜜臀久久久99精品久久久久久| 欧美色手机在线观看| 一区二区三区毛片| 色哟哟在线观看一区二区三区| 国产精品国模大尺度视频| 国产成人鲁色资源国产91色综| 亚洲精品在线观看视频| 国产一区在线观看视频| 久久综合九色欧美综合狠狠| 国内精品嫩模私拍在线| 久久美女高清视频| 国产精品1区二区.| 欧美激情综合五月色丁香| 成人免费看视频| 亚洲日本护士毛茸茸| 日本伦理一区二区| 亚洲国产精品久久不卡毛片| 欧美日韩dvd在线观看| 日韩在线a电影| 日韩欧美123| 国产精品99久久久久| 国产精品区一区二区三| 99re成人精品视频| 亚洲成人免费视频| 欧美一个色资源| 国产精品一区二区在线观看不卡| 久久你懂得1024| 99视频精品在线| 亚洲成av人综合在线观看| 日韩亚洲欧美成人一区| 国产激情一区二区三区| 亚洲色图一区二区| 在线成人午夜影院| 国产一区二区不卡| 亚洲欧美日韩在线| 欧美一区二区三区电影| 国产一区二区三区久久悠悠色av| 国产精品国产三级国产有无不卡 | 99精品视频一区| 午夜精品国产更新| 26uuu另类欧美亚洲曰本|