advanced-forum.bootstrap.author-pane.tpl.php in Advanced Forum Bootstrap 7.3
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
styles/bootstrap/advanced-forum.bootstrap.author-pane.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.
*/
?>
<?php
// This bit of debugging info will show the full path to and name of this
// template file to make it easier to figure out which template is
// controlling which author pane.
if (!empty($show_template_location)) {
print __FILE__;
}
?>
<div class="author-pane">
<div class="author-pane-inner">
<?php
/* General section */
?>
<div class="author-pane-section author-pane-general">
<?php
/* Account name */
?>
<div class="author-pane-line author-name">
<?php
print $account_name;
?>
</div>
<?php
/* User picture / avatar (has div in variable) */
?>
<?php
if (!empty($picture)) {
?>
<?php
print $picture;
?>
<?php
}
?>
<?php
/* Online status */
?>
<?php
if (!empty($online_status)) {
?>
<div class="author-pane-line <?php
print $online_status_class;
?>">
<?php
print $online_status;
?>
</div>
<?php
}
?>
<?php
/* Last active */
?>
<?php
if (!empty($last_active)) {
?>
<div class="author-pane-line">
<span class="author-pane-label"><?php
print t('Last seen');
?>:</span> <?php
print t('!time ago', array(
'!time' => $last_active,
));
?>
</div>
<?php
}
?>
<?php
/* User title */
?>
<?php
if (!empty($user_title)) {
?>
<div class="author-pane-line author-title">
<span class="author-pane-label"><?php
print t('Title');
?>:</span> <?php
print $user_title;
?>
</div>
<?php
}
?>
<?php
/* User badges */
?>
<?php
if (!empty($user_badges)) {
?>
<div class="author-pane-line author-badges">
<?php
print $user_badges;
?>
</div>
<?php
}
?>
<?php
/* Joined */
?>
<?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
/* Posts */
?>
<?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
/* Points */
?>
<?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
}
?>
</div>
<?php
/* Contact section */
?>
<div class="author-pane-section author-pane-contact">
<?php
/* Contact / Email */
?>
<?php
if (!empty($contact)) {
?>
<div class="author-pane-line author-pane-link-line author-contact">
<?php
print $contact;
?>
</div>
<?php
}
?>
<?php
/* Private message */
?>
<?php
if (!empty($privatemsg)) {
?>
<div class="author-pane-line author-pane-link-line author-privatemsg">
<?php
print $privatemsg;
?>
</div>
<?php
}
?>
<?php
/* User relationships */
?>
<?php
if (!empty($user_relationships)) {
?>
<div class="author-pane-line author-pane-link-line author-user-relationship">
<?php
print $user_relationships;
?>
</div>
<?php
}
?>
<?php
/* Flag friend */
?>
<?php
if (!empty($flag_friend)) {
?>
<div class="author-pane-line author-pane-link-line author-flag-friend">
<?php
print $flag_friend;
?>
</div>
<?php
}
?>
</div>
<?php
/* Admin section */
?>
<div class="author-pane-section author-pane-admin">
<?php
/* IP */
?>
<?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
/* Fasttoggle block */
?>
<?php
if (!empty($fasttoggle_block_author)) {
?>
<div class="author-fasttoggle-block"><?php
print $fasttoggle_block_author;
?></div>
<?php
}
?>
</div>
</div>
</div>