JumboTCMS_src/JumboTCMS.WebFile/admin/module_paper_edit.aspx
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="module_paper_edit.aspx.cs" Inherits="JumboTCMS.WebFile.Admin._module_paper_edit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>文库编辑</title>
<link type="text/css" rel="stylesheet" href="../statics/admin/css/common.css" />
<script type="text/javascript" src="../_libs/jquery.tools.pack.js"></script>
<script type="text/javascript" src="../_data/global.js"></script>
<link type="text/css" rel="stylesheet" href="../_data/global.css" />
<script type="text/javascript">
var ccid = joinValue('ccid');
$(document).ready(function(){
$('.tip-t').jtip({gravity: 't',fade: false});
$('.tip-r').jtip({gravity: 'r',fade: false});
$('.tip-b').jtip({gravity: 'b',fade: false});
$('.tip-l').jtip({gravity: 'l',fade: false});
$('#txtTColor').colorPicker({obj:$('#txtTitle')});//标题拾色器
$.formValidator.initConfig({onError:function(msg){alert(msg);}});
$("#txtTitle").formValidator({tipid:"tipTitle",onshow:"请输入标题,单引号之类的将自动过滤",onfocus:"至少输入6个字符"}).InputValidator({min:6,onerror:"至少输入6个字符,请确认"})
<%if (MainChannel.CheckSameTitle) {%>
.AjaxValidator({
type : "get",
data: "id=<%=id%>" + ccid,
url: "module_<%=ChannelType%>_ajax.aspx?oper=checkname&clienttime="+Math.random(),
datatype : "json",
success : function(d){
if(d.result == "1")
return true;
else
return false;
},
buttons: $("#btnSave"),
error: function(){alert("服务器繁忙,请稍后再试");},
onerror : "该标题已经存在",
onwait : "正在校验标题的合法性,请稍候..."
})<%if (id!="0") {%>.DefaultPassed()<%} %>;
<%} %>
$("#txtPageNumber").formValidator({tipid:"tipPageNumber",onshow:"请填写数字",onfocus:"请填写数字"}).RegexValidator({regexp:"^\([0-9]+)$",onerror:"请填写数字"});
$("#txtPoints").formValidator({tipid:"tipPoints",onshow:"请填写数字",onfocus:"请填写数字"}).RegexValidator({regexp:"^\([0-9]+)$",onerror:"请填写数字"});
$("#txtAliasPage").formValidator({empty:true,tipid:"tipAliasPage",onshow:"指定文件路径(第1页),不输入即为默认。如/aa/bb/cc.html",onfocus:"动态频道只支持aspx结尾,请慎重输入"}).RegexValidator({regexp:"^\(/[_\-a-zA-Z0-9\.]+(/[_\-a-zA-Z0-9\.]+)*\.(aspx|htm(l)?|shtm(l)?))$",onerror:"以“/”开头,后缀支持aspx|htm(l)|shtm(l),如/aa/bb/cc.html"});
});
//插入预览附件地址
function AttachmentSelected(path,elementid)
{
$("#"+elementid).val(path);
}
//插入上传文件
function AttachmentOperater(path,type,size){
$("#txtPaperUrl").val(path);
}
var PhotoInput = 'txtImg';
function FillPhoto(photo){
$('#'+PhotoInput).val(photo);
}
/*最后的表单验证*/
function CheckFormSubmit(){
if($.formValidator.PageIsValid('1'))
{
后面还有 105 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。