📄 post_add.ftl
字号:
<#include "lib/report.tpl"/>
<#import "lib/html.tpl" as html>
<!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=${_encoding?default("GBK")}" />
<#assign navtitle = "回复 - "+topicInfo.post_title?html + " - " + forum_name?default("") + " - ">
<#include "/common/title.ftl">
<#include "/common/meta.ftl">
<link href="${_resPath}/lib/base.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${_contextPath}/ef/js/prototype.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/base.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/post.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/ubb.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>
</head>
<body><!-- post_add.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<#assign forum_id=topicInfo.forum_id/>
<div class="commonNavLine">
<#assign nextForumNavStr="<a class=\"forumName\" href=\"${_UrlUtil.encodeURL(\"/\"+_PostUtil.getTopicURL(topicInfo.post_id))}\">${topicInfo.post_title?html}</a><img src=\"${_resPath}/img/arrowhead.gif\" /><span class=\"forumName\">回复</span>" />
<#include "forum_nav.ftl"/>
</div><#comment>end commonNavLine </#comment>
<@_report/>
<div class="clean"></div>
<div id="topicform" class="commonBox">
<form method="post" id="ef_form" name="ef_form" action="${_UrlUtil.encodeURL("/post.do")}" enctype="multipart/form-data" style="margin-bottom:0px;margin-top:0px;">
<input type="hidden" name="topic_id" value="${topic_id?default(parentInfo.topic_id)}" />
<input type="hidden" name="forum_id" value="${forum_id?default(parentInfo.forum_id)}" />
<input type="hidden" name="post_type" value="${post_type?default(topicInfo.post_type)}" />
<input type="hidden" name="post_parent" value="${post_parent}" />
<input type="hidden" name="attach_new" id="attach_new">
<input type="hidden" name="attach_delete" id="attach_delete">
<input type="hidden" name="_redirect_to" value="${_redirect_to?default("")}" />
<input type="hidden" name="_fn" value="Insert" />
<input type="hidden" name="_fn_old" value="Insert" />
<table class="topicForm commonTable">
<tr class="hd1">
<td class="td1">发表回复</td>
</tr>
<tr>
<td>
<#if argue_ispoint?default("0") == "0" >
<div id="postFormTitle" class="formLine">
<table class="outline">
<tr>
<td class="fieldTitle">标 题</td>
<td class="fieldValue" >
<input name="post_title" type="text" size="60" class="text" value="${post_title?default("")?html}" maxlength="100">
<span class="note">最多 100 个字符(汉字占两位)</span><@_errorField name="post_title"/>
</td>
</tr>
</table>
</div><#comment> end postFormTitle </#comment>
</#if>
<#comment>根据主题类型不同的显示区</#comment>
<#assign add_tpl = "post_add_" + topicInfo.post_type?default("0") + ".ftl"/>
<#include add_tpl/>
<#include "post_ubb_inc.ftl"/>
<#include "post_upload_inc.ftl"/>
<#include "post_advanced_inc.ftl"/>
<div id="postFormSubmit" class="formLine">
<table class="outline">
<#if _ConfigUtil.haveCheckCodeTopic(_EFUser) >
<tr>
<td class="tdCenter">验证码 <input name="__chkcode" value="" type="text" size="6" maxlength="4" class="text"/>
<img id="_checkNumImage" src="${_contextPath}/checkNum" title="校验码"/> <a href="javascript:newVerifyPic('${_contextPath}','_checkNumImage')" title="看不清左边的字符" class="color">看不清?</a><@_errorField name="__chkcode"/>
</td>
</tr>
</#if>
<tr>
<td class="tdCenter"><input onclick="if(submitPostCheck()) postSubmit(this);" type="button" value="发 表 回 复 (s)" class="largeButton" accessKey=s title="快捷键: Alt + s">
</td>
</tr>
</table>
</div><#comment> end postFormSubmit </#comment>
</td>
</tr>
</table>
</form>
</div> <#comment>end topicform</#comment>
</div><#comment>end content</#comment>
<#assign _show_temp_=false>
<#include "footer.ftl"/>
</div><#comment>end wrap</#comment>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -