You are here

function theme_rounded_corners_box in Panels 5.2

Create the HTML for our rounded corner box.

Parameters

$text: The content of this rounded corner box.

Return value

The created HTML.

1 theme call to theme_rounded_corners_box()
theme_panels_rounded_corners_style_render_panel in styles/rounded_corners.inc
Render callback.

File

styles/rounded_corners.inc, line 209
styles/rounded_corners.inc Definition of the 'rounded_corners' panel style.

Code

function theme_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;
}