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