Index: trunk/extensions/DonationInterface/gateway_common/GatewayForm.php |
— | — | @@ -355,7 +355,7 @@ |
356 | 356 | if ( !empty( $results['errors'] ) ) { |
357 | 357 | $wgOut->addHTML( HTML::openElement( 'ul' ) ); |
358 | 358 | foreach ( $results['errors'] as $code => $value ) { |
359 | | - $wgOut->addHTML( HTML::element('li', null, "Error $code: $value" ) . HTML::closeElement( 'li' ) ); |
| 359 | + $wgOut->addHTML( HTML::element('li', null, "Error $code: $value" ) ); |
360 | 360 | } |
361 | 361 | $wgOut->addHTML( HTML::closeElement( 'ul' ) ); |
362 | 362 | } |
— | — | @@ -364,13 +364,13 @@ |
365 | 365 | $wgOut->addHTML( HTML::openElement( 'ul' ) ); |
366 | 366 | foreach ( $results['data'] as $key => $value ) { |
367 | 367 | if ( is_array( $value ) ) { |
368 | | - $wgOut->addHTML( HTML::element('li', null, $key ) . HTML::openElement( 'ul' ) ); |
| 368 | + $wgOut->addHTML( HTML::openElement('li', null, $key ) . HTML::openElement( 'ul' ) ); |
369 | 369 | foreach ( $value as $key2 => $val2 ) { |
370 | | - $wgOut->addHTML( HTML::element('li', null, "$key2: $val2" ) . HTML::closeElement( 'li' ) ); |
| 370 | + $wgOut->addHTML( HTML::element('li', null, "$key2: $val2" ) ); |
371 | 371 | } |
372 | 372 | $wgOut->addHTML( HTML::closeElement( 'ul' ) . HTML::closeElement( 'li' ) ); |
373 | 373 | } else { |
374 | | - $wgOut->addHTML( HTML::element('li', null, "$key: $value" ) . HTML::closeElement( 'li' ) ); |
| 374 | + $wgOut->addHTML( HTML::element('li', null, "$key: $value" ) ); |
375 | 375 | } |
376 | 376 | } |
377 | 377 | $wgOut->addHTML( HTML::closeElement( 'ul' ) ); |
— | — | @@ -380,7 +380,7 @@ |
381 | 381 | if ( array_key_exists( 'Donor', $_SESSION ) ) { |
382 | 382 | $wgOut->addHTML( "Session Donor Vars:" . HTML::openElement( 'ul' )); |
383 | 383 | foreach ( $_SESSION['Donor'] as $key => $val ) { |
384 | | - $wgOut->addHTML( HTML::element('li', null, "$key: $val" ) . HTML::closeElement( 'li' ) ); |
| 384 | + $wgOut->addHTML( HTML::element('li', null, "$key: $val" ) ); |
385 | 385 | } |
386 | 386 | $wgOut->addHTML( HTML::closeElement( 'ul' ) ); |
387 | 387 | } else { |
— | — | @@ -390,7 +390,7 @@ |
391 | 391 | if ( is_array( $this->adapter->debugarray ) ) { |
392 | 392 | $wgOut->addHTML( "Debug Array:" . HTML::openElement( 'ul' ) ); |
393 | 393 | foreach ( $this->adapter->debugarray as $val ) { |
394 | | - $wgOut->addHTML( HTML::element('li', null, $val ) . HTML::closeElement( 'li' ) ); |
| 394 | + $wgOut->addHTML( HTML::element('li', null, $val ) ); |
395 | 395 | } |
396 | 396 | $wgOut->addHTML( HTML::closeElement( 'ul' ) ); |
397 | 397 | } else { |