function theme_sortable_header_links in Drupal for Facebook 5
Same name and namespace in other branches
- 5.2 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 156  
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;
}