mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Show poll prefix for guests (#1417)
* Show poll results for guests
* Update viewtopic.php
* Revert "Update viewtopic.php"
This reverts commit fd3f7021a3
.
* Update CHANGELOG.md
This commit is contained in:
parent
971b8da843
commit
d82c974a90
4 changed files with 4 additions and 3 deletions
|
@ -508,7 +508,7 @@ $template->assign_vars([
|
|||
'U_SEARCH_SELF' => "search.php?uid={$userdata['user_id']}&t=$topic_id&dm=1",
|
||||
|
||||
'TOPIC_HAS_POLL' => $topic_has_poll,
|
||||
'POLL_IS_EDITABLE' => (!$poll_time_expired),
|
||||
'POLL_IS_EDITABLE' => !$poll_time_expired,
|
||||
'POLL_IS_FINISHED' => ($t_data['topic_vote'] == POLL_FINISHED),
|
||||
'CAN_MANAGE_POLL' => $can_manage_poll,
|
||||
'CAN_ADD_POLL' => $can_add_poll
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue