[pmwiki-users] Gemini skin - problem with two actions

John W Morris johnwmorris at peak.org
Thu Mar 17 00:03:13 CST 2005


I was trying and really liking the skin switching and while using Gemini I tried the "Cross Ref"  and "List Group" buttons and got the following error.

 Fatal error: Call to undefined function: () in /nfs/cust/0/44/07/570440/web/storywiki/pmwiki.php on line 804 

Same error in both cases... running version 2.26  I swear it was working before but ... 
Does colspan have to be defined elsewhere?  

The code from line 800 to line 810 is:  804 is in red.
    else $t='td';
    if (preg_match('/^\\s.*\\s$/',$td[$i])) { $attr .= " align='center'"; }
    elseif (preg_match('/^\\s/',$td[$i])) { $attr .= " align='right'"; }
    elseif (preg_match('/\\s$/',$td[$i])) { $attr .= " align='left'"; }
    for ($colspan=1;$i+$colspancount($td);$colspan++) 
      if ($td[$colspan+$i]!='') break;
    if ($colspan>1) { $attr .= " colspan='$colspan'"; }
    $y .= "<$t $attr>".$td[$i]."</$t>";
  }
  if ($t=='caption') return "<:table,1>$y";
  if ($MarkupFrame[0]['cs'][0] != 'table') $rowcount = 0; else $rowcount++;

for some reason Dreamweaver is highliting the entire sedction of code from line 791 to 806.... Can't find out why.  I assume it doesn't like something in this area.

Thanks,

John Morris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20050316/47db5d92/attachment.html 


More information about the pmwiki-users mailing list