diff options
| author | Tom Beddard <subblue@users.sourceforge.net> | 2006-02-04 23:02:38 +0000 |
|---|---|---|
| committer | Tom Beddard <subblue@users.sourceforge.net> | 2006-02-04 23:02:38 +0000 |
| commit | 05235d3452c067894acc53c753bdb0929600b48f (patch) | |
| tree | 8b6ab90c7792b47828639ea3c3954a1c6afc7a9f /phpBB/posting.php | |
| parent | 0e0e36a86f8c53c4556357ff3815bc991cd1cadf (diff) | |
| download | forums-05235d3452c067894acc53c753bdb0929600b48f.tar forums-05235d3452c067894acc53c753bdb0929600b48f.tar.gz forums-05235d3452c067894acc53c753bdb0929600b48f.tar.bz2 forums-05235d3452c067894acc53c753bdb0929600b48f.tar.xz forums-05235d3452c067894acc53c753bdb0929600b48f.zip | |
Changed url target method for BBcode help links and fixed undefined index bug
git-svn-id: file:///svn/phpbb/trunk@5523 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
| -rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 9efbad0207..b9a38e61f8 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1080,7 +1080,7 @@ $template->assign_vars(array( 'SUBJECT' => $post_subject, 'MESSAGE' => $post_text, 'HTML_STATUS' => ($html_status) ? $user->lang['HTML_IS_ON'] : $user->lang['HTML_IS_OFF'], - 'BBCODE_STATUS' => ($bbcode_status) ? sprintf($user->lang['BBCODE_IS_ON'], '<a href="' . "faq.$phpEx$SID&mode=bbcode" . '" target="_phpbbcode">', '</a>') : sprintf($user->lang['BBCODE_IS_OFF'], '<a href="' . "faq.$phpEx$SID&mode=bbcode" . '" target="_phpbbcode">', '</a>'), + 'BBCODE_STATUS' => ($bbcode_status) ? sprintf($user->lang['BBCODE_IS_ON'], '<a href="' . "faq.$phpEx$SID&mode=bbcode" . '" onclick="target=\'_phpbbcode\';">', '</a>') : sprintf($user->lang['BBCODE_IS_OFF'], '<a href="' . "faq.$phpEx$SID&mode=bbcode" . '" onclick="target=\'_phpbbcode\';">', '</a>'), 'IMG_STATUS' => ($img_status) ? $user->lang['IMAGES_ARE_ON'] : $user->lang['IMAGES_ARE_OFF'], 'FLASH_STATUS' => ($flash_status) ? $user->lang['FLASH_IS_ON'] : $user->lang['FLASH_IS_OFF'], 'SMILIES_STATUS' => ($smilies_status) ? $user->lang['SMILIES_ARE_ON'] : $user->lang['SMILIES_ARE_OFF'], |
