Gomeza Posted October 17, 2008 Posted October 17, 2008 Hello boys and girls I always do a thorough search of this forum before posting a question and haven't as yet found anything. I am looking for the files in my osCommerce that produce the following HTML output. (this is how the code is returned during the validation process) I need to remove the portions that are underlined to validate. "…uttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find" " <tr width="100%" class="SideinfoBoxHeading">" Both code snippets are unnecessary. Thanx in advance for anyone who replies
failsafe Posted October 17, 2008 Posted October 17, 2008 I am looking for the files in my osCommerce that produce the following HTML output. (this is how the code is returned during the validation process) I need to remove the portions that are underlined to validate. "…uttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find" " <tr width="100%" class="SideinfoBoxHeading">" Both code snippets are unnecessary. Yes, there are quite some HTML errors in the stock osC code regarding 'correctness' for validation. The second you mention is caused by: includes/functions/html_output.php (about line 121), inside function tep_image_submit, should be: $image_submit = '<input type="image" src="' . tep_output_string(DIR_WS_LANGUAGES . $language . '/images/buttons/' . $image) . '" alt="' . tep_output_string($alt) . '"'; (the border="0" is not allowed there) Unfortunately, " <tr width="100%" class="SideinfoBoxHeading">" is not part of the stock osC code (osC2.2RC2a). Can't find it, sorry. It must be part of a contribution you've added. Suggest you search all your php files on "SideinfoBoxHeading" to find it, or search on "tr width", that should catch it. Did you fix the & in URLs validation error? That's a very common complaint from the validator. See same file (includes/functions/html_output.php) in function tep_href_link() on the line that reads " $separator = '&';". It should be " $separator = '&';"
Gomeza Posted October 17, 2008 Author Posted October 17, 2008 Thanx failsafe I now have just one error and you have set me on the right track looking in the modifications I have added instead of the stock osC files. I think I'm going to crack a bottle of champagne when I find it, validating the CSS was fairly easy but the HTML has been difficult to say the least. Your input is much appreciated - thanx again.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.