Re: [SMARTY] Problem with html_image
| From: | pt2002 | Date: | Tue, 12 Oct 2004 10:16:09 +0000 |
| Subject: | Re: [SMARTY] Problem with html_image | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11886@lists.php.net to get a copy of this message | ||
Thank you very much messju
Maybe this is a suggestion for a future version of Smarty
Greetings
"Messju Mohr" <messju@lammfellpuschen.de> escreveu na mensagem
news:20041012101012.GA24564@pharao.serveftp.org...
> On Tue, Oct 12, 2004 at 10:17:00AM +0100, pt2002 wrote:
> > Hello
> >
> > I have posted in the smarty forum but had no help.
> >
> > Have this html:
> > <td><a href="?opc=3&id=1" onclick="return confirm_prompt(this,
> > 'Confirm
> > delete?');"><img src="images/delete.png"
> > /></a></td>
> >
> > Want to switch this html to {html_image} and need to put the
onclick="..."
> > inside href parameter
> > {html_image file="images/delete.png" href="?opc=3&id=1
> > onclick="..." " }
and
> > I'm not figuring out how to do it because the "".
> >
> > Need some advice on this.
>
> you cannot add attributes to the <a>-tag with html_image.
> stick to <a href=".." onclick="..">{html_image ...}</a>
>
>
> > Thanks in advance