You are here

function theme_panels_ipe_placeholder_pane in Panels 7.3

Same name and namespace in other branches
  1. 6.3 panels_ipe/panels_ipe.module \theme_panels_ipe_placeholder_pane()

Theme the 'placeholder' pane, which is shown on an active IPE when no panes live in that region.

Parameters

string $region_id:

string $region_title:

1 theme call to theme_panels_ipe_placeholder_pane()
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 70

Code

function theme_panels_ipe_placeholder_pane($vars) {
  $region_id = $vars['region_id'];
  $region_title = $vars['region_title'];
  $output = '<div class="panels-ipe-placeholder-content">';
  $output .= "<h3>{$region_title}</h3>";
  $output .= '</div>';
  return $output;
}