mirror of
https://github.com/smarty-php/smarty.git
synced 2025-10-05 16:50:54 +02:00
better examples
This commit is contained in:
@@ -53,7 +53,13 @@ function do_translation ($params, $content, &$smarty, &$repeat)
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
where the template is:
|
||||
</para>
|
||||
<programlisting>
|
||||
<![CDATA[
|
||||
{* template *}
|
||||
{translate lang="br"}
|
||||
Hello, world!
|
||||
|
Reference in New Issue
Block a user