cvs: peardoc /en/package/html/html-quickform-advmultiselect/appendix examples-multiple2.xml

From: Date: Thu, 29 Jan 2009 21:09:14 +0000
Subject: cvs: peardoc /en/package/html/html-quickform-advmultiselect/appendix examples-multiple2.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-11512@lists.php.net to get a copy of this message
farell Thu Jan 29 21:09:14 2009 UTC Modified files: /peardoc/en/package/html/html-quickform-advmultiselect/appendix examples-multiple2.xml Log: sync with qfams_multiple_2.php,v 1.4 http://cvs.php.net/viewvc.cgi/peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml?r1=1.2&r2=1.3&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.2 peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml:1.3 --- peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml:1.2 Wed Jan 28 22:25:14 2009 +++ peardoc/en/package/html/html-quickform-advmultiselect/appendix/examples-multiple2.xml Thu Jan 29 21:09:14 2009 @@ -40,7 +40,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.2 2009/01/28 22:25:14 farell Exp $ + * @version $Id: examples-multiple2.xml,v 1.3 2009/01/29 21:09:14 farell Exp $ * @author Laurent Laville <pear@laurent-laville.org> * @package HTML_QuickForm_advmultiselect * @subpackage Examples @@ -157,7 +157,7 @@ 'cars list dual select'); $buttons[] =& $form->createElement('checkbox', 'multiselect2', null, 'fruit list dual select'); -$form->addGroup($buttons); +$form->addGroup($buttons, null, '&nbsp;'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3c.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> @@ -210,15 +210,7 @@ ?> --> </style> -<script type="text/javascript" src="qfamsHandler.js"></script> -<script type="text/javascript"> -<!-- -window.qfamsName = new Array(); -window.qfamsName[0] = 'cars'; -window.qfamsName[1] = 'fruit'; -window.addEventListener('load', qfamsInit, false); -//--> -</script> +<?php echo $ams1->getElementJs(false); ?> </head> <body> <?php @@ -231,6 +223,14 @@ } $form->display(); ?> +<script type="text/javascript"> +//<![CDATA[ +function init() { + QFAMS.init(['cars','fruit']); +} +window.addEventListener('load', init, false); +//]]> +</script> </body> </html> ]]>

« previous php.pear.doc (#11512) next »