Projet

Général

Profil

Paste
Télécharger (619 octets) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / panels / plugins / styles / default.inc @ 64156087

1
<?php
2

    
3
/**
4
 * @file
5
 * Definition of the 'default' panel style.
6
 */
7

    
8
// Plugin definition.
9
$plugin = array(
10
  'title' => t('No style'),
11
  'description' => t('The default panel rendering style; displays each pane with a separator.'),
12
  'render region' => 'panels_default_style_render_region',
13
);
14

    
15
/**
16
 * Render callback.
17
 *
18
 * @ingroup themeable
19
 */
20
function theme_panels_default_style_render_region($vars) {
21
  $output = '';
22
//  $output .= '<div class="region region-' . $vars['region_id'] . '">';
23
  $output .= implode('<div class="panel-separator"></div>', $vars['panes']);
24
//  $output .= '</div>';
25
  return $output;
26
}