cvs: peardoc /en/package/html html-quickform-advmultiselect.xml /en/package/html/html-quickform-advmultiselect faq.xml firstform.xml whatsnew.xml /en/package/html/html-quickform-advmultiselect/advanced arrange.xml buttons.xml headers.xml livecounter.xml /en/package/html/html-quickform-advmultiselect/appendix examples-custom1.xml examples-custom5.xml examples-custom7.xml examples-multiple1.xml examples-multiple2.xml /en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect setbuttonattributes.xml setelementtemplate.xml setpersistantoptions.xml

[email protected] ("Laurent Laville")
Newsgroups php.pear.doc
Message-ID <cvsfarell1234199433@cvsserver>
farell		Mon Feb  9 17:10:33 2009 UTC

  Modified files:              
    /peardoc/en/package/html	html-quickform-advmultiselect.xml 
    /peardoc/en/package/html/html-quickform-advmultiselect/advanced	
                                                                   	arrange.xml 
                                                                   	buttons.xml 
                                                                   	headers.xml 
                                                                   	livecounter.xml 
    /peardoc/en/package/html/html-quickform-advmultiselect/appendix	
                                                                   	examples-custom1.xml 
                                                                   	examples-custom5.xml 
                                                                   	examples-custom7.xml 
                                                                   	examples-multiple1.xml 
                                                                   	examples-multiple2.xml 
    /peardoc/en/package/html/html-quickform-advmultiselect	faq.xml 
                                                          	firstform.xml 
                                                          	whatsnew.xml 
    /peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect	
                                                                                        	setbuttonattributes.xml 
                                                                                        	setelementtemplate.xml 
                                                                                        	setpersistantoptions.xml 
  Log:
  some cosmetic changes on english version before commit the french translation of QFAMS manual
farell-20090209171033.txt (text/plain, 34.2 KB)
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect.xml?r1=1.23&r2=1.24&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect.xml:1.23 peardoc/en/package/html/html-quickform-advmultiselect.xml:1.24
--- peardoc/en/package/html/html-quickform-advmultiselect.xml:1.23	Fri Feb  6 17:46:23 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect.xml	Mon Feb  9 17:10:32 2009
@@ -38,9 +38,6 @@
       <simpara>allows to change item size shown of each multiple select box.</simpara>
      </listitem>
      <listitem>
-      <simpara>JavaScript functions can be renamed to avoid conflict with others scripts on the same page.</simpara>
-     </listitem>
-     <listitem>
       <simpara>ability to manage one single list with checkboxes to solve problem if javascript is unavailable.</simpara>
      </listitem>
     </itemizedlist>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml:1.1	Fri Jan 23 18:22:37 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/advanced/arrange.xml	Mon Feb  9 17:10:32 2009
@@ -32,17 +32,22 @@
    parameter of the
    <link linkend="package.html.html-quickform-advmultiselect.html-quickform-advmultiselect.html-quickform-advmultiselect">
     HTML_QuickForm_advmultiselect class constructor
-   </link> with the PHP <constant>SORT_ASC</constant> constant.
+   </link>
+   with the PHP <constant>SORT_ASC</constant> constant.
   </para>
   <para>
    To get both list sort in reverse order, you have to set the <parameter>$sort</parameter>
    parameter of the
    <link linkend="package.html.html-quickform-advmultiselect.html-quickform-advmultiselect.html-quickform-advmultiselect">
     HTML_QuickForm_advmultiselect class constructor
-   </link> with the PHP <constant>SORT_DESC</constant> constant.
+   </link>
+   with the PHP <constant>SORT_DESC</constant> constant.
   </para>
   <para>
-   A full example is given in appendices. See the sort usage.
+   A full example is given in appendices. See the
+   <link linkend="package.html.html-quickform-advmultiselect.appendix.examples-custom5">
+    sort usage
+   </link>
   </para>
  </refsection>
 
@@ -59,7 +64,10 @@
    </note>
   </para>
   <para>
