default.inc 619 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * @file
  4. * Definition of the 'default' panel style.
  5. */
  6. // Plugin definition
  7. $plugin = array(
  8. 'title' => t('No style'),
  9. 'description' => t('The default panel rendering style; displays each pane with a separator.'),
  10. 'render region' => 'panels_default_style_render_region',
  11. );
  12. /**
  13. * Render callback.
  14. *
  15. * @ingroup themeable
  16. */
  17. function theme_panels_default_style_render_region($vars) {
  18. $output = '';
  19. // $output .= '<div class="region region-' . $vars['region_id'] . '">';
  20. $output .= implode('<div class="panel-separator"></div>', $vars['panes']);
  21. // $output .= '</div>';
  22. return $output;
  23. }