/[drupal]/contributions/modules/panels/plugins/styles/corners/rounded_corners.inc
ViewVC logotype

Diff of /contributions/modules/panels/plugins/styles/corners/rounded_corners.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.7, Tue Jul 21 21:23:24 2009 UTC revision 1.1.2.8, Tue Oct 27 22:56:39 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: rounded_corners.inc,v 1.1.2.6 2009/06/13 19:10:30 merlinofchaos Exp $  // $Id: rounded_corners.inc,v 1.1.2.7 2009/07/21 21:23:24 merlinofchaos Exp $
3    
4  /**  /**
5   * @file styles/rounded_corners.inc   * @file styles/rounded_corners.inc
# Line 86  function panels_add_rounded_corners_css( Line 86  function panels_add_rounded_corners_css(
86   * Render callback for a single pane.   * Render callback for a single pane.
87   */   */
88  function theme_panels_rounded_corners_style_render_pane($content, $pane, $display) {  function theme_panels_rounded_corners_style_render_pane($content, $pane, $display) {
89    $output = theme('panels_pane', $content, $pane, $display);    if (empty($content->content) {
   
   if (!$output) {  
90      return;      return;
91    }    }
92    
93      $output = theme('panels_pane', $content, $pane, $display);
94    
95    // Just stick a box around the standard theme_panels_pane.    // Just stick a box around the standard theme_panels_pane.
96    $output = theme('panels_rounded_corners_box', $output);    $output = theme('panels_rounded_corners_box', $output);
97    panels_add_rounded_corners_css($display, 'pane');    panels_add_rounded_corners_css($display, 'pane');

Legend:
Removed from v.1.1.2.7  
changed lines
  Added in v.1.1.2.8

  ViewVC Help
Powered by ViewVC 1.1.2