[eluser]mariek[/eluser]
Hello,
I'm coding an administration interface and some icons for modify, delete etc are on several pages.
I use the html helper like this :
Code:
$image_add_props = array(
'src' => 'public/images/action_add.png',
'alt' => '+',
'class' => 'icon',
'title' => 'New'
);
img($image_add_props)
My question is : where can I put the first part
Code:
$image_add_props = array(
'src' => 'public/images/action_add.png',
'alt' => '+',
'class' => 'icon',
'title' => 'New'
);
so I don't have to redeclare it on each view ?
Thanks for your help