54 |
//build a form for one of the tabs |
//build a form for one of the tabs |
55 |
$formname = "fooform"; |
$formname = "fooform"; |
56 |
$form = html_form($formname, "#"); |
$form = html_form($formname, "#"); |
57 |
$form->add( form_active_checkbox($formname,"foo", "some foo text", "ass"),html_br() ); |
$form->add( form_active_checkbox("foo", "some foo text", "ass"),html_br() ); |
58 |
$form->add( form_active_checkbox($formname,"bar", "some bar text", "bar"),html_br() ); |
$form->add( form_active_checkbox("bar", "some bar text", "bar"),html_br() ); |
59 |
$form->add( form_active_checkbox($formname,"blah", "some blah text", "blah"), html_br() ); |
$form->add( form_active_checkbox("blah", "some blah text", "blah"), html_br() ); |
60 |
$form->add( html_br(2) ); |
$form->add( html_br(2) ); |
61 |
|
|
62 |
$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 ) ); |
63 |
$form->add( html_br(2), |
$form->add( html_br(2), |
64 |
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 ) ); |
65 |
|
|
66 |
|
|
67 |
//now add the tabs and their content. |
//now add the tabs and their content. |