You are here

function theme_panels_list_style_render_panel in Panels 5.2

Same name and namespace in other branches
  1. 6.2 styles/list.inc \theme_panels_list_style_render_panel()

Render callback.

File

styles/list.inc, line 37
styles/list.inc Definition of the 'list' panel style.

Code

function theme_panels_list_style_render_panel($display, $panel_id, $panes, $settings) {
  $items = array();
  foreach ($panes as $pane_id => $content) {
    $item = panels_render_pane($content, $display->content[$pane_id], $display);
    if ($item) {
      $items[] = $item;
    }
  }
  return theme('item_list', $items, NULL, $settings['list_type']);
}