Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

commenting out box graphics leaves a number 1


Guest

Recommended Posts

Posted

Hi,

 

Whenever I comment out lines 104-108 in classes/boxes.php it leaves a number next to the category heading like this:

1 Categories

 

Anyone know why it does this and how to correct it?

 

I don't want the graphic corners in those boxes.

 

It also does this on two other boxes but not the rest. :roll:

Posted

this is because left_corner is set to true i.e. 1

 

further down in the file there is:

 

 $info_box_contents[] = array(array('params' => 'height="14" class="infoBoxHeading"', 'text' => $left_corner),

                                  array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text']),

                                  array('params' => 'height="14" class="infoBoxHeading" nowrap', 'text' => $right_corner));

 

change to :

 

 $info_box_contents[] = array(

                                  array('params' => 'width="100%" height="14" class="infoBoxHeading"', 'text' => $contents[0]['text'])

                                  );

Archived

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

×
×
  • Create New...