Add Width to Product Listing Columns | Last Update: 17th August, 2005 Article ID: 210 |
$lc_align = '';
$lc_width = '100';
case 'PRODUCT_LIST_MODEL':
$lc_text = TABLE_HEADING_MODEL;
$lc_align = '';
$lc_width = '100';
break;
$list_box_contents[0][] = array('align' => $lc_align,
'params' => 'class="productListing-heading"',
'text' => ' ' . $lc_text . ' ');
$list_box_contents[0][] = array('align' => $lc_align,
'width' => $lc_width,
'params' => 'class="productListing-heading"',
'text' => ' ' . $lc_text . ' ');
if (isset($contents[$i][$x]['align']) && tep_not_null($contents[$i][$x]['align'])) $tableBox_string .= ' align="' . tep_output_string($contents[$i][$x]['align']) . '"';
if (isset($contents[$i][$x]['width']) && tep_not_null($contents[$i][$x]['width'])) $tableBox_string .= ' width="' . tep_output_string($contents[$i][$x]['width']) . '"';
Trademark Policy | Copyright Policy | Sitemap Copyright © 2000-2005 osCommerce. All rights reserved. |