--- nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php 2003/01/30 03:29:43 1.1
+++ nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php 2003/02/22 21:07:23 1.2
@@ -6,7 +6,7 @@
* and have the browser switch between the tabs
* without a request to the server.
*
- * $Id: widget8.php,v 1.1 2003/01/30 03:29:43 jonen Exp $
+ * $Id: widget8.php,v 1.2 2003/02/22 21:07:23 jonen Exp $
*
* @author Walter A. Boring IV
* @package phpHtmlLib
@@ -54,14 +54,14 @@
//build a form for one of the tabs
$formname = "fooform";
$form = html_form($formname, "#");
-$form->add( form_active_checkbox($formname,"foo", "some foo text", "ass"),html_br() );
-$form->add( form_active_checkbox($formname,"bar", "some bar text", "bar"),html_br() );
-$form->add( form_active_checkbox($formname,"blah", "some blah text", "blah"), html_br() );
+$form->add( form_active_checkbox("foo", "some foo text", "ass"),html_br() );
+$form->add( form_active_checkbox("bar", "some bar text", "bar"),html_br() );
+$form->add( form_active_checkbox("blah", "some blah text", "blah"), html_br() );
$form->add( html_br(2) );
-$form->add( form_active_radio($formname, "assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) );
+$form->add( form_active_radio("assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) );
$form->add( html_br(2),
- form_active_radio($formname, "assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 ) );
+ form_active_radio("assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 ) );
//now add the tabs and their content.