參考連結:
使用版本:phpBB 2.0.6、外掛 1.3.1 、竹貓風格\r
網站位置:
狀況描述:我有照著步驟安裝,也安裝成功了,但是卻出現了下現圖示的問題.請有經驗的前輩能教導一下..謝謝..<(_ _)>
小弟修改後的語法:
[php]
viewtopic.php
'U_VIEW_TOPIC' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&start=$start&postdays=$post_days&postorder=$post_order&highlight=$highlight"),
'U_VIEW_FORUM' => $view_forum_url,
'U_VIEW_OLDER_TOPIC' => $view_prev_topic_url,
'U_VIEW_NEWER_TOPIC' => $view_next_topic_url,
'U_POST_NEW_TOPIC' => $new_topic_url,
'U_POST_REPLY_TOPIC' => $reply_topic_url)
);
/* BEGIN Quick Reply */
if ($is_auth['auth_reply'] == true)
{
$quick_reply_img = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $images['reply_locked'] : $images['quick_reply'];
$quick_reply_alt = ( $forum_topic_data['forum_status'] == FORUM_LOCKED || $forum_topic_data['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['Quick_Reply_to_topic'];
if ( !$userdata['session_logged_in'] )
{
$template->assign_block_vars('switch_username_field', array());
}
templates/subSilver/viewtopic_body.tpl
<td width="40%" valign="top" nowrap="nowrap" align="left"><span class="gensmall">{S_WATCH_TOPIC}</span><br />
<br />
{S_TOPIC_ADMIN}</td>
<td align="right" valign="top" nowrap="nowrap">{JUMPBOX}<span class="gensmall">{S_AUTH_LIST}</span></td>
</tr>
</table>
<!-- BEGIN quick_reply -->
</tr>
</table>
<table width='100%' cellspacing='2' border='0' align='center'>
<tr>
<td valign='top' align='left'>
<form name='quick_reply' action='{quick_reply.U_QUICK_REPLY}' method='post'>
<!-- END quick_reply -->
<!-- BEGIN switch_username_field -->
<span class='gensmall'><b>{L_USERNAME}</b></span><br />
<span class='genmed'><input type='text' class='post' tabindex='1' name='username' size='25' maxlength='25' value='' /></span><br />
<!-- END switch_username_field -->
<!-- BEGIN quick_reply -->
<textarea name="message" rows="7" cols="35" wrap="virtual" style="width:425px" class="post" onclick="{if(document.quick_reply.message.value=='{quick_reply.L_QUICK_REPLY_TOPIC}') document.quick_reply.message.value=''}">快速回覆這篇主題</textarea><br />
{quick_reply.U_HIDDEN_FORM_FIELDS}
<input type='image' src='{quick_reply.QUICK_REPLY_IMG}' border='0' alt="{quick_reply.L_QUICK_REPLY_TOPIC}" onClick="if(document.quick_reply.message.value == '{quick_reply.L_QUICK_REPLY_TOPIC}' || document.quick_reply.message.value == ''){ alert('{quick_reply.L_EMPTY_MESSAGE}'); return false;}else{ return true;}" />
</form>
</td>
<!-- END quick_reply -->
templates/subSilver/subSilver.cfg
$images['reply_locked'] = "$current_template_images/{LANG}/reply-locked.gif";
$images['quick_reply'] = "$current_template_images/{LANG}/quick_reply.gif";
language/lang_chinese_traditional_taiwan/lang_main.php
$lang['Post_new_topic'] = '發表新主題';
$lang['Reply_to_topic'] = '回覆主題';
$lang['Reply_with_quote'] = '引言回覆';
$lang['Quick_Reply_to_topic'] = '快速回覆這篇主題';
[/php]



