aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-06 12:43:03 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-06 13:05:33 +0100
commit164a06c0665e0f5cbbfb3314b323ffe9a05648d7 (patch)
treedaae9bb3c6a961f55e27277614b2015c254ca92e /phpBB/viewtopic.php
parentd4aae49aa0d2a0ab67b5815c682e330e255b6879 (diff)
downloadforums-164a06c0665e0f5cbbfb3314b323ffe9a05648d7.tar
forums-164a06c0665e0f5cbbfb3314b323ffe9a05648d7.tar.gz
forums-164a06c0665e0f5cbbfb3314b323ffe9a05648d7.tar.bz2
forums-164a06c0665e0f5cbbfb3314b323ffe9a05648d7.tar.xz
forums-164a06c0665e0f5cbbfb3314b323ffe9a05648d7.zip
[ticket/9657] Fix "Display this post" link if javascript is disabled
PHPBB3-9657
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 49967d4c25..6cfbef6dc7 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -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_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 . "&amp;p={$row['post_id']}&amp;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'],
- '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 . "&amp;p={$row['post_id']}&amp;view=show#p{$row['post_id']}" . '">', '</a>') : '',
);
$user_poster_data = $user_cache[$poster_id];