Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Little Triangle to show sort status


amoun

Recommended Posts

Hi this has arisen from another forum. There was a query about the plus sign after the 'Product Name+'

 

I made up little traingles 16 width x 10 high and put the following code to replace the + and - in line 866 (functions/general.php)

 

 

WAS

"

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '+' : '-') : '') . '</a>';

}

"

 

NOW

 

"

$sort_suffix = (substr($sortby, 0, 1) == $colnum ? (substr($sortby, 1, 1) == 'a' ? '<img src="includes/languages/english/images/buttons/button_ascending.gif" height="10" width="16" align="absmiddle" border="0">' : '<img src="includes/languages/english/images/buttons/button_descending.gif" height="10" width="16" align="absmiddle" border="0">') : '') . '</a>';

}

"

 

Roger

facts invariably distort the truth

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...