2004-04-13 15:43:47 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
|
|
|
|
<!-- $Revision$ -->
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready -->
|
2005-12-04 17:56:06 +00:00
|
|
|
|
|
2004-05-23 15:50:53 +00:00
|
|
|
|
<sect1 id="language.function.mailto">
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<title>{mailto}</title>
|
|
|
|
|
|
<para>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<varname>{mailto}</varname> cr<63>e un lien <literal>mailto:</literal>
|
|
|
|
|
|
automatiquement encod<6F> (optionnel).
|
2005-12-04 17:56:06 +00:00
|
|
|
|
L'encodage rend la t<>che de r<>cup<75>ration des e-mails sur votre
|
|
|
|
|
|
site plus difficiles aux "web spiders".
|
|
|
|
|
|
</para>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<note>
|
|
|
|
|
|
<title>Note technique</title>
|
|
|
|
|
|
<para>
|
|
|
|
|
|
Javascript n'est certainement pas la forme d'encodage la plus robuste.
|
|
|
|
|
|
Vous pouvez <20>galement utiliser un encodage hexad<61>cimal.
|
|
|
|
|
|
</para>
|
|
|
|
|
|
</note>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
<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>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<entry>L'adresse email</entry>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
|
|
|
<entry>text</entry>
|
|
|
|
|
|
<entry>cha<EFBFBD>ne de caract<63>res</entry>
|
|
|
|
|
|
<entry>Non</entry>
|
|
|
|
|
|
<entry><emphasis>n/a</emphasis></entry>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<entry>Le texte <20> afficher, par d<>faut l'adresse email</entry>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</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>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<entry>Newsgroup o<> poster le message.
|
2004-05-23 15:50:53 +00:00
|
|
|
|
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>
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<entry>Adresses o<> transmettre le message.
|
2004-05-23 15:50:53 +00:00
|
|
|
|
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,
|
2006-10-03 18:55:36 +00:00
|
|
|
|
par exemple une classe css.</entry>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</row>
|
|
|
|
|
|
</tbody>
|
|
|
|
|
|
</tgroup>
|
|
|
|
|
|
</informaltable>
|
|
|
|
|
|
<example>
|
2006-03-22 17:30:04 +00:00
|
|
|
|
<title>Exemple avec {mailto}</title>
|
2005-05-11 09:47:36 +00:00
|
|
|
|
<programlisting>
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<![CDATA[
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com"}
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<a href="mailto:moi@example.com" >moi@example.com</a>
|
|
|
|
|
|
|
2006-03-22 17:30:04 +00:00
|
|
|
|
{mailto address="moi@example.com" text="envoie moi un email"}
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<a href="mailto:moi@example.com" >envoie-moi un email</a>
|
|
|
|
|
|
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com" encode="javascript"}
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<script type="text/javascript" language="javascript">
|
|
|
|
|
|
eval(unescape('%64%6f% ... coup<75> ...%61%3e%27%29%3b'))
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com" encode="hex"}
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<a href="mailto:%6d%65.. coup<75>..3%6f%6d">m&..coup<75>...#x6f;m</a>
|
|
|
|
|
|
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com" subject="Hello to you!"}
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<a href="mailto:moi@example.com?subject=Hello%20to%20you%21" >me@example.com</a>
|
|
|
|
|
|
|
|
|
|
|
|
{mailto address="moi@example.com" cc="toi@example.com,eux@example.com"}
|
|
|
|
|
|
<a href="mailto:moi@example.com?cc=toi@example.com%2Ceux@example.com" >moi@example.com</a>
|
|
|
|
|
|
|
2004-12-22 19:59:35 +00:00
|
|
|
|
{mailto address="moi@example.com" extra='class="email"'}
|
2005-05-11 09:47:36 +00:00
|
|
|
|
<a href="mailto:moi@example.com" class="email">moi@example.com</a>
|
2005-12-04 17:56:06 +00:00
|
|
|
|
|
|
|
|
|
|
{mailto address="moi@example.com" encode="javascript_charcode"}
|
2005-05-11 09:47:36 +00:00
|
|
|
|
<script type="text/javascript" language="javascript">
|
2006-03-22 17:30:04 +00:00
|
|
|
|
<!--
|
|
|
|
|
|
{document.write(String.fromCharCode(60,97, ... coup<75> ....60,47,97,62))}
|
|
|
|
|
|
//-->
|
|
|
|
|
|
</script>
|
2005-05-11 09:47:36 +00:00
|
|
|
|
]]>
|
2005-12-04 17:56:06 +00:00
|
|
|
|
</programlisting>
|
2004-05-23 15:50:53 +00:00
|
|
|
|
</example>
|
2005-12-04 17:56:06 +00:00
|
|
|
|
<para>
|
|
|
|
|
|
Voir aussi
|
2006-10-03 18:55:36 +00:00
|
|
|
|
<link linkend="language.modifier.escape"><varname>escape</varname></link>,
|
|
|
|
|
|
<link linkend="language.function.textformat"><varname>{textformat}</varname></link>
|
|
|
|
|
|
et <link linkend="tips.obfuscating.email">le camouflage des adresses E-mail</link>.
|
2005-12-04 17:56:06 +00:00
|
|
|
|
</para>
|
2004-04-13 15:43:47 +00:00
|
|
|
|
</sect1>
|
2005-12-04 17:56:06 +00:00
|
|
|
|
|
2004-04-13 15:43:47 +00:00
|
|
|
|
<!-- 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
|
2005-12-04 17:56:06 +00:00
|
|
|
|
-->
|