Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

footer editing question in english.php


advitar84

Recommended Posts

Hi guys Im trying to edit the footer but everytime I edit this line in english.php (which is the line on the footer) I keep getting a parse error

 

define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href="http://www.turnkeytemplates.net." target="_blank">TurnkeyTemplates.net</a> ');

 

Im trying to add this to it

 

 

<a href="java script:void(window.open('https://seal.starfieldtech.com/verifySeal?sealID=170640657203470e5e01271049a16f67a17fa5089702475793760880', 'display1', 'left=20,top=0,resizable=yes,scrollbars=yes,width=635,height=570'))">

<img src="https://www.turnkeytemplates.net/catalog/images/staticseal_br.gif" border="0" width="120" height="75" alt="Click to Verify Secure Site">

</a>

 

So the end result would look something like this

 

 

define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href="http://www.turnkeytemplates.net." target="_blank">TurnkeyTemplates.net</a> <a href="java script:void(window.open('https://seal.starfieldtech.com/verifySeal?sealID=170640657203470e5e01271049a16f67a17fa5089702475793760880', 'display1', 'left=20,top=0,resizable=yes,scrollbars=yes,width=635,height=570'))">

<img src="https://www.turnkeytemplates.net/catalog/images/staticseal_br.gif" border="0" width="120" height="75" alt="Click to Verify Secure Site">

</a> ');

 

 

But I keep getting a parse error can someone show me the proper way I need to add the code segmant??

Link to comment
Share on other sites

basically all I am asking is how do I get this html code to be on the footer

 

<a href="java script:void(window.open('https://seal.starfieldtech.com/verifySeal?sealID=170640657203470e5e01271049a16f67a17fa5089702475793760880', 'display1', 'left=20,top=0,resizable=yes,scrollbars=yes,width=635,height=570'))">

<img src="https://www.turnkeytemplates.net/catalog/images/staticseal_br.gif" border="0" width="120" height="75" alt="Click to Verify Secure Site">

</a>

 

 

I am not really that exp with php and keep getting parse errors

Link to comment
Share on other sites

Try this:

 

define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href=\"http://www.turnkeytemplates.net.\" target=\"_blank\">TurnkeyTemplates.net</a> <a href=\"javascript:void(window.open(\'https://seal.starfieldtech.com/verifySeal?sealID=170640657203470e5e01271049a16f67a17fa5089702475793760880\', \'display1\', \'left=20,top=0,resizable=yes,scrollbars=yes,width=635,height=570\'))\">
<img src=\"https://www.turnkeytemplates.net/catalog/images/staticseal_br.gif\" border=\"0\" width=\"120\" height=\"75\" alt=\"Click to Verify Secure Site\"></a> ');

Link to comment
Share on other sites

Try this:

 

define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href=\"http://www.turnkeytemplates.net.\" target=\"_blank\">TurnkeyTemplates.net</a> <a href=\"javascript:void(window.open(\'https://seal.starfieldtech.com/verifySeal?sealID=170640657203470e5e01271049a16f67a17fa5089702475793760880\', \'display1\', \'left=20,top=0,resizable=yes,scrollbars=yes,width=635,height=570\'))\">
<img src=\"https://www.turnkeytemplates.net/catalog/images/staticseal_br.gif\" border=\"0\" width=\"120\" height=\"75\" alt=\"Click to Verify Secure Site\"></a> ');

 

 

ah duh stupid me thats what you get when you stay up late working you forget the escape \ thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...