Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do i remove the <table> html outputted ? from function in boxes.php


marcus76

Recommended Posts

Posted

Hi ,

 

I have the following function:

 

When i display my box it adds all the formatting that goes with the box, i.e it's puts it inside a table. I suspect it's the tableBox($info_box_contents); piece of code.

 

I want to remove the table aspect to my box and just display the contents, no table formatting whatsoever... hope this makes sense.

 

Regards

 

Marcus

 

 

 

function CurrenciesBoxContents($contents) {

 

 

$info_box_contents = array();

 

for ($i=0, $n=sizeof($contents); $i<$n; $i++) {

$info_box_contents[] = array(array('align' => $contents[$i]['align'],

'form' => $contents[$i]['form'],

'params' => '',

'text' => $contents[$i]['text']));

}

 

return $this->tableBox($info_box_contents);

}

}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...