-   A full example is given in appendices. See the sort usage.
+   A full example is given in appendices. See the
+   <link linkend="package.html.html-quickform-advmultiselect.appendix.examples-custom5">
+    sort usage
+   </link>
   </para>
  </refsection>
 
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml:1.1	Fri Jan 23 18:22:37 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/advanced/buttons.xml	Mon Feb  9 17:10:32 2009
@@ -49,13 +49,20 @@
         <emphasis>moveup</emphasis>, <emphasis>movedown</emphasis>,
         <emphasis>all</emphasis>, <emphasis>none</emphasis> and <emphasis>toggle</emphasis>.
        </para>
+       <para>
+        Since version 1.5.0, you may add to buttons list :
+        <emphasis>movetop</emphasis> and <emphasis>movebottom</emphasis>.
+       </para>
       </listitem>
      </itemizedlist>
     </para>
    </note>
   </para>
   <para>
-   A full example is given in appendices. See the advanced selection.
+   A full example is given in appendices. See the
+   <link linkend="package.html.html-quickform-advmultiselect.appendix.examples-custom7">
+    advanced selection
+   </link>
   </para>
   <para>
    With <emphasis role="bold">sort</emphasis> buttons, you have ability to reorder your selection easily.
@@ -89,15 +96,16 @@
 ?>
     ]]>
    </programlisting>
-   Of course, all images are supported: PNG, GIF, etc ...
+   Of course, all images are supported: PNG, GIF ...
    <caution>
     <para>
      If the image file does not exist, you will get the internal text value as output without nothing
      else.
     </para>
     <para>
-     Remember that defaults are: <quote><literal> &gt;&gt; </literal></quote> for add button,
-     and <quote><literal> &lt;&lt; </literal></quote> for remove button.
+     Remember that defaults are:
+     <quote><literal> &gt;&gt; </literal></quote> for add button, and
+     <quote><literal> &lt;&lt; </literal></quote> for remove button.
     </para>
    </caution>
   </para>
@@ -106,12 +114,14 @@
  <refsection xml:id="package.html.html-quickform-advmultiselect.advanced.buttons-attributes">
   <info><title>Attributes</title></info>
   <para>
-   In version 0.4.0, there were only the basic <emphasis>add</emphasis> and
-   <emphasis>remove</emphasis> buttons.
+   In version 0.4.0, there were only the basic
+   <emphasis>add</emphasis> and <emphasis>remove</emphasis> buttons.
    In version 0.5.0, two new buttons were added:
    <emphasis>moveup</emphasis> and <emphasis>movedown</emphasis>.
    In version 1.1.0, three new buttons were added:
    <emphasis>all</emphasis>, <emphasis>none</emphasis>, and <emphasis>toggle</emphasis>.
+   In version 1.5.0, two new buttons were added:
+   <emphasis>movetop</emphasis> and <emphasis>movebottom</emphasis>.
    <caution>
     <para>
      Any other button identifier than
@@ -121,7 +131,9 @@
      <emphasis role="bold">none</emphasis>,
      <emphasis role="bold">toggle</emphasis>,
      <emphasis role="bold">moveup</emphasis>,
-     <emphasis role="bold">movedown</emphasis>
+     <emphasis role="bold">movedown</emphasis>,
+     <emphasis role="bold">movetop</emphasis>,
+     <emphasis role="bold">movebottom</emphasis>
      will throws a PEAR_Error.
     </para>
    </caution>
@@ -135,8 +147,8 @@
      </term>
      <listitem>
       <para>
-       The form input button name. Default are: 'add', or 'remove',
-       or 'all, or 'none', or 'toggle', or 'up', or 'down'.
+       The form input button name. Default are:
+       'add', or 'remove', or 'all, or 'none', or 'toggle', or 'up', or 'down', or 'top', or 'bottom'.
        <warning>
         <simpara>
          Default values of the name attribute are not equivalent to button identifiers.
@@ -153,8 +165,10 @@
      </term>
      <listitem>
       <para>
