aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/search.php
diff options
context:
space:
mode:
authorPayBas <contact@paybas.com>2014-04-22 17:18:32 +0200
committerPayBas <contact@paybas.com>2014-05-02 17:58:54 +0200
commitd486ff62091952cc83aa9c25b674100b270e8098 (patch)
treec9a07772afda966283c226c745161f68ede59ff3 /phpBB/search.php
parent1dd02b0a916f1cd7672ffc247f09c9b6d4598d7c (diff)
downloadforums-d486ff62091952cc83aa9c25b674100b270e8098.tar
forums-d486ff62091952cc83aa9c25b674100b270e8098.tar.gz
forums-d486ff62091952cc83aa9c25b674100b270e8098.tar.bz2
forums-d486ff62091952cc83aa9c25b674100b270e8098.tar.xz
forums-d486ff62091952cc83aa9c25b674100b270e8098.zip
[ticket/12431] Add has_poll icon to topiclists
PHPBB3-12431
Diffstat (limited to 'phpBB/search.php')
-rw-r--r--phpBB/search.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/search.php b/phpBB/search.php
index dfb53c6896..da7d6ee02f 100644
--- a/phpBB/search.php
+++ b/phpBB/search.php
@@ -613,6 +613,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'REPORTED_IMG' => $user->img('icon_topic_reported', 'TOPIC_REPORTED'),
'UNAPPROVED_IMG' => $user->img('icon_topic_unapproved', 'TOPIC_UNAPPROVED'),
'DELETED_IMG' => $user->img('icon_topic_deleted', 'TOPIC_DELETED'),
+ 'POLL_IMG' => $user->img('icon_topic_poll', 'TOPIC_POLL'),
'LAST_POST_IMG' => $user->img('icon_topic_latest', 'VIEW_LATEST_POST'),
'U_SEARCH_WORDS' => $u_search,
@@ -919,6 +920,7 @@ if ($keywords || $author || $author_id || $search_id || $submit)
'S_TOPIC_UNAPPROVED' => $topic_unapproved,
'S_POSTS_UNAPPROVED' => $posts_unapproved,
'S_TOPIC_DELETED' => $topic_deleted,
+ 'S_HAS_POLL' => ($row['poll_start']) ? true : false,
'U_LAST_POST' => append_sid("{$phpbb_root_path}viewtopic.$phpEx", $view_topic_url_params . '&amp;p=' . $row['topic_last_post_id']) . '#p' . $row['topic_last_post_id'],
'U_LAST_POST_AUTHOR' => get_username_string('profile', $row['topic_last_poster_id'], $row['topic_last_poster_name'], $row['topic_last_poster_colour']),