- Patch #5744 by JonBob: tablesort does not call theme("image") correctly.

4.4.x
Dries Buytaert 2004-02-10 19:46:16 +00:00
parent 6c99c2d86f
commit 62bcb3a9ee
1 changed files with 1 additions and 1 deletions

View File

@ -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 = '&nbsp;<img src="' . theme('image', 'arrow-' . $ts['sort'] . '.gif"') . ' alt="'. t('sort icon') .'" />';
$image = '&nbsp;<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.