You are here

function theme_panels_pane_dnd in Panels 6.2

Same name and namespace in other branches
  1. 5.2 includes/display_edit.inc \theme_panels_pane_dnd()

Related topics

1 theme call to theme_panels_pane_dnd()
panels_show_pane in includes/display-edit.inc

File

includes/display-edit.inc, line 973

Code

function theme_panels_pane_dnd($block, $id, $label, $left_buttons = NULL, $buttons = NULL) {
  $output = '';
  if (!$block->title) {
    $block->title = t('No title');
  }
  static $count = 0;
  $output .= '<div class="grabber">';
  if ($buttons) {
    $output .= '<span class="buttons">' . $buttons . '</span>';
  }
  if ($left_buttons) {
    $output .= '<span class="left_buttons">' . $left_buttons . '</span>';
  }
  $output .= '<span class="text">' . $label . '</span></div>';
  $output .= '<div class="panel-pane-collapsible">';
  $output .= theme('panels_pane_collapsible', $block);
  $output .= '</div>';
  return $output;
}