--- nfo/php/libs/com.newsblob.phphtmllib/examples/widget7.php 2003/02/22 21:07:23 1.2 +++ nfo/php/libs/com.newsblob.phphtmllib/examples/widget7.php 2003/09/20 00:20:55 1.3 @@ -11,7 +11,7 @@ * This page shows the Data coming a CSV * (comma seperated values) file on disk. * - * $Id: widget7.php,v 1.2 2003/02/22 21:07:23 jonen Exp $ + * $Id: widget7.php,v 1.3 2003/09/20 00:20:55 jonen Exp $ * * @author Walter A. Boring IV * @package phpHtmlLib @@ -55,13 +55,16 @@ XHTML_TRANSITIONAL); //enable output debugging. -$page->set_text_debug( $_GET["debug"] ); +if (isset($_GET['debug'])) { + $page->set_text_debug( TRUE ); +} //add the css $page->add_head_css( new DefaultGUIDataListCSS ); //build the csv file data list object. $csvlist = new csvfilelist("CSV File list", 600, "LName"); +$csvlist->set_align("right"); $page->add( html_span("font10", "View the source ", html_a("test.csv", "test.csv file.")),