mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-06 15:21:37 +01:00
156 lines
6.5 KiB
XML
156 lines
6.5 KiB
XML
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|||
|
|
<!-- $Revision$ -->
|
|||
|
|
<sect1 id="language.function.mailto">
|
|||
|
|
<title>mailto</title>
|
|||
|
|
<informaltable frame="all">
|
|||
|
|
<tgroup cols="5">
|
|||
|
|
<colspec colname="param" align="center" />
|
|||
|
|
<colspec colname="type" align="center" />
|
|||
|
|
<colspec colname="required" align="center" />
|
|||
|
|
<colspec colname="default" align="center" />
|
|||
|
|
<colspec colname="desc" />
|
|||
|
|
<thead>
|
|||
|
|
<row>
|
|||
|
|
<entry>Nombre del Atributo</entry>
|
|||
|
|
<entry>Tipo</entry>
|
|||
|
|
<entry>Requerido</entry>
|
|||
|
|
<entry>Default</entry>
|
|||
|
|
<entry>Descripci<EFBFBD>n</entry>
|
|||
|
|
</row>
|
|||
|
|
</thead>
|
|||
|
|
<tbody>
|
|||
|
|
<row>
|
|||
|
|
<entry>address</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>Yes</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>La direcci<63>n de correo electronico(e-mail)</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>text</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>El texto para mostrar, el default es la
|
|||
|
|
direcci<63>n de correo (e-mail)</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>encode</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>none</emphasis></entry>
|
|||
|
|
<entry>Como codificar el e-mail. Puede ser none, hex o javascript.
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>cc</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry> La direcci<63>n de correo(e-mail) para mandar una
|
|||
|
|
copia el carbon(cc). Separados por una coma.
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>bcc</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>Direcci<EFBFBD>n de correo electronico(e-mail) para mandar
|
|||
|
|
una copia al carbon ofuscada(bcc). Separando las direcciones por comas.
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>subject</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>Asunto del correo electronico(e-mail).</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>newsgroups</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>newsgroup para enviar. separando las direcciones por comas.
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>followupto</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry>Direcciones para acompa<70>ar. Separe las direcciones con comas.
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
<row>
|
|||
|
|
<entry>extra</entry>
|
|||
|
|
<entry>string</entry>
|
|||
|
|
<entry>No</entry>
|
|||
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|||
|
|
<entry> Cualquier otra informaci<63>n que usted quiera pasar
|
|||
|
|
por el link, tal como plantillas de estilo
|
|||
|
|
</entry>
|
|||
|
|
</row>
|
|||
|
|
</tbody>
|
|||
|
|
</tgroup>
|
|||
|
|
</informaltable>
|
|||
|
|
<para>
|
|||
|
|
mailto automatiza el proceso de creaci<63>n de links de correo
|
|||
|
|
electronico(e-mail) y opcionalmente los codifica.
|
|||
|
|
Codificar el correo electronico(e-mail) hace mas dif<69>cil que
|
|||
|
|
las web spiders tomen las direciones de nuestro sitio.
|
|||
|
|
</para>
|
|||
|
|
<note>
|
|||
|
|
<title>Nota T<>cnica</title>
|
|||
|
|
<para>
|
|||
|
|
javascript es probablemente el codificador mas utilizado, aunque
|
|||
|
|
usted puede utilizar tambi<62>n codificaci<63>n hexadecimal.
|
|||
|
|
</para>
|
|||
|
|
</note>
|
|||
|
|
<example>
|
|||
|
|
<title>mailto</title>
|
|||
|
|
<programlisting>
|
|||
|
|
{mailto address="me@domain.com"}
|
|||
|
|
{mailto address="me@domain.com" text="send me some mail"}
|
|||
|
|
{mailto address="me@domain.com" encode="javascript"}
|
|||
|
|
{mailto address="me@domain.com" encode="hex"}
|
|||
|
|
{mailto address="me@domain.com" subject="Hello to you!"}
|
|||
|
|
{mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
|
|||
|
|
{mailto address="me@domain.com" extra='class="email"'}
|
|||
|
|
|
|||
|
|
SALIDA:
|
|||
|
|
|
|||
|
|
<a href="mailto:me@domain.com" >me@domain.com</a>
|
|||
|
|
<a href="mailto:me@domain.com" >send me some mail</a>
|
|||
|
|
<script type="text/javascript" language="javascript">eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%6
|
|||
|
|
9%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%6d%65%40%64%6f%6d%
|
|||
|
|
61%69%6e%2e%63%6f%6d%22%20%3e%6d%65%40%64%6f%6d%61%69%6e%2e%63%6f%6d%3c%2f%61%3e
|
|||
|
|
%27%29%3b'))</script>
|
|||
|
|
<a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d" >me@domain.com</a>
|
|||
|
|
<a href="mailto:me@domain.com?subject=Hello%20to%20you%21" >me@domain.com</a>
|
|||
|
|
<a href="mailto:me@domain.com?cc=you@domain.com%2Cthey@domain.com" >me@domain.com</a>
|
|||
|
|
<a href="mailto:me@domain.com" class="email">me@domain.com</a></programlisting>
|
|||
|
|
</example>
|
|||
|
|
</sect1>
|
|||
|
|
<!-- Keep this comment at the end of the file
|
|||
|
|
Local variables:
|
|||
|
|
mode: sgml
|
|||
|
|
sgml-omittag:t
|
|||
|
|
sgml-shorttag:t
|
|||
|
|
sgml-minimize-attributes:nil
|
|||
|
|
sgml-always-quote-attributes:t
|
|||
|
|
sgml-indent-step:1
|
|||
|
|
sgml-indent-data:t
|
|||
|
|
indent-tabs-mode:nil
|
|||
|
|
sgml-parent-document:nil
|
|||
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|||
|
|
sgml-exposed-tags:nil
|
|||
|
|
sgml-local-catalogs:nil
|
|||
|
|
sgml-local-ecat-files:nil
|
|||
|
|
End:
|
|||
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|||
|
|
vim: et tw=78 syn=sgml
|
|||
|
|
vi: ts=1 sw=1
|
|||
|
|
-->
|