block.inc File Reference

(1.1.2.1 2008/07/08 00:26:55 merlinofchaos)


Detailed Description

Definition of the 'default' panel style.

Definition in file block.inc.

Go to the source code of this file.

Functions

 panels_block_panels_styles ()
 theme_panels_block_style_render_pane ($content, $pane, $display)


Function Documentation

panels_block_panels_styles (  ) 

Implementation of hook_panels_style_info().

Definition at line 15 of file block.inc.

00015                                       {
00016   return array(
00017     'block' => array(
00018       'title' => t('System block'),
00019       'description' => t('Display the pane as a system block; this is more restrictive than the default.'),
00020       'render pane' => 'panels_block_style_render_pane',
00021     ),
00022   );
00023 }

theme_panels_block_style_render_pane ( content,
pane,
display 
)

Render callback.

Definition at line 33 of file block.inc.

00033                                                                          {
00034   if (!empty($content->title)) {
00035     $content->subject = $content->title;
00036   }
00037   return theme('block', $content);
00038 }


Generated on Sun Sep 5 05:00:15 2010 for Panels 2 by  doxygen 1.5.6