/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php
ViewVC logotype

Diff of /nfo/php/libs/com.newsblob.phphtmllib/examples/widget8.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by jonen, Thu Jan 30 03:29:43 2003 UTC revision 1.3 by jonen, Sat Sep 20 00:20:55 2003 UTC
# Line 27  $page = new HTMLPageClass("phpHtmlLib Wi Line 27  $page = new HTMLPageClass("phpHtmlLib Wi
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    
# Line 54  $cssnavtable->add("#", "Another", "This Line 56  $cssnavtable->add("#", "Another", "This
56  //build a form for one of the tabs  //build a form for one of the tabs
57  $formname = "fooform";  $formname = "fooform";
58  $form = html_form($formname, "#");  $form = html_form($formname, "#");
59  $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() );
60  $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() );
61  $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() );
62  $form->add( html_br(2) );  $form->add( html_br(2) );
63    
64  $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 ) );
65  $form->add( html_br(2),  $form->add( html_br(2),
66                          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 ) );
67    
68    
69  //now add the tabs and their content.  //now add the tabs and their content.

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed