cvs: pear /HTML_QuickForm_advmultiselect/examples qfams_multiple_2.php

[email protected] ("Laurent Laville")
Newsgroups php.pear.cvs
Message-ID <cvsfarell1209216314@cvsserver>
farell		Sat Apr 26 13:25:14 2008 UTC

  Modified files:              
    /pear/HTML_QuickForm_advmultiselect/examples	qfams_multiple_2.php 
  Log:
  - more Xhtml compliant
  - fix also ams JS resource (path)
  
http://cvs.php.net/viewvc.cgi/pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php
diff -u pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php:1.1 pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php:1.2
--- pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php:1.1	Fri Jan  5 16:57:49 2007
+++ pear/HTML_QuickForm_advmultiselect/examples/qfams_multiple_2.php	Sat Apr 26 13:25:14 2008
@@ -4,7 +4,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: qfams_multiple_2.php,v 1.1 2007/01/05 16:57:49 farell Exp $
+ * @version    $Id: qfams_multiple_2.php,v 1.2 2008/04/26 13:25:14 farell Exp $
  * @author     Laurent Laville <[email protected]>
  * @package    HTML_QuickForm_advmultiselect
  * @subpackage Examples
@@ -129,7 +129,7 @@
                                    'cars list dual select');
 $buttons[] =& $form->createElement('checkbox', 'multiselect2', null,
                                    'fruit list dual select');
-$form->addGroup($buttons);
+$form->addGroup($buttons, null, '&nbsp;');
 
 if (count($defaults) > 0) {
     $form->setDefaults($defaults);
@@ -186,7 +186,7 @@
 ?>
  -->
 </style>
-<script type="text/javascript" src="qfamsHandler.js"></script>
+<?php echo $ams1->getElementJs(false); ?>
 <script type="text/javascript">
 //<![CDATA[
 window.qfamsName = new Array();
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.