Here's the section in tpl_modules_opc_credit_selections.php
Code:
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
$secondary_class = 'opc-cc-submit';
$additional_parms = '';
} else {
$secondary_class = '';
$additional_parms = 'name="apply_' . $ot_class . '"' . ' class="opc-cc-submit"';
}
I emerge out of that with:
$secondary_class = 'opc-cc-submit';
$additional_parms = '';
As expected.
Those values get sent to :
Code:
echo zen_image_button(BUTTON_IMAGE_SUBMIT, ALT_TEXT_APPLY_DEDUCTION, $additional_parms, $secondary_class);
But that will not produce an ID (or a class for that matter). So, I must be missing something, I just don't know what it is.
(
Just out of interest so far, the critical line in Zen 1.5.0 in html_output reads
$css_button = '<span class="' . $mouse_out_class . '" ' . $css_button_js . $style . ' > ' . $text . ' </span>'; // add $parameters ???
In my version of 1.5.6c it doesn't appear that the 2nd class is actioned at all. But I am going to have to check that.
)
Bookmarks