Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Boxes.php image path


poorgirl_richgirl

Recommended Posts

Posted

Hi there. We are trying to get our ssl certificate to work with the help of whynopadlock website We see all files not secured. All left are images located in includes/classes/boxes.php

 

 

// -------------------------------------- infoBoxHeading ----------

class infoBoxHeading extends tableBox {

function infoBoxHeading($contents, $left_corner = true, $right_corner = true, $right_arrow = false) {

$this->table_cellpadding = '0';

$this->table_parameters = ' class="box_heading_table"';

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');

}

 

$info_box_contents = array();

$info_box_contents[] = array(array('params' => '',

'text' => ''.tep_image(DIR_WS_IMAGES.'box_corn_l.gif').''),

(array('params' => ' style="width:100%;" class="box_heading_td"',

'text' => ''.$contents[0]['text'].'')),

(array('params' => '',

'text' => ''.tep_image(DIR_WS_IMAGES.'box_corn_r.gif').'')));

$this->tableBox($info_box_contents, true);

}

}

 

------------------------------------------------------------------------------------------------------------------------------

 

We need to have the images url as https://domain.com/i...corner_left.gif' instead of just infobox/corner_left.gif'. With the way it is, the images open as http on the page instead of https

 

Can someone help us out in editing this file.

Posted

Unless you have an extremely poorly coded template, the code you posted isn't the problem.

 

If you PM me the URL to your site, or post it in this thread I can probably help.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Got your PM.

 

If your config files are correct the problem is the shop isn't recognizing that SSL is on.

 

The <base href="...."> tag in the page source still points to an http address when I manually change the URL to https.

 

None of the links that should default to SSL (create account, login, etc) are using SSL.

 

Click the "SSL Implementation Help" link in my signature.

 

Lots of help there.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...