Jump to content
Sign in to follow this  
mid9tblue

need php help to modify this piece of code

Recommended Posts

hi:

i need to modify the following code:

           <td align="right" class="main bg_input">
		<table><tr><td colspan="2">If you have read our <a href="conditions.php">Conditions of Use</a> and agree to them, then:</td></tr>
		<tr><td> </td><td align="center" width="100px">
<?php
 if (is_array($payment_modules->modules)) {
   echo $payment_modules->process_button();
 }

 echo tep_image_submit('button_confirm_order.gif', IMAGE_BUTTON_CONFIRM_ORDER) ."\n";
?><div style="color:#FF0000; font-size:0.8em; padding:4px;">-OTHERWISE-</div><a href="index.php"><img src="includes/languages/english/images/buttons/button_dont_confirm_order.gif" border="0" title="Cancel Order"></a>
           </td></tr></table></td>

 

right now the button_dont_confirm_order.gif is set to be the one in the english folder, my site is in two languages so i need it to load the button in the german folder if german was the chosen language. i'm no good at coding php, please help me to modify this, thanks in advance for all the help.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×