code formatting change: switched from alternative syntax to using {}

This commit is contained in:
gregb_cc
2003-03-12 21:40:47 +00:00
parent 6908193151
commit c0f728ba9e
+2 -2
View File
@@ -501,13 +501,13 @@ function replace_smilies($text) {
'}-]' => 'evil.gif',
);
if($runonce == false):
if($runonce == false){
foreach ($emoticons as $emoticon => $image){
$e[] = $emoticon;
$img[] = "<IMG ALT=\"$emoticon\" WIDTH=15 HEIGHT=15 SRC=\"{$CFG->wwwroot}/pix/s/{$image}\">";
}
$runonce = true;
endif;
}
return str_replace($e, $img, $text);
}