เริ่มกันเลยน่ะ
ไฟล์ Display.template.php
ค้นหา
// Show the post itself, finally!
echo '<div class="post">';
if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id'])
echo '<div class="approve_post">', $txt['post_awaiting_approval'], '</div>';
echo '<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>';
แก้เป็น
// Show the post itself, finally!
echo '<div class="post">';
if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id'])
echo ' <div class="approve_post">', $txt['post_awaiting_approval'], '</div>';
echo '<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>
<hr width="100%" size="1" class="hrcolor" />Permalink: ', $message['link'],'<hr width="100%" size="1" class="hrcolor" />';
ไฟล์ Display.template.php
ค้นหา
// Show the post itself, finally!
echo '<div class="post">';
if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id'])
echo '<div class="approve_post">', $txt['post_awaiting_approval'], '</div>';
echo '<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>';
แก้เป็น
// Show the post itself, finally!
echo '<div class="post">';
if (!$message['approved'] && $message['member']['id'] != 0 && $message['member']['id'] == $context['user']['id'])
echo ' <div class="approve_post">', $txt['post_awaiting_approval'], '</div>';
echo '<div class="inner" id="msg_', $message['id'], '"', '>', $message['body'], '</div>
</div>
<hr width="100%" size="1" class="hrcolor" />Permalink: ', $message['link'],'<hr width="100%" size="1" class="hrcolor" />';
ความคิดเห็น
แสดงความคิดเห็น