Backup/Discuz.Web/templates/default/space/usercpspacecategoryedit.htm
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%inherits "Discuz.Space.Pages.usercpspacecategoryedit"%>
<%template _header%>
<div class="wrap cl pageinfo">
<div id="nav">
<%if {usergroupinfo.allowsearch}>0%>
<%template _quicksearch%>
<%/if%>
<a href="{config.forumurl}" class="title">{config.forumtitle}</a> » <a href="usercp.aspx">用户中心</a> » <strong>编辑日志分类</strong>
</div>
</div>
<script type="text/javascript">
function checkform()
{
if(document.getElementById("title").value == "")
{
alert("分类名称为空");
document.getElementById("title").focus();
return false;
}
if(document.getElementById("categorydescription").value.length > 1000)
{
alert("分类描述长度最大为1000字");
return false;
}
if(!(/^\d+$/.test(document.getElementById("displayorder").value)))
{
alert("分类序号必须是整数");
document.getElementById("displayorder").focus();
return false;
}
return true;
}
</script>
<div class="wrap uc cl">
<%template _menu%>
<div class="uc_main">
<div class="uc_content">
<h1>编辑日志分类</h1>
<%template _spacemenu%>
<%if page_err==0%>
<%if ispost%>
<%template _usercpmsgbox%>
<%else%>
<form id="postpm" name="postpm" method="post" action="">
<table cellspacing="0" cellpadding="0" class="tfm" summary="个人资料">
<tbody>
<tr>
<th>分类名称</th>
<td><input name="title" type="text" id="title" value="{spacecategoryinfo.title}" size="40" maxlength="50" class="txt"/></td>
</tr>
<tr>
<th>分类描述</th>
<td><textarea name="description" cols="50" rows="6" id="categorydescription" class="txtarea">{spacecategoryinfo.description}</textarea></td>
</tr>
<tr>
<th>分类序号</th>
<td><input name="displayorder" type="text" id="displayorder" value="{spacecategoryinfo.displayorder}" size="2" maxlength="2" class="txt"/></td>
</tr>
<tr>
<th></th>
后面还有 16 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
