TBS version beta 3.00b32
my template :
<imgalt src="toto.php?s=[sizes.key;block=imgalt]" width="[sizes.val]" />
|
the corresponding php code :
$IMAGES_SIZES = Array(
"s" => 100,
"m" => 140,
"b" => 170,
"l" => 280
);
$TBS->MergeBlock('sizes', $IMAGES_SIZES);
|
outputs this error :
TinyButStrong Error (Block definition): [sizes.key] can not be defined because tag <imgalt> or </imgalt> is not found.
Otherwise, it works perfectly when <imgalt ... /> is written <imgalt></imgalt>
Is it a bug or is it me using wrong syntax for block=imgalt ?
thanks for any answer...