mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
undocumented mail
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
<entry>1</entry>
|
||||
<entry>string</entry>
|
||||
<entry>No</entry>
|
||||
<entry><literal>html</literal>,<literal>htmlall</literal>,<literal>url</literal>,<literal>urlpathinfo</literal>,<literal>quotes</literal>,<literal>hex</literal>,<literal>hexentity</literal>,<literal>javascript</literal></entry>
|
||||
<entry><literal>html</literal>,<literal>htmlall</literal>,<literal>url</literal>,<literal>urlpathinfo</literal>,<literal>quotes</literal>,<literal>hex</literal>,<literal>hexentity</literal>,<literal>javascript</literal>,<literal>mail</literal></entry>
|
||||
<entry><literal>html</literal></entry>
|
||||
<entry>This is the escape format to use.</entry>
|
||||
</row>
|
||||
@@ -58,7 +58,7 @@
|
||||
$smarty->assign('articleTitle',
|
||||
"'Stiff Opposition Expected to Casketless Funeral Plan'"
|
||||
);
|
||||
|
||||
$smarty->assign('EmailAddress','smarty@example.com');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -74,6 +74,7 @@ $smarty->assign('articleTitle',
|
||||
{$articleTitle|escape:"url"}
|
||||
{$articleTitle|escape:"quotes"}
|
||||
<a href="mailto:{$EmailAddress|escape:"hex"}">{$EmailAddress|escape:"hexentity"}</a>
|
||||
{$EmailAddress|escape:'mail'}
|
||||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
@@ -88,6 +89,7 @@ $smarty->assign('articleTitle',
|
||||
%27Stiff+Opposition+Expected+to+Casketless+Funeral+Plan%27
|
||||
\'Stiff Opposition Expected to Casketless Funeral Plan\'
|
||||
<a href="mailto:%62%6f%..snip..%65%74">bob..snip..et</a>
|
||||
smarty [AT] example [DOT] com
|
||||
]]>
|
||||
</screen>
|
||||
<para>Remember that native PHP functions can be used as modifiers so this will work</para>
|
||||
|
Reference in New Issue
Block a user