function panels_rounded_corners_box in Panels 6.2
Create the HTML for our rounded corner box.
Parameters
$text: The content of this rounded corner box.
Return value
The created HTML.
2 calls to panels_rounded_corners_box()
- theme_panels_rounded_corners_style_render_pane in styles/
rounded_corners.inc - Render callback for a single pane.
- theme_panels_rounded_corners_style_render_panel in styles/
rounded_corners.inc - Render callback.
File
- styles/
rounded_corners.inc, line 200 - styles/rounded_corners.inc Definition of the 'rounded_corners' panel style.
Code
function panels_rounded_corners_box($content) {
return <<<EOF
<div class="rounded_corner">
<div class="wrap-corner">
<div class="t-edge"><div class="l"></div><div class="r"></div></div>
<div class="l-edge">
<div class="r-edge">
{<span class="php-variable">$content</span>}
</div>
</div>
<div class="b-edge"><div class="l"></div><div class="r"></div></div>
</div>
</div>
EOF;
}