diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-02-10 19:46:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-02-10 19:46:16 +0000 |
commit | 62bcb3a9eedd2830e7630c6b44348f0e7cc2b162 (patch) | |
tree | 14bbc677bcb01e1f55f5302a1d96c9e535e9a8b7 | |
parent | 6c99c2d86f305b61bd3dce90416d733c63a774f4 (diff) | |
download | brdo-62bcb3a9eedd2830e7630c6b44348f0e7cc2b162.tar.gz brdo-62bcb3a9eedd2830e7630c6b44348f0e7cc2b162.tar.bz2 |
- Patch #5744 by JonBob: tablesort does not call theme("image") correctly.
-rw-r--r-- | includes/tablesort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/tablesort.inc b/includes/tablesort.inc index a15bcdfe4..352b68c35 100644 --- a/includes/tablesort.inc +++ b/includes/tablesort.inc @@ -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. |