--- nfo/php/libs/com.newsblob.phphtmllib/test/test6.php 2003/01/30 03:29:41 1.1
+++ nfo/php/libs/com.newsblob.phphtmllib/test/test6.php 2003/09/19 22:49:58 1.2
@@ -8,16 +8,16 @@
$nav_table = new NavTable("Test title", "test subtitle", "30%");
//get the link to the widget's css file.
-$page->push_css_link( $nav_table->get_css_file() );
+$page->add_css_link( "/phphtmllib/css/defaulttheme.php" );
-$nav_table->push("http://www.cnn.com", "Go to CNN");
-$nav_table->push_blank();
-$nav_table->push("http://www.yahoo.com", "Go to Yahoo dude");
-$nav_table->push_blank();
-$nav_table->push_text("Some lame text here");
+$nav_table->add("http://www.cnn.com", "Go to CNN");
+$nav_table->add_blank();
+$nav_table->add("http://www.yahoo.com", "Go to Yahoo dude");
+$nav_table->add_blank();
+$nav_table->add_text("Some lame text here");
-$page->push( $nav_table );
+$page->add( $nav_table );
print $page->render();
?>