Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CSS Button for OSC 2.2rc2a


chuntse

Recommended Posts

Posted

Hello Everyone,

 

I found a contribution of CSS Button for OSC 2.2, but it seems it is not compatible with STS.

 

The codes of output of css button are following:

 

function tep_css_submit($value = 'xxxNeedValuexxx'){

global $language;

$css_submit = '<input type="submit" class="buttonsubmit" value="' . tep_output_string($value) . '"/>';

return $css_submit;

}

/*Output css based button*/

function tep_css_button($value = 'xxxNeedValuexxx'){

global $language;

$css_submit = '<input type="submit" class="buttonsubmit" value="' . tep_output_string($value) . '"/>';

return $css_submit;

}

 

I am thinking how to integrate it into the functions of tep_image_submit and tep_image_button to be achieved that we can switch Image Button to CSS Button or CSS Button to Image Button by the configuration in administration area.

 

Is there anyine can give me clue to achieve it?

 

Thanks in advanced.

 

ChunTse

Archived

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

×
×
  • Create New...