mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
example
This commit is contained in:
@@ -90,7 +90,17 @@ $smarty->assign('articleTitle',
|
||||
<a href="mailto:%62%6f%..snip..%65%74">bob..snip..et</a>
|
||||
]]>
|
||||
</screen>
|
||||
<para>Remember that native PHP functions can be used as modifiers so this will work</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
{* rewind get var registers the current location *}
|
||||
<a href="{$SCRIPT_NAME}?page=foo&rewind={$smarty.server.REQUEST_URI|urlencode}">click here</a>
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
||||
|
||||
|
||||
<para>
|
||||
See also <link linkend="language.escaping">Escaping Smarty Parsing</link>
|
||||
and <link linkend="tips.obfuscating.email">Obfuscating E-mail Addresses</link>.
|
||||
|
Reference in New Issue
Block a user