You are here

panels-clean_element-pane.tpl.php in Clean Markup 7.3

Displays a clean–markup-style panel pane.

Available variables:

  • $pane->type: the content type inside this pane
  • $pane->subtype: The subtype, if applicable. If a view it will be the view name; if a node it will be the nid, etc.
  • $title: The title of the content
  • $content: The actual content
  • $links: Any links associated with the content
  • $more: An optional 'more' link (destination only)
  • $admin_links: Administrative links associated with the content
  • $feeds: Any feed icons or associated with the content
  • $display: The complete panels display object containing all kinds of data including the contexts and all of the other panes being displayed.

File

modules/clean_markup_panels/plugins/styles/clean/panels-clean_element-pane.tpl.php
View source
<?php

/**
 * @file
 * Displays a clean–markup-style panel pane.
 *
 * Available variables:
 * - $pane->type: the content type inside this pane
 * - $pane->subtype: The subtype, if applicable. If a view it will be the
 *   view name; if a node it will be the nid, etc.
 * - $title: The title of the content
 * - $content: The actual content
 * - $links: Any links associated with the content
 * - $more: An optional 'more' link (destination only)
 * - $admin_links: Administrative links associated with the content
 * - $feeds: Any feed icons or associated with the content
 * - $display: The complete panels display object containing all kinds of
 *   data including the contexts and all of the other panes being displayed.
 *
 * @see template_preprocess_clean_markup_panels_clean_element()
 * @see template_preprocess_panels_pane()
 * @see panels-pane.tpl.php
 *
 * @ingroup themeable
 */
if ($pane_prefix) {
  ?>
  <?php

  print $pane_prefix;
}
if ($pane_wrapper) {
  ?><<?php

  print $pane_wrapper_tag;
  print $additional_attributes;
  ?> class="<?php

  print $classes . $clean_markup_classes;
  ?>" <?php

  print $id;
  ?>><?php

}
?>
  <?php

if ($inner_wrapper) {
  ?><div class="inner pane-inner"><?php

}
?>
    <?php

if ($admin_links) {
  ?>
      <?php

  print $admin_links;
  ?>
    <?php

}
?>

    <?php

print render($title_prefix);
?>
    <?php

if ($title) {
  ?>
      <<?php

  print $title_wrapper;
  print $title_attributes;
  ?>><?php

  print $title;
  ?></<?php

  print $title_wrapper;
  ?>>
    <?php

}
?>
    <?php

print render($title_suffix);
?>

    <?php

if ($feeds) {
  ?>
      <div class="feed">
        <?php

  print $feeds;
  ?>
      </div>
    <?php

}
?>

    <?php

if ($content_wrapper) {
  ?><<?php

  print $content_wrapper_tag;
  ?> <?php

  print $content_attributes;
  ?>><?php

}
?>
      <?php

print render($content);
?>
    <?php

if ($content_wrapper) {
  ?></<?php

  print $content_wrapper_tag;
  ?>><?php

}
?>

    <?php

if ($links) {
  ?>
      <div class="links">
        <?php

  print $links;
  ?>
      </div>
    <?php

}
?>

    <?php

if ($more) {
  ?>
      <div class="more-link">
        <?php

  print $more;
  ?>
      </div>
    <?php

}
?>
  <?php

if ($inner_wrapper) {
  ?></div><?php

}
if ($pane_wrapper) {
  ?></<?php

  print $pane_wrapper_tag;
  ?>><?php

}
if ($pane_suffix) {
  ?>
  <?php

  print $pane_suffix;
}