Discuz.Web/templates/default3.1/editpost.htm

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%template _header%>
<%if {infloat}!=1%>
<script type="text/javascript"  src="{jsdir}/template_calendar.js"></script>
<div id="nav">
	<div class="wrap s_clear">
		<a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <%if {forum.Pathlist}!=""%>{ShowForumAspxRewrite(forum.Pathlist.Trim(),forumid,forumpageid)} &raquo; <%/if%>
        <strong>编辑帖子</strong>
    </div>
</div>
<%/if%>
<script type="text/javascript">
var postminchars = parseInt({config.minpostsize});
var postmaxchars = parseInt({config.maxpostsize});
var disablepostctrl = parseInt({disablepostctrl});
var tempaccounts = false;
var forumpath = "{forumpath}";
var posturl=forumpath+'editpost.aspx?topicid={topicid}&postid={postid}&forumpage={forumpageid}&pageid={pageid}';
<%if page_err==0%>
var postaction='editpost.aspx?infloat=1&postid={postinfo.pid}&topicid={topic.tid}&';
<%/if%>
function closeedit()
{
		if($('floatwin_edit'))
        $('floatwin_edit').parentNode.removeChild($('floatwin_edit')); 
		if($('floatwin_edit_mask'))
		 $('floatwin_edit_mask').parentNode.removeChild($('floatwin_edit_mask'));
}
</script>

<%if page_err==0%>
<%if {ispost}%>
	<%if {infloat}==1%>
		<script type="text/javascript">
		$('returnmessage').className='';
		location.href='{rooturl}{msgbox_url}';		
		</script>
	<%else%>
	<%template _msgbox%>
	<%/if%>
<%else%>
	<%if {infloat}==0%>
<div class="wrap s_clear" id="wrap">
	<div class="main">
	<div class="nojs" style="position:relative;">
	<div id="floatwinnojs">
	<%/if%>
	<div id="floatlayout_edit" class="float" <%if {infloat}==1%>style="width: 600px; height: 410px;"<%/if%>>
		<script>
	function geteditormessage(theform)
	{
    	var message = wysiwyg ? html2bbcode(getEditorContents()) : (!theform.parseurloff.checked ? parseurl(theform.message.value) : theform.message.value);
	    theform.message.value = message;
	}
	</script>
	<%if {infloat}==1%>
    <form method="post" name="postform" id="postform" action="editpost.aspx?infloat=1&postid={postinfo.pid}&topicid={topic.tid}&" enctype="multipart/form-data" onsubmit="return validate(this);">
    <%else%>
    <form method="post" name="postform" id="postform" action="" enctype="multipart/form-data" onsubmit="return validate(this);">
	<%/if%>
	<%template _post%>
后面还有 160 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。