Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help changing HTML into tep_image format


ckyshop.co.uk

Recommended Posts

Posted

hi

 

i need

 

'<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" class="contbutton" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">';

 

to be in the tep_image_submit format, or tep_image

 

but I can't figure it out - please help!

 

thanks

Thanks for any help/comments.

 

Regards,

 

Lewis Hill

Posted
hi

 

i need

 

'<input type="image" name="submit_redeem" onClick="submitFunction()" src="' . DIR_WS_LANGUAGES . $language . '/images/buttons/button_redeem.gif" class="contbutton" alt="' . IMAGE_REDEEM_VOUCHER . '" title = "' . IMAGE_REDEEM_VOUCHER . '">';

 

to be in the tep_image_submit format, or tep_image

 

but I can't figure it out - please help!

 

thanks

 

tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, onClick="submitFunction()");

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, onClick="submitFunction()");

 

 

What parts of the orignal code does this replace.. I keep getting parse errors.

Thanks =)

Posted
What parts of the orignal code does this replace.. I keep getting parse errors.

Thanks =)

 

it replaces the whole code you had posted ... try this instead...

 

tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'onClick="submitFunction()"');

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
it replaces the whole code you had posted ... try this instead...

 

tep_image_submit('button_redeem.gif', IMAGE_REDEEM_VOUCHER, 'onClick="submitFunction()"');

 

Thank you!! That fixed it =)

Archived

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

×
×
  • Create New...