Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

catalog>images>infobox>arrow_right.gif


Guest

Recommended Posts

Posted

What tells 'arrow_right.gif' to be on the right?

 

I want to be able to tell this image to be in the centre of the box. Obviously it will no longer be arror right but something else.

 

I know that the box code is in catalog>includes>classes>boxes.php, and that this is where it inserts the image arrow_right.gif, but I cannot see anything telling it to be on the right.

 

Can anyone tell me how I can make this image centre in the box?

Posted

what about the if and else statements and the array itself

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

I'm not sure I know what you mean. The only thing I seem to be able to adjust is true or false which just changes wheather it appears or not, but I wouldn't know how to manipulate it to be in the middle.

 

    class infoBoxHeading extends tableBox {
 function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) {
     $this->table_cellpadding = '0';

     if ($left_corner == true) {
       $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_left.gif');
     } else {
       $left_corner = tep_image(DIR_WS_IMAGES . 'infobox/corner_right_left.gif');
     }
     if ($right_arrow == true) {
       $right_arrow = '<a href="' . $right_arrow . '">' . tep_image(DIR_WS_IMAGES . 'infobox/arrow_right.gif', ICON_ARROW_RIGHT) . '</a>';
     } else {
       $right_arrow = '';
     }
     if ($right_corner == true) {
       $right_corner = $right_arrow . tep_image(DIR_WS_IMAGES . 'infobox/corner_right.gif');
     } else {
       $right_corner = $right_arrow . tep_draw_separator('pixel_trans.gif', '11', '14');
     }

 

I have not really played around with arrays before, today is the first time I have even looked at this file.

Archived

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

×
×
  • Create New...