function theme_sortable_header_links in Drupal for Facebook 5.2
Same name and namespace in other branches
- 5 fb_views.module \theme_sortable_header_links()
- 6.3 fb_views/fb_views.module \theme_sortable_header_links()
- 6.2 fb_views/fb_views.module \theme_sortable_header_links()
- 7.3 fb_views/fb_views.module \theme_sortable_header_links()
1 theme call to theme_sortable_header_links()
File
- ./
fb_views.module, line 174 - Facebook-specific views arguments, filters, etc...
Code
function theme_sortable_header_links($items = array()) {
if (!empty($items)) {
$output .= "<ul class=\"links sortable_header_links\">";
$output .= "<li class=\"first\">" . t('Sort by') . '</li>';
foreach ($items as $item) {
$output .= '<li>' . $item . '</li>';
}
$output .= "</ul>";
}
return $output;
}