content_profile-display-view.tpl.php in Content Profile 6
content-profile-display-view.tpl.php
Theme implementation to display a content-profile.
1 theme call to content_profile-display-view.tpl.php
- content_profile_show_profiles in ./
content_profile.module - Returns an array suitable for use with drupal_render, that shows all content_profiles as configured by the admin.
File
content_profile-display-view.tpl.phpView 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>