index 17176b217b9ce96ffbe8d5f2b743a2a0ecc61291..b17dfa74e3a73cdbe9b12c81ee05bf8ed56dd6bc 100644 (file)
var $force_height = false;
var $list_footer = "";
-
+ var $fix_list_for_plugins = FALSE;
+
// Added php 4 constructor
function divlist($pageid){
}
+ function SetPluginMode($val = TRUE)
+ {
+ $this->fix_list_for_plugins = $val;
+ }
+
function SetFooter($str)
{
$this->list_footer = $str;
function DrawList(){
$s_return = "";
- if(!$this->force_height){
+ if(!$this->force_height || $this->fix_list_for_plugins){
$s_return.= "<table summary='".$this->s_summary."' style='width:".
$this->s_width.";height:".$this->s_height.
"px;' cellspacing='0' id='t_scrolltable'>";
// Alternation of background color
if($i_alternate) $i_alternate=0; else $i_alternate=1;
- $s_return .= "\n<tr>";
+ $s_return .= "\n<tr class='rowxp".$i_alternate."'>";
$cnt = 0;