function theme_sortable_header_links in Drupal for Facebook 7.3
Same name and namespace in other branches
- 5.2 fb_views.module \theme_sortable_header_links()
- 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()
1 theme call to theme_sortable_header_links()
- theme_views_fb_discussion in fb_views/
fb_views.module
File
- fb_views/
fb_views.module, line 150 - 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;
}