You are here

pane-rounded-shadow.tpl.php in Panels 6.3

Display the box for rounded corners.

  • $output: The content of the box.
  • $classes: The classes that must be applied to the top divs.
  • $pane: The pane being rendered
  • $display: The display being rendered
  • $content: The content being rendered (will be already in $output)

File

plugins/style_bases/pane/pane_rounded_shadow/pane-rounded-shadow.tpl.php
View source
<?php

/**
 * @file
 *
 * Display the box for rounded corners.
 *
 * - $output: The content of the box.
 * - $classes: The classes that must be applied to the top divs.
 * - $pane: The pane being rendered
 * - $display: The display being rendered
 * - $content: The content being rendered (will be already in $output)
 */
?>
<div class="rounded-shadow <?php

print $classes;
?>">
  <div class="rounded-shadow-background">
    <div class="rounded-shadow-wrap-corner">
      <div class="rounded-shadow-top-edge">
        <div class="rounded-shadow-left"></div>
        <div class="rounded-shadow-right"></div>
      </div>
      <div class="rounded-shadow-left-edge">
        <div class="rounded-shadow-right-edge clear-block">
          <?php

print $output;
?>
        </div>
      </div>
      <div class="rounded-shadow-bottom-edge">
      <div class="rounded-shadow-left"></div><div class="rounded-shadow-right"></div>
      </div>
    </div>
  </div>
</div>