-       The form input button text. Default are ' &gt;&gt; ', or ' &lt;&lt; ',
-       or ' Select All ', or ' Select None ', or ' Toggle Selection ', or ' Up ', or ' Down '.
+       The form input button text. Default are :
+       ' &gt;&gt; ', or ' &lt;&lt; ',
+       or ' Select All ', or ' Select None ', or ' Toggle Selection ',
+       or ' Up ', or ' Down ', or ' Top ', or ' Bottom '.
       </para>
      </listitem>
     </varlistentry>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml:1.1	Fri Jan 23 18:22:37 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/advanced/headers.xml	Mon Feb  9 17:10:32 2009
@@ -13,13 +13,12 @@
    by these renderers are different in naming convention. Nevermind, HTML_QuickForm_advmultiselect used
    only one standard coding that is equivalent to the QuickForm default renderer.
   </simpara>
-
   <para>
    As <emphasis role="bold">{label_2}</emphasis> is the placeholder for
    the second label (unselected list), <emphasis role="bold">{label_3}</emphasis>
    is the placeholder for the third label (selected list), in the hash setting. See
    <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pear.manual;en/package.html.html-quickform.html-quickform-element.setlabel.php">
-    HTML_Quickform::setLabel()
+    HTML_Quickform::setLabel
    </link> method.
    <important>
     <simpara>
@@ -98,7 +97,7 @@
      </term>
      <listitem>
       <para>
-       In this example, its value will be <literal>Cars:</literal>.
+       In this example, its value will be <literal>Cars:</literal>
       </para>
      </listitem>
     </varlistentry>
@@ -199,7 +198,7 @@
      </term>
      <listitem>
       <para>
-       In this example, its value is still <literal>Cars:</literal>.
+       In this example, its value is still <literal>Cars:</literal>
       </para>
      </listitem>
     </varlistentry>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml:1.1	Fri Jan 23 18:22:37 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/advanced/livecounter.xml	Mon Feb  9 17:10:32 2009
@@ -21,7 +21,9 @@
   </para>
   <para>
    A full example is given in appendices. See
-   live counter combines with multiple elements.
+   <link linkend="package.html.html-quickform-advmultiselect.appendix.examples-multiple2">
+    live counter combines with multiple elements
+   </link>
   </para>
  </refsection>
 
@@ -81,30 +83,37 @@
       ]]>
      </programlisting>
     </para>
+
     <para>
      Counters identifiers (attribut ID) used by DOM API are identified by string :
      advmultiselect element name concat with "_selected" or "_unselected" suffix (depending of lists).
     </para>
+
     <para>
      Result for example (previous code) :
      <literal>cars_selected</literal> or <literal>cars_unselected</literal>
     </para>
+
     <para>
      advmultiselect element with single list (with checkboxes) are identified by string :
      "qfams_" prefix concat with advmultiselect element name
     </para>
+
     <para>
-     Result for example (previous code) : <literal>qfams_cars</literal>
+     Result for example (previous code) :
+     <literal>qfams_cars</literal>
     </para>
+
     <para>
      advmultiselect element with double list are identified with string :
      prefix "__" (two underscores) concat with advmultiselect element name for unselected list.
      While selection list (selected item) is identified with string :
      prefix "_" (one underscore) concat with advmultiselect element name.
     </para>
+
     <para>
      Result for example (previous code) :
-     <literal>__cars</literal> et <literal>_cars</literal>
+     <literal>__cars</literal> and <literal>_cars</literal>
     </para>
    </note>
   </para>
@@ -112,11 +121,12 @@
    <important>
     <para>
      advmultiselect elements with single list (with checkboxes) are identified by DOM API
-     with only <literal>{selected_count}</literal> et <literal>{selected_count_id}</literal>
+     with only <literal>{selected_count}</literal> and <literal>{selected_count_id}</literal>
      placeholders.
      No need to add <literal>{unselected_count}</literal> and
      <literal>{unselected_count_id}</literal> placeholders.
     </para>
+
     <para>
      See example in appendix
      Live counter combines with multiple elements,
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml:1.3 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml:1.4
--- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml:1.3	Thu Jan 29 21:18:44 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom1.xml	Mon Feb  9 17:10:32 2009
@@ -4,7 +4,9 @@
    <info><title>Extended usage</title></info>
    <para>
     <figure>
