Missing word replacements ...

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@2718 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2002-07-19 14:55:09 +00:00
parent db45c0c0df
commit ecdb504cc8

View file

@ -571,6 +571,10 @@ else if ( $mode == 'read' )
$private_message .= '<br /><br />_________________<br />' . make_clickable($user_sig); $private_message .= '<br /><br />_________________<br />' . make_clickable($user_sig);
} }
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
if ( count($orig_word) ) if ( count($orig_word) )
{ {
$post_subject = preg_replace($orig_word, $replacement_word, $post_subject); $post_subject = preg_replace($orig_word, $replacement_word, $post_subject);
@ -1683,6 +1687,10 @@ $template->set_filenames(array(
); );
make_jumpbox('viewforum.'.$phpEx); make_jumpbox('viewforum.'.$phpEx);
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
// //
// New message // New message
// //