mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Added showing poll status in "Watching topics" page
This commit is contained in:
parent
8447aa7874
commit
a31f3245fb
@ -94,6 +94,7 @@ if ($watch_count > 0)
|
||||
'LAST_POST_RAW' => $watch[$i]['topic_last_post_time'],
|
||||
'LAST_POST_ID' => $watch[$i]['topic_last_post_id'],
|
||||
'IS_UNREAD' => $is_unread,
|
||||
'POLL' => !IS_GUEST && $watch[$i]['topic_vote'],
|
||||
'TOPIC_ICON' => get_topic_icon($watch[$i], $is_unread),
|
||||
'PAGINATION' => ($watch[$i]['topic_status'] == TOPIC_MOVED) ? '' : build_topic_pagination(TOPIC_URL . $watch[$i]['topic_id'], $watch[$i]['topic_replies'], $bb_cfg['posts_per_page']),
|
||||
));
|
||||
|
@ -106,6 +106,7 @@ td.topic_id { cursor: pointer; }
|
||||
</td>
|
||||
<td><a href="{watch.U_FORUM}" class="genmed">{watch.FORUM_TITLE}</a></td>
|
||||
<td class="tLeft nowrap">
|
||||
<!-- IF watch.POLL --><span class="topicPoll">{L_TOPIC_POLL}</span><!-- ENDIF -->
|
||||
<a class="topictitle" title="{watch.FULL_TOPIC_TITLE}" href="{watch.U_TOPIC}">{watch.TOPIC_TITLE}</a>
|
||||
<!-- IF watch.PAGINATION --><br /><span class="topicPG"> [{ICON_GOTOPOST}{L_GOTO_SHORT} {watch.PAGINATION} ]</span><!-- ENDIF -->
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user