cvs: peardoc /fr/package/html/html-quickform/html-quickform-hierselect html-quickform-hierselect.xml setoptions.xml
| From: | Christophe Gesché | Date: | Fri, 13 Jun 2008 17:57:18 +0000 |
| Subject: | cvs: peardoc /fr/package/html/html-quickform/html-quickform-hierselect html-quickform-hierselect.xml setoptions.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10865@lists.php.net to get a copy of this message | ||
moosh Fri Jun 13 17:57:18 2008 UTC
Modified files:
/peardoc/fr/package/html/html-quickform/html-quickform-hierselect
html-quickform-hierselect.xml
setoptions.xml
Log:
already sync, en-revision not set
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml?r1=1.2&r2=1.3&diff_format=u
Index:
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml
diff -u
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml:1.2
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml:1.3
---
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml:1.2 Sun
Dec 2 04:18:11 2007
+++
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/html-quickform-hierselect.xml Fri
Jun 13 17:57:18 2008
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
+<!-- $Id: html-quickform-hierselect.xml,v 1.3 2008/06/13 17:57:18 moosh Exp $ -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready -->
<refentry
id="package.html.html-quickform.html-quickform-hierselect.html-quickform-hierselect">
<refnamediv>
@@ -41,12 +42,18 @@
</para>
<note>
<simpara>
- Si vous affichez plusieurs formulaires sur une même page, alors
- les SELECT hiérarchisés dans ces formulaires doivent avoir un
- nom unique. Dans les autres cas, les valeurs pour le dernier
+ Si vous affichez plusieurs formulaires sur une même page,
+ alors les SELECT hiérarchisés dans ces formulaires doivent avoir un
+ nom unique.
+
+ Dans les autres cas, les valeurs pour le dernier
SELECT hiérarchisé avec le même nom écrasera les valeurs du
- précédent. Il est très difficile de corriger ce comportement avec
- l'architecture actuel de QuickForm. Voir
+ précédent.
+
+ Il est très difficile de corriger ce comportement avec
+ l'architecture actuel de QuickForm.
+
+ Voir
<ulink url="&url.pear.bugs;5718">Request #5718</ulink>.
</simpara>
</note>
http://cvs.php.net/viewvc.cgi/peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml
diff -u peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml:1.2
peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml:1.3
--- peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml:1.2 Sun Dec 2
04:18:11 2007
+++ peardoc/fr/package/html/html-quickform/html-quickform-hierselect/setoptions.xml Fri Jun 13
17:57:18 2008
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
-<!-- $Revision: 1.2 $ -->
-<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
+<!-- $Id: setoptions.xml,v 1.3 2008/06/13 17:57:18 moosh Exp $ -->
+<!-- $Revision: 1.3 $ -->
+<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready -->
<refentry id="package.html.html-quickform.html-quickform-hierselect.setoptions">
<refnamediv>
@@ -23,8 +24,10 @@
<refsect1
id="package.html.html-quickform.html-quickform-hierselect.setoptions.desc">
&title.desc;
<para>
- Définit les options pour les éléments SELECT. Notez que le nombre de
- SELECT qui sera affiché dépend du nombre d'éléments dans le tableau passé
+ Définit les options pour les éléments SELECT.
+
+ Notez que le nombre de SELECT qui sera affiché
+ dépend du nombre d'éléments dans le tableau passé
à cette méthode.
</para>
</refsect1>
@@ -82,8 +85,12 @@
<note>
<simpara>
Les options pour les sous éléments doivent avoir des clés pour toutes les options
- de l'élément précédent. Avoir un SELECT sans option est invalide en HTML et
- rompera le Javascript. Voir aussi
+ de l'élément précédent.
+
+ Avoir un SELECT sans option est invalide en HTML
+ et rompera le Javascript.
+
+ Voir aussi
<ulink url="&url.pear.bugs;5218">Bug #5218</ulink>.
</simpara>
</note>
@@ -116,35 +123,35 @@
$select1 = $select2 = $select3 = array();
$select1[0] = 'Pop';
-$select1[1] = 'Classical';
-$select1[2] = 'Funeral doom';
+$select1[1] = 'Classique';
+$select1[2] = 'Funéraire';
// second select
-$select2[0][0] = '--- Artist ---';
+$select2[0][0] = '--- Artistes ---';
$select2[0][1] = 'Red Hot Chil Peppers';
$select2[0][2] = 'The Pixies';
-$select2[1][0] = '--- Artist ---';
+$select2[1][0] = '--- Artistes ---';
$select2[1][1] = 'Wagner';
$select2[1][2] = 'Strauss';
-$select2[2][0] = '--- Artist ---';
+$select2[2][0] = '--- Artistes ---';
$select2[2][1] = 'Pantheist';
$select2[2][2] = 'Skepticism';
-// Create a third select with prices for the cds
-$select3[0][0][0] = '--- Choose the artist ---';
-$select3[0][1][0] = '15.00$';
-$select3[0][2][1] = '17.00$';
-$select3[1][0][0] = '--- Choose the artist ---';
-$select3[1][1][0] = '15.00$';
-$select3[1][2][1] = '17.00$';
-$select3[2][0][0] = '--- Choose the artist ---';
-$select3[2][1][0] = '15.00$';
-$select3[2][2][1] = '17.00$';
+// Création d'un troisième select avec les prix des cds
+$select3[0][0][0] = '--- Choisissez un artiste ---';
+$select3[0][1][0] = '15.00Eur';
+$select3[0][2][1] = '17.00Eur';
+$select3[1][0][0] = '--- Choisissez the artiste ---';
+$select3[1][1][0] = '15.00Eur';
+$select3[1][2][1] = '17.00Eur';
+$select3[2][0][0] = '--- Choisissez the artiste ---';
+$select3[2][1][0] = '15.00Eur';
+$select3[2][2][1] = '17.00Eur';
// Création de l'élément
-$sel =& $form->addElement('hierselect', 'cds', 'Choose CD:');
+$sel =& $form->addElement('hierselect', 'cds', 'Choisissez un
CD:');
// Et ajout des options de sélection
$sel->setOptions(array($select1, $select2, $select3));