Re: [SMARTY] smarty+javascript_1
| From: | Ajay Sharma | Date: | Fri, 12 Mar 2004 20:48:25 +0000 |
| Subject: | Re: [SMARTY] smarty+javascript_1 | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11105@lists.php.net to get a copy of this message | ||
PHPDiscuss - PHP Newsgroups and mailing lists wrote:
{literal} <script language="javascript"> alert ("ggg"); var a=new Array(); var lung=new Array(); var nr_max={/literal}{$nr_base}{literal};Wouldn't it just make more sense to change the delimiters instead of using all these literal tags everywhere? http://smarty.php.net/manual/en/language.function.ldelim.php later, ajay -- Satyajot (Ajay) Sharma RevShare Corp System Administratori=0; {/literal}{section name="i" loop=$table} {literal} lung[i]= {/literal}{$table[i].nr_suboptions} {literal}; a[i]=new Array(); j=0; alert(j); {/literal} {$table[i].tabel_suboptions} {section name=j loop=$table[i].tabel_suboptions} {literal} a[i][j]="{/literal}{$table[i].tabel_suboptions[j].dimension}{literal}"; j++;{/literal} {/section} {literal} i++;{/literal} {/section} {literal}