Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
4 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Bug on XoopsThemeForm->insertBreak
by onokazu on 2003/10/24 14:20:40

Thanks, this has been fixed on CVS.
Bug on XoopsThemeForm->insertBreak
by Oki on 2003/10/24 13:51:24

Hi,

I have troubles using XoopsThemeForm->insertBreak and the solution i have encountred is:
le="color: #000000"><?php function insertBreak($extra = '', $class= '') { $class = ($class != '') ? " class='$class'" : ''; if ( empty($extra) ) { $extra = "<tr><td colspan='2'$class></td></tr>"; $this->addElement($extra); } else { $extra = "<tr><td colspan='2'$class>$extra</td></tr>"; $this->addElement($extra); } }


replacing
le="color: #000000"><?php if ( $extra != '' ) {

to
le="color: #000000"><?php if ( empty($extra) ) {


Celso Goya
moinho.net

Who's Online

218 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits