You are here

function theme_panels_ipe_add_pane_button in Panels 7.3

Same name and namespace in other branches
  1. 6.3 panels_ipe/panels_ipe.module \theme_panels_ipe_add_pane_button()
1 theme call to theme_panels_ipe_add_pane_button()
panels_renderer_ipe::render_region in panels_ipe/plugins/display_renderers/panels_renderer_ipe.class.php
Add an 'empty' pane placeholder above all the normal panes.

File

panels_ipe/panels_ipe.module, line 222

Code

function theme_panels_ipe_add_pane_button($vars) {
  $attributes = array(
    'class' => array(
      'panels-ipe-linkbar',
      'inline',
    ),
  );
  $links = theme('links', array(
    'links' => $vars['links'],
    'attributes' => $attributes,
  ));
  return '<div class="panels-ipe-newblock panels-ipe-on">' . $links . '</div>';
}