📄 friendnew.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 = "好友管理 - ">
<#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/blog.js"></script>
<script type="text/javascript" src="${_contextPath}/ef/js/eforumad.js"></script>
</head>
<body><!-- friendnew.ftl -->
<div id="wrap">
<#include "header.ftl"/>
<div id="content">
<#include "blognav_inc.ftl"/>
<#include "friendleft_inc.ftl"/>
<#comment>加好友</#comment>
<form method="post" id="savefriend_form" name="savefriend_form" action="${_UrlUtil.encodeURL("/blog/friend.do")}">
<input type="hidden" id="_fn_id" name="_fn" value="AddFriend">
<div id="blogRight">
<@_report/>
<div id="friendEdit" class="noteBox commonOuter">
<table class="commonInnerTable">
<tr class="hd">
<td class="hdTitle" colspan="3">
<#if friend_ope?default("i") == "u" >编辑
<#else>增加<#if friend_type?number == _Constants.FRIEND_TYPE_GOOD>好友<#else>黑名单</#if>
</#if>
</td>
</tr>
<tr class="content">
<td class="title">昵 称</td>
<td class="value" colspan="2">
<input name="friend_user_nickname" type="text" size="40" value="${friend_user_nickname?default("")}" <#if friend_ope?default("i") == "u" >readonly</#if> class="input1"><@_errorField name="friend_user_nickname"/>
</td>
</tr>
<#if friend_type?number == _Constants.FRIEND_TYPE_GOOD>
<tr class="content">
<td class="title">标 签</td>
<td class="value">
<input name="friend_tags" id="friend_tags" type="text" size="40" value="${friend_tags?default("")}" maxlength="100" class="input1"><#include "friendtag_inc.ftl"/><@_errorField name="friend_tags"/>
</td>
<td class="note">
<span class="note">多个标签之间用空格分隔,最多 5 个标签,最多 100 个字符(汉字占两位)</span>
</td>
</tr>
</#if>
<tr class="content">
<td class="title" rowspan="2">备 注</td>
<td class="value">
<textarea id="friend_memo" name="friend_memo" onblur="checkTextarea('friend_memo','备注','200')" class="textarea1">${friend_memo?default("")}</textarea><@_errorField name="friend_memo"/>
</td>
<td class="note">
<span class="note">最多 200 个字符(汉字占两位)</span>
</td>
</tr>
<tr class="content">
<td class="actions" colspan="2">
<input id="addFriend" type="button" class="middleButton" value="提 交" onclick="saveFriend('${friend_ope?default("i")}',this)">
</td>
</tr>
</table>
</div><#comment> end friendEdit </#comment>
</div><#comment> end blogRight </#comment>
<input name="friend_type" type="hidden" class="style1" value="${friend_type}">
<input name="friend_id" type="hidden" class="style1" value="${friend_id?default("")}">
</form>
</div><#comment> end content </#comment>
<#include "footer.ftl"/>
</div><#comment>end wrap </#comment>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -