--- nfo/php/libs/com.newsblob.phphtmllib/widgets/InfoTable.inc 2003/11/14 21:31:40 1.3
+++ nfo/php/libs/com.newsblob.phphtmllib/widgets/InfoTable.inc 2004/05/06 16:27:42 1.4
@@ -1,7 +1,7 @@
_show_cellborders = $flag;
+ }
+
+
+
/******************/
/* Private APIs */
@@ -311,14 +330,18 @@
$style .= "padding-left:5px;padding-right:5px;";
//now determine the bordering
- if ( $col_num != $total_cols &&
- $this->get_vertical_cellborder() ) {
- $class = "contentvertical";
+ if ($this->_show_cellborders) {
+ if ( $col_num != $total_cols &&
+ $this->get_vertical_cellborder() ) {
+ $class = "contentvertical";
+ } else {
+ $class = "contentnovertical";
+ }
+ $attributes = array("class" => $class);
} else {
- $class = "contentnovertical";
- }
-
- $attributes = array("class" => $class);
+ $attributes = array();
+ }
+
return new TDtag( $attributes );
}
}