Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove or change <td class="infoBox"> in rev


Guest

Recommended Posts

Posted

I need to remove the infobox class from the reviews box - its producing a 2nd border inside the box :cry: but I can't figure out how to change it without the rest of the infoboxes ending up inside this one!

// display 'write a review' box

   $info_box_contents = array();

   $info_box_contents[] = array('align' => 'left',

                                'text'  => '<table border="0" cellspacing="0" cellpadding="2"><tr><td class="infoBox"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'box_write_review.gif', IMAGE_BUTTON_WRITE_REVIEW) . '</a></td><td class="infoBox"><a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS_WRITE, 'products_id=' . $HTTP_GET_VARS['products_id'], 'NONSSL') . '">' . BOX_REVIEWS_WRITE_REVIEW .'</a></td></tr></table>');

   new infoBox($info_box_contents);

Archived

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

×
×
  • Create New...