謝謝這個資訊
可是我裝起來後,
1.發覺按enter跳行的,在發表後並沒有作用耶!?
2.然後要把表情符號設定功能打開,否則無法跳出輸入超連結的小視窗說?
3.而且跟plog預設的表情符號有衝突,造成輸入表情符號
下面是我的程式碼
<script type="text/javascript">var HOST = '140.111.66.31';</script>
<form name="NewComment" action="{$url->getBaseUrl()}/index.php" method="post" onsubmit="if (this.bakecookie[0].checked) rememberMe(this)">
<p>
<table border="0">
<tr>
<td width="120">{$locale->pr("comment_username")}</td>
<td width="390"><input type="text" size="35" name="userName" value=""/></td>
</tr>
<tr>
<td width="120">{$locale->pr("comment_email")}</td>
<td width="390"><input type="text" size="35" name="userEmail" value=""/></td>
</tr>
<tr>
<td width="120">{$locale->pr("comment_url")}</td>
<td width="390"><input type="text" size="35" name="userUrl" value=""/></td>
</tr>
<tr>
<td width="120">{$locale->pr("comment_topic")}</td>
<td width="390"><input type="text" size="35" name="commentTopic" value=""/></td>
</tr>
<tr>
<td width="120">記錄個人資訊</td>
<td width="390"><input type="radio" id="bakecookie" name="bakecookie" /><label for="bakecookie">是</label><input type="radio" id="forget" name="bakecookie" onclick="forgetMe(this.form)" value="Forget Info" style="margin-left: 15px;" /><label for="forget">否</label><br style="clear: both;" /></td>
</tr>
<tr>
<td colspan="2" width="510">
<script type="text/javascript">edToolbar();</script>
<script language="javascript" type="text/javascript" src="{$url->getBaseUrl()}/js/tiny_mce/tiny_mce.js"></script>
{literal}
<script language="javascript" type="text/javascript">
tinyMCE.init({
mode : "textareas",
language : "zh_tw"
});
</script>
{/literal}
<textarea rows="10" cols="45" name="commentText"></textarea>
<script type="text/javascript">var edCanvas = document.NewComment.commentText;</script>
</td>
<tr>
</table>
{$smileys->generateSmileysBar()}
<br/><br/>
<input type="submit" value="{$locale->pr("comment_send")}" name="Add"/><br/><br/>
<input type="hidden" name="op" value="AddComment"/>
<input type="hidden" name="articleId" value="{$post->getId()}"/>
<input type="hidden" name="blogId" value="{$blog->getId()}"/>
<input type="hidden" name="parentId" value="{$parentId}"/>
</p>
</form>
{literal}
<script type="text/javascript" language="javascript">
<!--
document.NewComment.userEmail.value = getCookie("mtcmtmail");
document.NewComment.userName.value = getCookie("mtcmtauth");
document.NewComment.userUrl.value = getCookie("mtcmthome");
if (getCookie("mtcmtauth")) {
document.NewComment.bakecookie[0].checked = true;
} else {
document.NewComment.bakecookie[1].checked = true;
}
//-->
</script>
{/literal}