-     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom1-sscaption">Custom usage with a simple template</title>
+     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom1-sscaption">
+      Custom usage with a simple template
+     </title>
      <screenshot>
       <mediaobject>
        <alt>qfams_custom_1.php script result</alt>
@@ -19,19 +21,29 @@
     In this example, here are our goals :
     <itemizedlist>
      <listitem>
-      <simpara>change the buttons (add, remove) position. Move at bottom of lists.</simpara>
+      <simpara>
+       change the buttons (add, remove) position. Move at bottom of lists.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>center headers at top of lists.</simpara>
+      <simpara>
+       center headers at top of lists.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>set list item visible to 5. Default is 10.</simpara>
+      <simpara>
+       set list item visible to 5. Default is 10.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>enlarge both list width to 300 pixels. Default width is only 100 pixels.</simpara>
+      <simpara>
+       enlarge both list width to 300 pixels. Default width is only 100 pixels.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>change background colors element.</simpara>
+      <simpara>
+       change background colors element.
+      </simpara>
      </listitem>
     </itemizedlist>
    </para>
@@ -48,7 +60,7 @@
  * The template allows to add label as headers of dual select box
  * and moves the button to another location (below each select box).
  *
- * @version    $Id: examples-custom1.xml,v 1.3 2009/01/29 21:18:44 farell Exp $
+ * @version    $Id: examples-custom1.xml,v 1.4 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml:1.3 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml:1.4
--- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml:1.3	Thu Jan 29 21:17:15 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom5.xml	Mon Feb  9 17:10:32 2009
@@ -4,7 +4,9 @@
    <info><title>Sort usage</title></info>
    <para>
     <figure>
-     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom5-sscaption">Auto-arrange feature usage</title>
+     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom5-sscaption">
+      Auto-arrange feature usage
+     </title>
      <screenshot>
       <mediaobject>
        <alt>qfams_custom_5.php script result</alt>
@@ -19,10 +21,14 @@
     In this example, here are our goals :
     <itemizedlist>
      <listitem>
-      <simpara>add the user-end sort buttons (up, down).</simpara>
+      <simpara>
+       add the end-user sort buttons (up, down).
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>add the ability to sort lists in alphabetic order or reverse (by programming).</simpara>
+      <simpara>
+       add the ability to sort lists in alphabetic order or reverse (by programming).
+      </simpara>
      </listitem>
     </itemizedlist>
    </para>
@@ -36,7 +42,7 @@
  * Custom advMultiSelect HTML_QuickForm element
  * that allows to manage sort of select boxes.
  *
- * @version    $Id: examples-custom5.xml,v 1.3 2009/01/29 21:17:15 farell Exp $
+ * @version    $Id: examples-custom5.xml,v 1.4 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml:1.3 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml:1.4
--- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml:1.3	Thu Jan 29 21:14:29 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-custom7.xml	Mon Feb  9 17:10:32 2009
@@ -4,7 +4,9 @@
    <info><title>Advanced selection usage</title></info>
    <para>
     <figure>
-     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom7-sscaption">Advanced selection</title>
+     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-custom7-sscaption">
+      Advanced selection
+     </title>
      <screenshot>
       <mediaobject>
        <alt>qfams_custom_7.php script result</alt>
@@ -19,10 +21,14 @@
     In this example, here are our goals :
     <itemizedlist>
      <listitem>
-      <simpara>add buttons (all, none) to select / unselect all options in one stroke.</simpara>
+      <simpara>
+       add buttons (all, none) to select / unselect all options in one stroke.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>show two differents layout with checkboxes and dual selectboxes.</simpara>
+      <simpara>
+       show two differents layout with checkboxes and dual selectboxes.
+      </simpara>
      </listitem>
     </itemizedlist>
    </para>
@@ -36,7 +42,7 @@
  * Custom advMultiSelect HTML_QuickForm element
  * with extended buttons (select all, select none, toggle selection)
  *
