aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorCallum Macrae <callum@lynxphp.com>2011-09-25 16:02:26 +0100
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 02:09:17 +0200
commit0e55b2393dffa269a724f3090469dad563217dff (patch)
tree3991c8ba0779bb8e76676778ef5bc02fbf13385e /phpBB/viewtopic.php
parent818d98916873945d7e0e7bf2855e982496c7fe35 (diff)
downloadforums-0e55b2393dffa269a724f3090469dad563217dff.tar
forums-0e55b2393dffa269a724f3090469dad563217dff.tar.gz
forums-0e55b2393dffa269a724f3090469dad563217dff.tar.bz2
forums-0e55b2393dffa269a724f3090469dad563217dff.tar.xz
forums-0e55b2393dffa269a724f3090469dad563217dff.zip
[ticket/10270] Removed all the inline language and HTML from the JS.
PHPBB3-10270
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 1ce80568b6..a43edee5da 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -655,6 +655,8 @@ $template->assign_vars(array(
'U_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks']) ? $viewtopic_url . '&amp;bookmark=1&amp;hash=' . generate_link_hash("topic_$topic_id") : '',
'L_BOOKMARK_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks'] && $topic_data['bookmarked']) ? $user->lang['BOOKMARK_TOPIC_REMOVE'] : $user->lang['BOOKMARK_TOPIC'],
+ 'L_BOOKMARK_TOPIC_REAL' => $user->lang['BOOKMARK_TOPIC'],
+ 'S_BOOKMARKED_TOPIC' => ($user->data['is_registered'] && $config['allow_bookmarks'] && $topic_data['bookmarked']) ? true : false,
'U_POST_NEW_TOPIC' => ($auth->acl_get('f_post', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=post&amp;f=$forum_id") : '',
'U_POST_REPLY_TOPIC' => ($auth->acl_get('f_reply', $forum_id) || $user->data['user_id'] == ANONYMOUS) ? append_sid("{$phpbb_root_path}posting.$phpEx", "mode=reply&amp;f=$forum_id&amp;t=$topic_id") : '',