Re: [SMARTY] {include} problem
| From: | Juzan Jean-Michel | Date: | Tue, 11 Mar 2003 16:22:18 +0000 |
| Subject: | Re: [SMARTY] {include} problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8556@lists.php.net to get a copy of this message | ||
Le mar 11/03/2003 à 16:59, philippe.morange@ca-indosuez.com a écrit :
> Well what if I need to use an associative array?
>
> I have this in my PHP script:
> $general['path'] = "modules.php?name=Proto";
> $general['link_view_all'] = "&action=view&mode=all";
> $smarty->assign('general', $general);
>
> I need to get this:
> {include file="menu_elt.tpl"
> link="modules.php?name=Proto&action=view&mode=all&val=true"}
{include file="menu_elt.tpl"
link="modules.php?name=Proto&action=view&mode=all&val=true"}
--
Jean-Michel Juzan jmjuzan@ecreasol.ch
Direction Informations & Technologies
eCreaSol - NetWork Creative Solutions SARL - http://www.ecreasol.ch/
PGP public keys server : http://www.keyserver.net
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc