You are here

content_profile-display-view.tpl.php in Content Profile 6

content-profile-display-view.tpl.php

Theme implementation to display a content-profile.

File

content_profile-display-view.tpl.php
View source
<?php

/**
 * @file content-profile-display-view.tpl.php
 *
 * Theme implementation to display a content-profile.
 */
if (isset($title)) {
  ?>
  <h3 class="content-profile-title" id="content-profile-title-<?php

  print $type;
  ?>">
  <?php

  print $title;
  ?>
  </h3>
<?php

}
?>
<div class="content-profile-display" id="content-profile-display-<?php

print $type;
?>">
  <?php

if (isset($tabs)) {
  ?>
    <ul class="tabs content-profile">
      <?php

  foreach ($tabs as $tab) {
    ?>
        <?php

    if ($tab) {
      ?>
          <li><?php

      print $tab;
      ?></li>
        <?php

    }
    ?>
      <?php

  }
  ?>
    </ul>
  <?php

}
?>
  <?php

if (isset($node->nid) && isset($content)) {
  ?>
    <?php

  print $content;
  ?>
  <?php

}
?>
</div>