(1)去掉误输入的字符

(2)添加加密隧道行为菜单项
This commit is contained in:
wangxin
2018-08-14 15:01:19 +08:00
parent 6ffd267c6a
commit a4cc2fb89c
3 changed files with 17 additions and 3 deletions

View File

@@ -1088,4 +1088,7 @@ ir_ip=IP Reuseing
ratelimit_ip=IP Ratelimit ratelimit_ip=IP Ratelimit
app_code=Application No app_code=Application No
app_name=Application Name app_name=Application Name
app_desc=Application Description app_desc=Application Description
tunnel_code=Tunnel Behavior No
tunnel_name=Tunnel Behavior Name
tunnel_desc=Tunnel Behavior Description

View File

@@ -1092,4 +1092,7 @@ ir_ip=IP\u590D\u7528
ratelimit_ip=IP\u9650\u6D41 ratelimit_ip=IP\u9650\u6D41
app_code=\u5E94\u7528\u5E8F\u53F7 app_code=\u5E94\u7528\u5E8F\u53F7
app_name=\u5E94\u7528\u540D\u79F0 app_name=\u5E94\u7528\u540D\u79F0
app_desc=\u5E94\u7528\u63CF\u8FF0 app_desc=\u5E94\u7528\u63CF\u8FF0
tunnel_code=\u52A0\u5BC6\u96A7\u9053\u884C\u4E3A\u5E8F\u53F7
tunnel_name=\u52A0\u5BC6\u96A7\u9053\u884C\u4E3A\u540D\u79F0
tunnel_desc=\u52A0\u5BC6\u96A7\u9053\u884C\u4E3A\u63CF\u8FF0

View File

@@ -1,4 +1,4 @@
laow<%@ page contentType="text/html;charset=UTF-8" %> <%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/include/taglib.jsp"%> <%@ include file="/WEB-INF/include/taglib.jsp"%>
<html> <html>
<head> <head>
@@ -110,6 +110,10 @@ laow<%@ page contentType="text/html;charset=UTF-8" %>
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:'); $(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:'); $(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:'); $(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:');
}else if($("[name='cfgType']").val()==2){
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="tunnel_desc"/>:');
}else{ }else{
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:'); $(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:'); $(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
@@ -133,6 +137,10 @@ laow<%@ page contentType="text/html;charset=UTF-8" %>
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:'); $(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:'); $(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:'); $(".protocol_desc").html('<font color="red">*</font><spring:message code="app_desc"/>:');
}else if(cfgType==2){
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
$(".protocol_desc").html('<font color="red">*</font><spring:message code="tunnel_desc"/>:');
}else{ }else{
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:'); $(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:'); $(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');