[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/modules/panels/plugins/styles/ -> naked.inc (source)

   1  <?php
   2  
   3  /**
   4   * @file
   5   * Definition of the 'naked' panel style.
   6   */
   7  
   8  // Plugin definition
   9  $plugin = array(
  10    'title' => t('No markup at all'),
  11    'description' => t('Display the pane with no markup, not even a title.'),
  12    'render pane' => 'panels_naked_style_render_pane',
  13    'weight' => -5,
  14  );
  15  
  16  /**
  17   * Render callback.
  18   *
  19   * @ingroup themeable
  20   */
  21  function theme_panels_naked_style_render_pane($content, $pane, $display) {
  22    return $content->content;
  23  }
  24  


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7