Jump to content

Can anyone help with this please


Greystoke

Recommended Posts

How do I change the img src in

 

 

        echo '                    <td class="dataTableContent" valign="middle" height="15">
	<script language="JavaScript" type="text/javascript">
	<!--
	document.write("<span id=\"update_totals['.$i.']\"><a href=\"javascript:setCustomOTVisibility(\'update_totals['.($i+1).']\', \'visible\', \'update_totals['.$i.']\');\"><img src=\"order_editor/images/plus.gif\" border=\"0\" alt=\"' . IMAGE_ADD_NEW_OT . '\" title=\"' . IMAGE_ADD_NEW_OT . '\"></a></span>");
	//-->
        </script></td>' . "\n";

 

to have this <?php echo tep_image(DIR_WS_IMAGES . '../order_editor/images/plus.gif'); ?>

Link to comment
https://forums.phpfreaks.com/topic/222387-can-anyone-help-with-this-please/
Share on other sites

document.write("<span id=\"update_totals['.$i.']\"><a href=\"javascript:setCustomOTVisibility(\'update_totals['.($i+1).']\', \'visible\', \'update_totals['.$i.']\');\"><img src=\"' . tep_image(DIR_WS_IMAGES . '../order_editor/images/plus.gif') . '" border=\"0\" alt=\"' . IMAGE_ADD_NEW_OT . '\" title=\"' . IMAGE_ADD_NEW_OT . '\"></a></span>");

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.