This commit is contained in:
didou
2004-04-18 17:34:12 +00:00
parent a9bc3c91a0
commit 2e4e68462c
6 changed files with 121 additions and 116 deletions

View File

@@ -40,8 +40,13 @@ $smarty->assign('foo', 'bar');
$smarty->display('example.tpl');
?>
--- example.tpl
]]>
</programlisting>
<para>
Where example.tpl is:
</para>
<programlisting>
<![CDATA[
<script language="javascript">
var foo = <!--{$foo}-->;
function dosomething() {