请帮忙修改一下这个模版
DEMO: http://www.wlyq.net/phpbb/viewtopic.php?t=2
虽然我进行了简单修改,版面不会变形,但是看起来还是很别扭。
不知道谁可以帮忙修改下。我想表情图列表可以到左侧和正文输入框并排,
并加多[更多表情符号]这样个联接。
<!-- BEGIN quick_reply -->
<script language='JavaScript'>
function quoteSelection() {
theSelection = false;
theSelection = document.selection.createRange().text; // Get text selection
if (theSelection) {
// Add tags around selection
emoticon( '[quote]
' + theSelection + '
[/quote]
');
document.post.input.focus();
theSelection = '';
return;
}else{
alert('{L_NO_TEXT_SELECTED}');
}
}
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}
function emoticon(text) {
if (document.post.input.createTextRange && document.post.input.caretPos) {
var caretPos = document.post.input.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
document.post.input.focus();
} else {
document.post.input.value += text;
document.post.input.focus();
}
}
function checkForm() {
formErrors = false;
if (document.post.input.value.length < 2) {
formErrors = '{L_EMPTY_MESSAGE}';
}
if (formErrors) {
alert(formErrors);
return false;
} else {
if (document.post.quick_quote.checked) {
document.post.message.value = document.post.last_msg.value;
}
document.post.message.value += document.post.input.value;
return true;
}
}
</script>
<form action='{quick_reply.POST_ACTION}' method='post' name='post' onsubmit='return checkForm(this)' width="100%">
<table border='0' cellpadding='10' cellspacing='0' width='100%' class='forumline'>
<tr>
<th class='thHead' colspan='2' height='25'><b>{L_QUICK_REPLY}</b></th>
</tr>
<!-- BEGIN user_logged_out -->
<tr>
<td class='row2' nowrap="nowrap"><span class='gen'><b>{L_USERNAME}:</b></span>
<span class='genmed'><input type='text' class='post' tabindex='1' name='username' size='25' maxlength='25' value='' /></span></td>
</tr>
<!-- END user_logged_out -->
<tr>
<td class='row1'valign='top'>
<textarea name='input' rows='10' cols='85' wrap='virtual' tabindex='3' class='post' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'></textarea><br>
<!-- BEGIN smilies -->
<a href='javascript:emoticon("{quick_reply.smilies.CODE}")'><img src="{quick_reply.smilies.URL}" border=0 alt="{quick_reply.smilies.DESC}" alt="{quick_reply.smilies.DESC}"></a>
<!-- END smilies -->
<br />
<input type='button' name='quoteselected' class='liteoption' value='{L_QUOTE_SELECTED}' onclick='javascript:quoteSelection()'></td>
</tr>
<tr>
<td class='row2' valign='top'><span class='gen'>
<b>{L_OPTIONS}</b><br />
<input type='checkbox' name='quick_quote'>{L_QUOTE_LAST_MESSAGE}<br>
<!-- BEGIN user_logged_in -->
<input type='checkbox' name='attach_sig' {quick_reply.user_logged_in.ATTACH_SIGNATURE}>{L_ATTACH_SIGNATURE}<br>
<input type='checkbox' name='notify' {quick_reply.user_logged_in.NOTIFY_ON_REPLY}>{L_NOTIFY_ON_REPLY}</td>
<!-- END user_logged_in -->
</tr>
<tr>
<td class='catBottom' align='center' height='28' colspan='2'>
\n <input type='hidden' name='mode' value='reply'>
<input type='hidden' name='t' value='{quick_reply.TOPIC_ID}'>
<input type='hidden' name='last_msg' value='{quick_reply.LAST_MESSAGE}'>
<input type='hidden' name='message' value=''>
<input type='submit' name='preview' class='liteoption' value='{L_PREVIEW}'>
<input type='submit' name='post' class='mainoption' value='{L_SUBMIT}'>
</td>
</tr>
</table>
</form>
<!-- END quick_reply -->
谢谢! :oops: :oops: :oops:
[問題]高级快速回复模版请求修改!
版主: 版主管理群
可以用 post_body.tpl 抓去用吧\r
hohoho
反正都是發表的頁面
hohoho
反正都是發表的頁面
注意事項:
●phpBB 架設相關問題請到 + phpBB 3.0.x 討論區發表!
●都沒有你要的答案嗎??>>點這裡<<搜尋一下吧!
●請使用>>標準的發文格式<<發表問題!
●竹貓星球並非政治團體代言人,請不要在竹貓討論政治議題,也不要認為竹貓是偏向任何一方政治團體,竹貓愛的是台灣這片生長的土地,過於泛政治化文章請來信告知移除!
●關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。
●所有市面上的免費空間皆非竹貓管轄,請勿來信詢問,請直接與該免費空間連絡。
●phpBB 架設相關問題請到 + phpBB 3.0.x 討論區發表!
●都沒有你要的答案嗎??>>點這裡<<搜尋一下吧!
●請使用>>標準的發文格式<<發表問題!
●竹貓星球並非政治團體代言人,請不要在竹貓討論政治議題,也不要認為竹貓是偏向任何一方政治團體,竹貓愛的是台灣這片生長的土地,過於泛政治化文章請來信告知移除!
●關於 phpBB 使用問題請在版面發問,私人訊息提供其他不相干或是隱私的事情聯絡之用。
●所有市面上的免費空間皆非竹貓管轄,請勿來信詢問,請直接與該免費空間連絡。


