mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/9657] Fix "Display this post" link if javascript is disabled
PHPBB3-9657
This commit is contained in:
parent
d4aae49aa0
commit
164a06c066
1 changed files with 2 additions and 2 deletions
|
@ -1688,9 +1688,9 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
||||||
'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
|
'S_TOPIC_POSTER' => ($topic_data['topic_poster'] == $poster_id) ? true : false,
|
||||||
|
|
||||||
'S_IGNORE_POST' => ($row['foe']) ? true : false,
|
'S_IGNORE_POST' => ($row['foe']) ? true : false,
|
||||||
'L_IGNORE_POST' => ($row['foe']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username']), '<a href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
|
'L_IGNORE_POST' => ($row['foe']) ? sprintf($user->lang['POST_BY_FOE'], get_username_string('full', $poster_id, $row['username'], $row['user_colour'], $row['post_username'])) : '',
|
||||||
'S_POST_HIDDEN' => $row['hide_post'],
|
'S_POST_HIDDEN' => $row['hide_post'],
|
||||||
'L_POST_DISPLAY' => ($row['hide_post']) ? $user->lang('POST_DISPLAY', '<a class="display_post" data-post-id="' . $row['post_id'] . '" href="#">', '</a>') : '',
|
'L_POST_DISPLAY' => ($row['hide_post']) ? $user->lang('POST_DISPLAY', '<a class="display_post" data-post-id="' . $row['post_id'] . '" href="' . $viewtopic_url . "&p={$row['post_id']}&view=show#p{$row['post_id']}" . '">', '</a>') : '',
|
||||||
);
|
);
|
||||||
|
|
||||||
$user_poster_data = $user_cache[$poster_id];
|
$user_poster_data = $user_cache[$poster_id];
|
||||||
|
|
Loading…
Add table
Reference in a new issue