- * @version    $Id: examples-custom7.xml,v 1.3 2009/01/29 21:14:29 farell Exp $
+ * @version    $Id: examples-custom7.xml,v 1.4 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml:1.3 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml:1.4
--- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml:1.3	Thu Jan 29 11:16:11 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple1.xml	Mon Feb  9 17:10:32 2009
@@ -4,7 +4,9 @@
    <info><title>Combines multiple elements</title></info>
    <para>
     <figure>
-     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-multiple1-sscaption">Multiple usage with two different layouts</title>
+     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-multiple1-sscaption">
+      Multiple usage with two different layouts
+     </title>
      <screenshot>
       <mediaobject>
        <alt>qfams_multiple_1.php script result</alt>
@@ -19,10 +21,14 @@
     In this example, here are our goals :
     <itemizedlist>
      <listitem>
-      <simpara>use two advmultiselect elements on the same page.</simpara>
+      <simpara>
+       use two advmultiselect elements on the same page.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>use two different layouts.</simpara>
+      <simpara>
+       use two different layouts.
+      </simpara>
      </listitem>
     </itemizedlist>
    </para>
@@ -36,7 +42,7 @@
  * Mixed advMultiSelect HTML_QuickForm elements.
  * Two widgets on the same page/form with one javascript code instance
  *
- * @version    $Id: examples-multiple1.xml,v 1.3 2009/01/29 11:16:11 farell Exp $
+ * @version    $Id: examples-multiple1.xml,v 1.4 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml?r1=1.4&r2=1.5&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml:1.4 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml:1.5
--- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml:1.4	Thu Jan 29 21:32:36 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml	Mon Feb  9 17:10:32 2009
@@ -4,7 +4,9 @@
    <info><title>Live counter combines with multiple elements</title></info>
    <para>
     <figure>
-     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-multiple2-sscaption">Live counter on two advmultiselect elements</title>
+     <title xml:id="package.html.html-quickform-advmultiselect.appendix.examples-multiple2-sscaption">
+      Live counter on two advmultiselect elements
+     </title>
      <screenshot>
       <mediaobject>
        <alt>qfams_multiple_2.php script result</alt>
@@ -19,13 +21,19 @@
     In this example, here are our goals :
     <itemizedlist>
      <listitem>
-      <simpara>use two advmultiselect elements on the same page.</simpara>
+      <simpara>
+       use two advmultiselect elements on the same page.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>show two differents layout with checkboxes and dual selectboxes.</simpara>
+      <simpara>
+       show two differents layout with checkboxes and dual selectboxes.
+      </simpara>
      </listitem>
      <listitem>
-      <simpara>show two differents display of live counters with single and dual select boxes.</simpara>
+      <simpara>
+       show two differents display of live counters with single and dual select boxes.
+      </simpara>
      </listitem>
     </itemizedlist>
    </para>
@@ -40,7 +48,7 @@
  * that can be display in one or two select box mode.
  * This example demonstrate the new feature of version 1.3.0 : Live Counter
  *
- * @version    $Id: examples-multiple2.xml,v 1.4 2009/01/29 21:32:36 farell Exp $
+ * @version    $Id: examples-multiple2.xml,v 1.5 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/faq.xml?r1=1.2&r2=1.3&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/faq.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/faq.xml:1.2 peardoc/en/package/html/html-quickform-advmultiselect/faq.xml:1.3
--- peardoc/en/package/html/html-quickform-advmultiselect/faq.xml:1.2	Thu Jan 22 16:42:08 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/faq.xml	Mon Feb  9 17:10:32 2009
@@ -218,7 +218,7 @@
      <para>
       You should have forgotten to add package ressource itself. This operation is mandatory
       for all external Quickform elements and not necessary for internal elements such as
-      "radio", "checkbox", "text", "button", ...
+      "radio", "checkbox", "text", "button" ...
      </para>
      <para>
       <programlisting role="php">
@@ -264,7 +264,7 @@
     </question>
     <answer>
      <para>
