Re: [SMARTY] need help for {image file=""}
| From: | Juzan Jean-Michel | Date: | Sun, 08 Feb 2004 22:48:41 +0000 |
| Subject: | Re: [SMARTY] need help for {image file=""} | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10934@lists.php.net to get a copy of this message | ||
Thank's ;)
I also use vi and don't have many friends anyway ;)
Le ven 06/02/2004 à 09:21, messju mohr a écrit :
> On Fri, Feb 06, 2004 at 01:46:17AM +0100, Juzan Jean-Michel wrote:
> > Hello,
> >
> > I need help for put this code
> > {$dbt_travaux[$smarty.get.img][1]|default:$dbt_travaux[1][1]}
> > in the file argument
> > I try multiple syntax but seems not work
>
> {html_image file=$dbt_travaux[$smarty.get.img][1]|default:$dbt_travaux[1][1]}
>
> or
>
> {assign var=img_no value=$smarty.get.img|default:1} {* or assign
> img_no from php of possible *}
> {html_image file=$dbt_travaux[$img_no][1]}
>
> should do.
>
>
> > In other thread of editors and smarty I use Quanta and Kwrite, very
> > useful for php, html, ...
>
> hmm. i use emacs, but i don't have many friends anyway :)
>
> > Thank's
> > --
> > Juzan Jean-Michel <jmj@ecreasol.ch>
> > eCreaSol
>
>
--
Juzan Jean-Michel <jmj@ecreasol.ch>
eCreaSol
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc