Returns HTML for a sort icon.
$variables: An associative array containing:
function theme_tablesort_indicator($variables) {
if ($variables['style'] == "asc") {
return theme('image', array(
'path' => 'misc/arrow-asc.png',
'width' => 13,
'height' => 13,
'alt' => t('sort ascending'),
'title' => t('sort ascending'),
));
}
else {
return theme('image', array(
'path' => 'misc/arrow-desc.png',
'width' => 13,
'height' => 13,
'alt' => t('sort descending'),
'title' => t('sort descending'),
));
}
}