admin/templets/member_model_field_edit.htm
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!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=<?php echo $cfg_soft_lang; ?>">
<title>更改字段</title>
<link href="css/base.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function GetFields()
{
var theform = document.form1;
var itemname = theform.itemname.value;
var fieldname = theform.fname.value;
var dtype = theform.dtype.value;
var vdefault = theform.vdefault.value;
var maxlength = theform.maxlength.value;
var vinnertext = theform.vinnertext.value;
var issearch = (theform.issearch[0].checked ? theform.issearch[0].value : theform.issearch[1].value);
var isshow = (theform.isshow[0].checked ? theform.isshow[0].value : theform.isshow[1].value);
var state = (theform.state[0].checked ? theform.state[0].value : theform.state[1].value);
if(itemname=="")
{
alert("表单提示名称不能为空!");
theform.itemname.focus();
return false;
}
if((dtype=="radio"||dtype=="select"||dtype=="checkbox") && vdefault=="")
{
alert("你选择的select或radio、checkbox类型,必须默认值设置选择的项目(用逗号[,]分开)!");
return false;
}
revalue = "<field:"+fieldname+" itemname=\""+itemname+"\" autofield=\"1\" type=\""+dtype+"\"";
revalue += " default=\""+vdefault+"\" ";
revalue += " maxlength=\""+maxlength+"\" issearch=\""+issearch+"\" isshow=\""+isshow+"\" state=\""+state+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n";
document.form1.fieldstring.value = revalue;
return true;
}
</script>
<style type="text/css">
<!--
td {
padding:2px;
padding-left:6px;
}
.STYLE1 {
color: #FF3300
}
.STYLE2 {
color: #666666
}
.nw {
float:left;
width:150px;
}
后面还有 125 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。