summaryrefslogtreecommitdiff
path: root/includes/tablesort.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/tablesort.inc')
-rw-r--r--includes/tablesort.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc
index 0c08f4b93..c8b426cea 100644
--- a/includes/tablesort.inc
+++ b/includes/tablesort.inc
@@ -79,8 +79,7 @@ function tablesort_header($cell, $header, $ts) {
if ($cell['data'] == $ts['name']) {
$ts['sort'] = (($ts['sort'] == 'asc') ? 'desc' : 'asc');
$cell['class'] = 'active';
- $title = ($ts['sort'] == 'asc' ? t('sort ascending') : t('sort descending'));
- $image = ' '. theme('image', 'misc/arrow-'. $ts['sort'] .'.png', t('sort icon'), $title);
+ $image = theme('tablesort_indicator', $ts['sort']);
}
else {
// If the user clicks a different header, we want to sort ascending initially.