function theme_rrssb_button_list in Ridiculously Responsive Social Sharing Buttons 7
Same name and namespace in other branches
- 7.2 rrssb.module \theme_rrssb_button_list()
 
Theme function for rrssb_button_list. Prints the list of all buttons.
1 theme call to theme_rrssb_button_list()
- rrssb_get_buttons in ./
rrssb.module  - Returns a Drupal render array for the buttons.
 
File
- ./
rrssb.module, line 137  
Code
function theme_rrssb_button_list($variables) {
  $output = '<div class="rrssb-item-list">';
  if ($prefix = variable_get('rrssb_prefix')) {
    $output .= '<span class="rrssb-prefix">' . t($prefix) . '</span>';
  }
  $output .= '<ul class="rrssb-buttons">';
  $output .= drupal_render_children($variables['element']);
  $output .= '</ul></div>';
  return $output;
}