';
foreach ($content as $item) {
$output .= '
';
$output .= '' . l($item['title'], $item['href'], $item['localized_options']) . '';
$output .= '' . filter_xss_admin($item['description']) . '
';
$output .= '';
}
$output .= '';
}
return $output;
}
/**
* Override of theme_admin_block_content().
*
* Use unordered list markup in both compact and extended move.
*/
function seven_admin_block_content($content) {
$output = '';
if (!empty($content)) {
$output = system_admin_compact_mode() ? '' : '';
}
return $output;
}
/**
* Override of theme_tablesort_indicator().
*
* Use our own image versions, so they show up as black and not gray on gray.
*/
function seven_tablesort_indicator($style) {
$theme_path = drupal_get_path('theme', 'seven');
if ($style == 'asc') {
return theme('image', '/images/arrow-asc.png');
} else {
return theme('image', '/images/arrow-desc.png');
}
}