| 27 |
XHTML_TRANSITIONAL); |
XHTML_TRANSITIONAL); |
| 28 |
|
|
| 29 |
//enable output debugging. |
//enable output debugging. |
| 30 |
$page->set_text_debug( $_GET["debug"] ); |
if (isset($_GET['debug'])) { |
| 31 |
|
$page->set_text_debug( TRUE ); |
| 32 |
|
} |
| 33 |
//use the default theme |
//use the default theme |
| 34 |
$page->add_css_link( "/phphtmllib/css/defaulttheme.php" ); |
$page->add_css_link( "/phphtmllib/css/defaulttheme.php" ); |
| 35 |
|
|
| 37 |
//build the active tab widget |
//build the active tab widget |
| 38 |
//with a width of 500 pixels wide |
//with a width of 500 pixels wide |
| 39 |
//and a height (MUST BE SET) of 200px tall. |
//and a height (MUST BE SET) of 200px tall. |
| 40 |
$tab = new ActiveTab(500, "220px"); |
$tab = new ActiveTab(500, "300px"); |
| 41 |
|
|
| 42 |
//build a NavTable widget |
//build a NavTable widget |
| 43 |
$navtable = new NavTable("NavTable", "Widget", "200"); |
$navtable = new NavTable("NavTable", "Widget", "200"); |
| 63 |
|
|
| 64 |
$form->add( form_active_radio("assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) ); |
$form->add( form_active_radio("assradio", array("foo"=>1, "bar"=>2), 2, FALSE ) ); |
| 65 |
$form->add( html_br(2), |
$form->add( html_br(2), |
| 66 |
form_active_radio("assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 ) ); |
form_active_radio("assradio2", array("foo"=>1, "bar"=>2, "testing"=> 3), 2 )); |
| 67 |
|
|
| 68 |
|
|
| 69 |
//now add the tabs and their content. |
//now add the tabs and their content. |