Thank you very much!
I've revised code to alter the look of zencart but have never revised the functional code (except for installing mods) so I better run this by you first to be sure I get it correct.
From includes\functions\html_output.php
line 267
line 293if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes' && strlen($alt)<30) return zenCssButton($image, $alt, 'submit', $sec_class /*, $parameters = ''*/ );
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') return zenCssButton($image, $alt, 'button', $sec_class, $parameters = '');
From includes/templates/template_default/sideboxes - the code referencing IMAGE_USE_CSS_BUTTONS
your line 17, in my file is at line 33
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
From includes/templates/template_default/sideboxes - the code referencing IMAGE_USE_CSS_BUTTONS
your line 16, in my file is at line 31
if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
for the above strings, after they have been revised, is this how they should look?
From includes\functions\html_output.php
line 267
line 293if (strtolower(UPDATE configuration SET configuration_key = 'IMAGE_USE_CSS_BUTTONS_' WHERE configuration_key = 'IMAGE_USE_CSS_BUTTONS' LIMIT 1;) == 'yes' && strlen($alt)<30) return zenCssButton($image, $alt, 'submit', $sec_class /*, $parameters = ''*/ );
if (strtolower(UPDATE configuration SET configuration_key = 'IMAGE_USE_CSS_BUTTONS_' WHERE configuration_key = 'IMAGE_USE_CSS_BUTTONS' LIMIT 1;) == 'yes') return zenCssButton($image, $alt, 'button', $sec_class, $parameters = '');
From includes/templates/template_default/sideboxes - the code referencing IMAGE_USE_CSS_BUTTONS
your line 17, in my file is at line 33
if (strtolower(UPDATE configuration SET configuration_key = 'IMAGE_USE_CSS_BUTTONS_' WHERE configuration_key = 'IMAGE_USE_CSS_BUTTONS' LIMIT 1;) == 'yes') {
From includes/templates/template_default/sideboxes - the code referencing IMAGE_USE_CSS_BUTTONS
your line 16, in my file is at line 31
if (strtolower(UPDATE configuration SET configuration_key = 'IMAGE_USE_CSS_BUTTONS_' WHERE configuration_key = 'IMAGE_USE_CSS_BUTTONS' LIMIT 1;) == 'yes') {
Bookmarks