home | career | drupal | java | mac | mysql | perl | php | scala | uml | unix

Drupal example source code file (pane-rounded-shadow.tpl.php)

This example Drupal source code file (pane-rounded-shadow.tpl.php) is included in the DevDaily.com "Drupal Source Code Warehouse" project. The intent of this project is to help you "Learn Drupal by Example".

PHP - Drupal tags/keywords

class, clearfix, div, php, rounded-shadow-background, rounded-shadow-bottom-edge, rounded-shadow-left, rounded-shadow-left-edge, rounded-shadow-right, rounded-shadow-right-edge, rounded-shadow-top-edge, rounded-shadow-wrap-corner

The pane-rounded-shadow.tpl.php Drupal example source code

<?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 clearfix">
          <?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>

Other Drupal examples (source code examples)

Here is a short list of links related to this Drupal pane-rounded-shadow.tpl.php source code file:

new blog posts

"Drupal" is a registered trademark of Dries Buytaert.

my drupal tutorials and examples  

Copyright 1998-2016 Alvin Alexander, alvinalexander.com
All Rights Reserved.

Beginning in 2016, a portion of the proceeds from pages under the '/drupal-code-examples/' URI will be donated to charity.