function seven_tablesort_indicator
7.x template.php | seven_tablesort_indicator($variables) |
Override of theme_tablesort_indicator().
Use our own image versions, so they show up as black and not gray on gray.
File
- drupal-7.x/
themes/ seven/ template.php, line 89
Code
function seven_tablesort_indicator($variables) {
$style = $variables['style'];
$theme_path = drupal_get_path('theme', 'seven');
if ($style == 'asc') {
return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort ascending'), 'width' => 13, 'height' => 13, 'title' => t('sort ascending')));
}
else {
return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort descending'), 'width' => 13, 'height' => 13, 'title' => t('sort descending')));
}
}