I suggest updating the [ img ] format used by Smilies Addon to the form [ imq=url ]alt[ /img ], so that the images then have got alt and title attributes - something like this:
[code] if ($aPost) { foreach($GLOBALS['smilies'] as $key=>$val) $postText=str_replace($key, "[img=".$GLOBALS['main_url']."/img/".$GLOBALS['dirname']."/".$val."]".$key." [/img]", $postText); } elseif ($aEdit) { foreach($GLOBALS['smilies'] as $key=>$val) $postText=str_replace("[img=".$GLOBALS['main_url']."/img/".$GLOBALS['dirname']."/".$val."]".$key." [/img]", $key, $postText); } [/code] |