--- nfo/php/libs/com.newsblob.phphtmllib/examples/widget1.php 2003/01/30 03:29:42 1.1.1.1
+++ nfo/php/libs/com.newsblob.phphtmllib/examples/widget1.php 2004/05/06 16:27:17 1.4
@@ -5,7 +5,7 @@
* NavTable widget.
*
*
- * $Id: widget1.php,v 1.1.1.1 2003/01/30 03:29:42 jonen Exp $
+ * $Id: widget1.php,v 1.4 2004/05/06 16:27:17 jonen Exp $
*
* @author Walter A. Boring IV
* @package phpHtmlLib
@@ -26,7 +26,10 @@
XHTML_TRANSITIONAL);
//enable output debugging.
-$page->set_text_debug( $_GET["debug"] );
+if (isset($_GET['debug'])) {
+ $page->set_text_debug( TRUE );
+}
+
//add the css link to the default theme which will
//automatically generate the css classes used