12 |
"action" => $PHP_SELF)); |
"action" => $PHP_SELF)); |
13 |
|
|
14 |
|
|
15 |
$form->push( form_select("test", $options, "foo") ); |
$form->add( form_select("test", $options, "foo") ); |
16 |
|
|
17 |
$textarea = form_textarea( "this is a long ass test" ); |
$textarea = form_textarea( "this is a long ass test" ); |
18 |
$textarea->set_tag_attributes( array("cols" => "40", |
$textarea->set_tag_attributes( array("cols" => "40", |
19 |
"rows" => "20") ); |
"rows" => "20") ); |
20 |
|
|
21 |
$form->push( html_br(), $textarea ); |
$form->add( html_br(), $textarea ); |
22 |
|
|
23 |
$page->push( $form ); |
$page->add( $form ); |
24 |
|
|
25 |
print $page->render(); |
print $page->render(); |
26 |
?> |
?> |