2004-04-13 15:43:47 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
|
<!-- $Revision$ -->
|
2005-05-11 09:47:36 +00:00
|
|
|
|
<!-- EN-Revision: 1.4 Maintainer: gerald Status: ready -->
|
2004-05-23 15:50:53 +00:00
|
|
|
|
<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>Nom attribut</entry>
|
|
|
|
|
|
<entry>Type</entry>
|
|
|
|
|
|
<entry>Requis</entry>
|
2005-05-09 16:45:23 +00:00
|
|
|
|
<entry>D<EFBFBD>faut</entry>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
<entry>Description</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
</thead>
|
|
|
|
|
|
<tbody>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>address</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Oui</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>l'adresse email</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>text</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>le texte <20> afficher, par d<>faut l'adresse email</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>encode</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>none</emphasis></entry>
|
|
|
|
|
|
<entry>Comment encoder l'adresse email.
|
2005-05-09 16:45:23 +00:00
|
|
|
|
<literal>none</literal>, <literal>hex</literal>, <literal>javascript</literal>
|
|
|
|
|
|
et <literal>javascript_charcode</literal> sont des valeurs correctes.</entry>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>cc</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>Les adresses email en copie (Cc).
|
|
|
|
|
|
S<>parez les entr<74>es par une virgule.</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>bcc</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>Les adresses email en copie cach<63>es (Bcc).
|
|
|
|
|
|
S<>parez les entr<74>es par une virgule.</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>subject</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>Sujet de l'email.</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>newsgroups</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>newsgroup ou poster le message.
|
|
|
|
|
|
S<>parez les entr<74>es par une virgule.</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>followupto</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>Adresses ou transmettre le message.
|
|
|
|
|
|
S<>parez les entr<74>es par une virgule.
|
|
|
|
|
|
</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>extra</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
|
|
|
|
|
<entry>Toute information que vous souhaitez passer au lien,
|
|
|
|
|
|
comme par exemple une classe css.</entry>
|
|
|
|
|
|
</row>
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</tgroup>
|
|
|
|
|
|
</informaltable>
|
|
|
|
|
|
<para>
|
|
|
|
|
|
mailto cr<63>e un lien mailto automatiquement encod<6F> (optionnel).
|
|
|
|
|
|
L'encodage rend la t<>che de r<>cup<75>ration des e-mails sur votre
|
|
|
|
|
|
site plus difficiles aux "web spiders".
|
|
|
|
|
|
</para>
|
|
|
|
|
|
<note>
|
|
|
|
|
|
<title>Note technique</title>
|
|
|
|
|
|
<para>
|
2005-05-11 09:47:36 +00:00
|
|
|
|
Javascript n'est certainement pas la forme d'encodage la plus robuste.
|
2004-05-23 15:50:53 +00:00
|
|
|
|
Vous pouvez <20>galement utiliser un encodage hexad<61>cimal.
|
|
|
|
|
|
</para>
|
|
|
|
|
|
</note>
|
|
|
|
|
|
<example>
|
|
|
|
|
|
<title>mailto</title>
|
2005-05-11 09:47:36 +00:00
|
|
|
|
<programlisting>
|
|
|
|
|
|
<![CDATA[
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com"}
|
|
|
|
|
|
{mailto address="moi@example.com" text="send me some mail"}
|
|
|
|
|
|
{mailto address="moi@example.com" encode="javascript"}
|
|
|
|
|
|
{mailto address="moi@example.com" encode="hex"}
|
|
|
|
|
|
{mailto address="moi@example.com" subject="Hello to you!"}
|
|
|
|
|
|
{mailto address="moi@example.com" cc="you@domain.com,they@domain.com"}
|
|
|
|
|
|
{mailto address="moi@example.com" extra='class="email"'}
|
2005-05-11 09:47:36 +00:00
|
|
|
|
{mailto address="moi@example.com" encode="javascript_charcode"}
|
|
|
|
|
|
]]>
|
|
|
|
|
|
</programlisting>
|
|
|
|
|
|
<para>
|
|
|
|
|
|
L'exemple ci-dessus affichera :
|
|
|
|
|
|
</para>
|
|
|
|
|
|
<screen>
|
|
|
|
|
|
<![CDATA[
|
|
|
|
|
|
<a href="mailto:moi@example.com" >moi@example.com</a>
|
|
|
|
|
|
<a href="mailto:moi@example.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
|
2004-04-13 15:43:47 +00:00
|
|
|
|
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
|
2005-05-11 09:47:36 +00:00
|
|
|
|
%27%29%3b'))</script>
|
|
|
|
|
|
<a href="mailto:%6d%65@%64%6f%6d%61%69%6e.%63%6f%6d" >me@d&
|
|
|
|
|
|
#x6f;main.com</a>
|
|
|
|
|
|
<a href="mailto:moi@example.com?subject=Hello%20to%20you%21" >moi@example.com</a>
|
|
|
|
|
|
<a href="mailto:moi@example.com?cc=you@example.com%2Cthey@example.com" >moi@example.com</a>
|
|
|
|
|
|
<a href="mailto:moi@example.com" class="email">moi@example.com</a>
|
|
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
|
|
<!--
|
2005-05-09 16:45:23 +00:00
|
|
|
|
{document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,109,101,64,101,120,97,109,112,108,101,46,99,111,109,34,32,62,109,101,64,101,120,97,109,112,108,101,46,99,111,109,60,47,97,62))}
|
2005-05-11 09:47:36 +00:00
|
|
|
|
//-->
|
|
|
|
|
|
</script>
|
|
|
|
|
|
]]>
|
|
|
|
|
|
</screen>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</example>
|
2004-04-13 15:43:47 +00:00
|
|
|
|
</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
|
2004-05-23 15:50:53 +00:00
|
|
|
|
-->
|