-      This problem comes when you set the selected list (see HTML_QuickForm::setDefaults() method)
+      This problem comes when you set the selected list (see HTML_QuickForm::setDefaults method)
       with a wrong data array.
      </para>
      <para>
@@ -302,10 +302,8 @@
       <programlisting role="php">
        <![CDATA[
 <?php
-
 $queryAll = 'SELECT userid, CONCAT(lastname, " ", firstname) AS useridentity '
           . 'FROM user WHERE gid = 1';
-
 ?>
        ]]>
       </programlisting>
@@ -325,12 +323,10 @@
       <programlisting role="php">
        <![CDATA[
 <?php
-
 // Once you have a valid DataBase object named $db ...
 
 $querySel = 'SELECT userid FROM user WHERE gid = 1 AND affect = 1';
 $affected_user =& $db->getCol($querySel);
-
 ?>
        ]]>
       </programlisting>
@@ -350,7 +346,7 @@
      </para>
      <para>
       Remains stuff is basic, create the QFAMS element, and load options (available and selected)
-      with the QF/select element <methodname>load()</methodname> method.
+      with the <methodname>load()</methodname> method.
       <programlisting role="php">
        <![CDATA[
 <?php
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml:1.1	Fri Jan 23 16:09:24 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/firstform.xml	Mon Feb  9 17:10:32 2009
@@ -40,7 +40,7 @@
  * The template allows to add label as headers of dual select box
  * and moves the button to another location (below each select box).
  *
- * @version    $Id: firstform.xml,v 1.1 2009/01/23 16:09:24 farell Exp $
+ * @version    $Id: firstform.xml,v 1.2 2009/02/09 17:10:32 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
@@ -186,7 +186,7 @@
       The first one is not the <quote>real</quote> element, it is just a heading
       to improve presentation.
       The second one is our advmultiselect element. Note that parameters for
-      <methodname>HTML_Quickform::addElement()</methodname> method have different meanings
+      <methodname>HTML_Quickform::addElement</methodname> method have different meanings
       for different elements. That is so because they are actually passed to
       these elements' constructors.
      </para>
@@ -311,7 +311,7 @@
       <note>
        <para>
         By given the <constant>false</constant> value as argument to the
-        <methodname>getElementJs()</methodname> method, we have choosen to build javascript code with
+        <methodname>getElementJs</methodname> method, we have choosen to build javascript code with
         its script tags. Default behavior is to get only raw code without surrounding script tags.
         May be usefull with template integration and existing js code.
        </para>
@@ -338,7 +338,7 @@
       This is a simple display example. In your scripts you'll usually want
       to store the values somewhere or do whatever else. The
       <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pear.manual;en/package.html.html-quickform.html-quickform.process.php">
-       HTML_Quickform::process()
+       HTML_Quickform::process
       </link> method may be of interest here.
      </para>
     </listitem>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml?r1=1.5&r2=1.6&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml:1.5 peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml:1.6
--- peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml:1.5	Sat Feb  7 12:06:48 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/whatsnew.xml	Mon Feb  9 17:10:32 2009
@@ -102,7 +102,7 @@
    </listitem>
    <listitem>
     <para>
-     Produces now XTML 1.0 Strict compliant output
+     Produces now XHTML 1.0 Strict compliant output
     </para>
    </listitem>
   </itemizedlist>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml:1.6 peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml:1.7
--- peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml:1.6	Sun Feb  1 15:31:12 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setbuttonattributes.xml	Mon Feb  9 17:10:32 2009
@@ -38,8 +38,9 @@
      </term>
      <listitem>
       <para>
-       The form input button name. Default are:
-       'add', or 'remove', or, 'all', or 'none', or 'toggle', or 'up', or 'down'.
+       The form input button name. Default are: 'add', or 'remove',
+       or 'all', or 'none', or 'toggle',
+       or 'up', or 'down', or 'top', or 'bottom'.
       </para>
      </listitem>
     </varlistentry>
@@ -52,7 +53,8 @@
      <listitem>
       <para>
        The form input button text. Default are ' &gt;&gt; ', or ' &lt;&lt; ',
-       or ' Select All ', or ' Select None ', or ' Toggle Selection ', or ' Up ', or ' Down '.
+       or ' Select All ', or ' Select None ', or ' Toggle Selection ',
+       or ' Up ', or ' Down ', or ' Top ', or ' Bottom '.
       </para>
      </listitem>
     </varlistentry>
@@ -109,7 +111,7 @@
       <para>
        Button identifier, either &apos;add&apos;, &apos;remove&apos;,
        &apos;all&apos;, &apos;none&apos;, &apos;toggle&apos;,
-       &apos;moveup&apos; or &apos;movedown&apos;
+       &apos;moveup&apos; &apos;movedown&apos; &apos;movetop&apos; or &apos;movebottom&apos;
       </para>
      </listitem>
     </varlistentry>
@@ -145,12 +147,12 @@
      </thead>
      <tbody>
       <row>
-       <entry>Argument 1 of advmultiselect::setButtonAttributes is not a string</entry>
+       <entry>Argument 1 of HTML_QuickForm_advmultiselect::setButtonAttributes is not a string</entry>
        <entry>Tried to give a button identifier of unknown type</entry>
        <entry>Check the $button argument data type</entry>
       </row>
       <row>
-       <entry>Argument 1 of advmultiselect::setButtonAttributes has unexpected value</entry>
+       <entry>Argument 1 of HTML_QuickForm_advmultiselect::setButtonAttributes has unexpected value</entry>
        <entry>Tried to give a button identifier of unknown value</entry>
        <entry>Check the $button argument data range</entry>
       </row>
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml?r1=1.6&r2=1.7&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml:1.6 peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml:1.7
--- peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml:1.6	Sun Feb  1 15:31:12 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setelementtemplate.xml	Mon Feb  9 17:10:32 2009
@@ -179,6 +179,30 @@
      </listitem>
     </varlistentry>
    </variablelist>
+   <variablelist>
+    <varlistentry>
+     <term>
+      <parameter>movetop</parameter>
+     </term>
+     <listitem>
+      <para>
+       The button to move one item of the selected list directly at the top of the list
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
+   <variablelist>
+    <varlistentry>
+     <term>
+      <parameter>movebottom</parameter>
+     </term>
+     <listitem>
+      <para>
+       The button to move one item of the selected list directly at the bottom of the list
+      </para>
+     </listitem>
+    </varlistentry>
+   </variablelist>
   </para>
  </refsection>
 
http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml?r1=1.1&r2=1.2&diff_format=u
Index: peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml
diff -u peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml:1.1 peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml:1.2
--- peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml:1.1	Fri Feb  6 17:46:24 2009
+++ peardoc/en/package/html/html-quickform-advmultiselect/html-quickform-advmultiselect/setpersistantoptions.xml	Mon Feb  9 17:10:32 2009
@@ -65,7 +65,29 @@
  <refsection xml:id="package.html.html-quickform-advmultiselect.html-quickform-advmultiselect.setpersistantoptions.throws">
   &title.throws;
   <para>
-    <emphasis>throws</emphasis> PEAR_Error
+   <table><title>&title.throws.errortable;</title>
+    <tgroup cols="3">
+     <thead>
+      <row>
+       <entry>Error message</entry>
+       <entry>Reason</entry>
+       <entry>Solution</entry>
+      </row>
+     </thead>
+     <tbody>
+      <row>
+       <entry>Argument 1 of HTML_QuickForm_advmultiselect::setPersistantOptions is not a valid array</entry>
+       <entry>Tried to give array or comma delimited string of selected values</entry>
+       <entry>Check the $optionValues argument data type and content</entry>
+      </row>
+      <row>
+       <entry>Argument 2 of HTML_QuickForm_advmultiselect::setPersistantOptions is not a boolean</entry>
+       <entry>Tried to give a TRUE or FALSE value</entry>
+       <entry>Check the $persistant argument data type</entry>
+      </row>
+     </tbody>
+    </tgroup>
+   </table>
   </para>
  </refsection>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.