Closed (fixed)
Project:
Imce CCK Image
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
15 May 2008 at 05:06 UTC
Updated:
14 Jun 2008 at 23:42 UTC
function theme_imceimage_image($s, $w='', $h='', $a='', $id='') {
$s = 'src="' . $s . '" ';
$a = 'alt="'.$a.'" ';
$id = !empty($id)?'id="'.$id.'" ':'';
return '
';
}
Comments
Comment #1
hedgehog.zx commentedsorry
right code:
Comment #2
panis commentedhedgehog, pardon my ignorance here - but what is the nature of the problem this fixes and is there a reason why you are ignoring the width and height arguments?
Comment #3
hedgehog.zx commentedbecause this is fast fix :)
Comment #4
panis commentedI am being dense.. What is the problem with the original code - is it slow? or is it not compliant HTML?
Comment #5
hedgehog.zx commentedXHTML requires / before > in tags that dosn`t require end tag
Comment #6
hedgehog.zx commentedadditionally
return "text $a another text";works slower thenreturn 'text '.$a.' another text';Comment #7
panis commentedthanks!! that makes it clear.
Comment #8
hedgehog.zx commentednp, mate :)
Comment #9
panis commentedfixed in head.
Comment #10
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.