author-pane-block.tpl.php in Author Pane 6
Same filename and directory in other branches
Theme implementation to display information about the post/profile author.
See author-pane.tpl.php in Author Pane module for a full list of variables.
File
author-pane-block.tpl.phpView source
<?php
/**
* @file
* Theme implementation to display information about the post/profile author.
*
* See author-pane.tpl.php in Author Pane module for a full list of variables.
*/
?>
<div class="author-pane">
<div class="author-pane-inner">
<div class="author-pane-name-status author-pane-section">
<div class="author-pane-line author-name"> <?php
print $account_name;
?> </div>
<?php
if (!empty($facebook_status_status)) {
?>
<div class="author-pane-line author-facebook-status"><?php
print $facebook_status_status;
?></div>
<?php
}
?>
<?php
if (!empty($picture)) {
?>
<?php
print $picture;
?>
<?php
}
?>
<div class="author-pane-line author-pane-online">
<span class="author-pane-online-icon"><?php
print $online_icon;
?></span>
<span class="author-pane-online-status"><?php
print $online_status;
?></span>
</div>
<?php
if (!empty($user_title)) {
?>
<div class="author-pane-line author-title"> <?php
print $user_title;
?> </div>
<?php
}
?>
<?php
if (!empty($user_badges)) {
?>
<div class="author-pane-line author-badges"> <?php
print $user_badges;
?> </div>
<?php
}
?>
<?php
if (!empty($location)) {
?>
<div class="author-pane-line author-location"> <?php
print $location;
?> </div>
<?php
}
?>
</div>
<div class="author-pane-stats author-pane-section">
<?php
if (!empty($joined)) {
?>
<div class="author-pane-line author-joined">
<span class="author-pane-label"><?php
print t('Joined');
?>:</span> <?php
print $joined;
?>
</div>
<?php
}
?>
<?php
if (isset($user_stats_posts)) {
?>
<div class="author-pane-line author-posts">
<span class="author-pane-label"><?php
print t('Posts');
?>:</span> <?php
print $user_stats_posts;
?>
</div>
<?php
}
?>
<?php
if (isset($userpoints_points)) {
?>
<div class="author-pane-line author-points">
<span class="author-pane-label"><?php
print t('!Points', userpoints_translation());
?></span>: <?php
print $userpoints_points;
?>
</div>
<?php
}
?>
<?php
if (isset($og_groups)) {
?>
<div class="author-pane-line author-groups">
<span class="author-pane-label"><?php
print t('Groups');
?>:</span> <?php
print $og_groups;
?>
</div>
<?php
}
?>
</div>
<div class="author-pane-admin author-pane-section">
<?php
if (!empty($user_stats_ip)) {
?>
<div class="author-pane-line author-ip">
<span class="author-pane-label"><?php
print t('IP');
?>:</span> <?php
print $user_stats_ip;
?>
</div>
<?php
}
?>
<?php
if (!empty($fasttoggle_block_author)) {
?>
<div class="author-fasttoggle-block"><?php
print $fasttoggle_block_author;
?></div>
<?php
}
?>
<?php
if (!empty($troll_ban_author)) {
?>
<div class="author-pane-line author-troll-ban"><?php
print $troll_ban_author;
?></div>
<?php
}
?>
</div>
<div class="author-pane-contact author-pane-section">
<?php
if (!empty($contact)) {
?>
<div class="author-pane-icon"><?php
print $contact;
?></div>
<?php
}
?>
<?php
if (!empty($privatemsg)) {
?>
<div class="author-pane-icon"><?php
print $privatemsg;
?></div>
<?php
}
?>
<?php
if (!empty($buddylist)) {
?>
<div class="author-pane-icon"><?php
print $buddylist;
?></div>
<?php
}
?>
<?php
if (!empty($user_relationships_api)) {
?>
<div class="author-pane-icon"><?php
print $user_relationships_api;
?></div>
<?php
}
?>
<?php
if (!empty($flag_friend)) {
?>
<div class="author-pane-icon"><?php
print $flag_friend;
?></div>
<?php
}
?>
</div>
</div>
</div>