- Patch #5744 by JonBob: tablesort does not call theme("image") correctly.
parent
6c99c2d86f
commit
62bcb3a9ee
|
@ -32,7 +32,7 @@ function tablesort($cell, $header) {
|
|||
// special formatting for the currently sorted column header
|
||||
if ($cell['data'] == $ts['order']) {
|
||||
$cell['class'] = 'cell-highlight';
|
||||
$image = ' <img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif"') . ' alt="'. t('sort icon') .'" />';
|
||||
$image = ' <img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif') . '" alt="'. t('sort icon') .'" />';
|
||||
$title = ($ts['sort'] == 'asc' ? t("sort ascending") : t("sort descending"));
|
||||
} else {
|
||||
// If the user clicks a different header, we want to sort ascending initially.
|
||||
|
|
Loading…
Reference in New Issue