Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    12
    Plugin Contributions
    0

    Default [Done 1.3.5] Small Bug in tpl_tabular_display.php

    Line 32 currently reads:

    Code:
    if (isset($list_box_contents[$row][$col]['align'])) $c_params .= ' ' . $list_box_contents[$row][$col]['align'];
    It should be:

    Code:
    if (!empty($list_box_contents[$row][$col]['align'])) $c_params .= ' align="' . $list_box_contents[$row][$col]['align'] . '"';
    The TD align attributes don't work properly otherwise (also breaks XHTML compliance).

    -dave

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Small Bug in tpl_tabular_display.php

    Thanks Dave. That's been fixed and will be part of the next release.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 16 Feb 2011, 04:12 AM
  2. Replies: 1
    Last Post: 12 Nov 2006, 05:10 AM
  3. [DONE 1.3.5] Small Bug - Alt Text incorrect
    By madk in forum Bug Reports
    Replies: 2
    Last Post: 26 Jul 2006, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg