sync with EN

This commit is contained in:
yannick
2006-03-22 17:30:04 +00:00
parent e5292c7523
commit 8d1de47cc0
22 changed files with 286 additions and 140 deletions

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision$ -->
<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready -->
<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready -->
<sect1 id="language.function.html.checkboxes">
<title>{html_checkboxes}</title>
@@ -10,7 +10,7 @@
qui cr<63>e un groupe de cases <20> cocher avec les donn<6E>es fournies. Elle prend
en compte la liste des <20>l<EFBFBD>ments s<>lectionn<6E>s par d<>faut. Les attributs requis
sont values et output, <20> moins que vous n'utilisiez options <20> la place.
La sortie g<>n<EFBFBD>r<EFBFBD>e est compatible XHTML.
La sortie g<>n<EFBFBD>r<EFBFBD>e est conforme au XHTML.
</para>
<informaltable frame="all">
<tgroup cols="5">
@@ -84,6 +84,13 @@
<entry><emphasis>true</emphasis></entry>
<entry>ajoute la balise &lt;label&gt;- <20> la sortie</entry>
</row>
<row>
<entry>assign</entry>
<entry>cha<EFBFBD>ne de caract<63>res</entry>
<entry>Non</entry>
<entry><emphasis>empty</emphasis></entry>
<entry>assigne la sortie <20> un tableau dont chaque checkbox est un <20>l<EFBFBD>ment.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
@@ -114,8 +121,8 @@ $smarty->assign('customer_id', 1001);
</para>
<programlisting>
<![CDATA[
{html_checkboxes name="id" values=$cust_ids output=$cust_names
selected=$customer_id separator="<br />"}
{html_checkboxes name='id' values=$cust_ids output=$cust_names
selected=$customer_id separator='<br />'}
]]>
</programlisting>
<para>
@@ -141,7 +148,8 @@ $smarty->assign('customer_id', 1001);
</para>
<programlisting>
<![CDATA[
{html_checkboxes name="id" options=$cust_checkboxes selected=$customer_id separator="<br />"}
{html_checkboxes name='id' options=$cust_checkboxes
selected=$customer_id separator='<br />'}
]]>
</programlisting>
<para>
@@ -165,10 +173,10 @@ $smarty->assign('customer_id', 1001);
<![CDATA[
<?php
$sql = 'select type_id, types from types order by type';
$smarty->assign('types',$db->getAssoc($sql));
$sql = 'select type_id, types from contact_types order by type';
$smarty->assign('contact_types',$db->getAssoc($sql));
$sql = 'select * from contacts where contact_id=12';
$sql = 'select contact_id, contact_type, contact from contacts where contact_id=12';
$smarty->assign('contact',$db->getRow($sql));
?>