mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update search.php
This commit is contained in:
parent
f54d0449c4
commit
27330e91bb
10
search.php
10
search.php
@ -609,12 +609,18 @@ if ($post_mode)
|
|||||||
'TOPIC_ICON' => get_topic_icon($first_post, $is_unread_t),
|
'TOPIC_ICON' => get_topic_icon($first_post, $is_unread_t),
|
||||||
));
|
));
|
||||||
|
|
||||||
$quote_btn = true;
|
$quote_btn = $edit_btn = $ip_btn = '';
|
||||||
$edit_btn = $delpost_btn = $ip_btn = (IS_AM);
|
$delpost_btn = (IS_AM);
|
||||||
|
|
||||||
// Topic posts block
|
// Topic posts block
|
||||||
foreach ($topic_posts as $row_num => $post)
|
foreach ($topic_posts as $row_num => $post)
|
||||||
{
|
{
|
||||||
|
if ($post['poster_id'] != BOT_UID)
|
||||||
|
{
|
||||||
|
$quote_btn = true;
|
||||||
|
$edit_btn = $ip_btn = (IS_AM);
|
||||||
|
}
|
||||||
|
|
||||||
$message = get_parsed_post($post);
|
$message = get_parsed_post($post);
|
||||||
|
|
||||||
if (count($orig_word))
|
if (count($orig_word))
|
||||||
|
Loading…
Reference in New Issue
Block a user