1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-11 08:53:05 +02:00

Just some jiggling

git-svn-id: file:///svn/phpbb/trunk@895 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2001-08-17 00:32:43 +00:00
parent 6d29810297
commit baddbe3777
2 changed files with 6 additions and 3 deletions

@ -397,6 +397,10 @@ if($total_topics || $total_announcements)
{
$topic_title = preg_replace($orig_word, $replacement_word, stripslashes($topic_rowset[$i]['topic_title']));
}
else
{
$topic_title = stripslashes($topic_rowset[$i]['topic_title']);
}
$topic_type = $topic_rowset[$i]['topic_type'];
@ -413,7 +417,6 @@ if($total_topics || $total_announcements)
$topic_type = "";
}
$topic_id = $topic_rowset[$i]['topic_id'];
$replies = $topic_rowset[$i]['topic_replies'];

@ -637,8 +637,6 @@ for($i = 0; $i < $total_posts; $i++)
$message = preg_replace("/\:[0-9a-z\:]+\]/si", "]", $message);
}
$message = make_clickable($message);
$message = ($user_sig != "") ? ereg_replace("\[addsig]$", "<br /><br />_________________<br />" . $user_sig, $message) : ereg_replace("\[addsig]$", "", $message);
if( count($orig_word) )
@ -647,6 +645,8 @@ for($i = 0; $i < $total_posts; $i++)
$message = preg_replace($orig_word, $replacement_word, $message);
}
$message = make_clickable($message);
if($board_config['allow_smilies'] && $postrow[$i]['enable_smilies'])
{
$message = smilies_pass($message);