| 1 |
<?php |
<?php |
| 2 |
// $Id: advanced_profile_author-pane.tpl.php,v 1.3.4.11 2009/05/04 01:59:08 michellec Exp $ |
// $Id: advanced_profile_author-pane.tpl.php,v 1.3.4.12 2009/08/18 20:16:58 michellec Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 10 |
?> |
?> |
| 11 |
<div class="author-pane"> |
<div class="author-pane"> |
| 12 |
<div class="author-pane-inner"> |
<div class="author-pane-inner"> |
| 13 |
<div class="author-pane-name-status author-pane-section"> |
<?php /* General section */ ?> |
| 14 |
<?php if (!empty($facebook_status_status)): ?> |
<div class="author-pane-section author-pane-general"> |
|
<div class="author-pane-line author-facebook-status"><?php print $facebook_status_status; ?></div> |
|
|
<?php endif; ?> |
|
| 15 |
|
|
| 16 |
|
<?php /* Avatar (has div in variable) */ ?> |
| 17 |
<?php if (!empty($picture)): ?> |
<?php if (!empty($picture)): ?> |
| 18 |
<?php print $picture; ?> |
<?php print $picture; ?> |
| 19 |
<?php endif; ?> |
<?php endif; ?> |
| 20 |
|
|
| 21 |
<div class="author-pane-line author-pane-online"> |
<?php /* Online status */ ?> |
| 22 |
<span class="author-pane-online-icon"><?php print $online_icon; ?></span> |
<?php if (!empty($online_status)): ?> |
| 23 |
<span class="author-pane-online-status"><?php print $online_status; ?></span> |
<div class="author-pane-line <?php print $online_status_class ?>"> |
| 24 |
</div> |
<?php print $online_status; ?> |
| 25 |
|
</div> |
| 26 |
|
<?php endif; ?> |
| 27 |
|
|
| 28 |
|
<?php /* User title */ ?> |
| 29 |
<?php if (!empty($user_title)): ?> |
<?php if (!empty($user_title)): ?> |
| 30 |
<div class="author-pane-line author-title"> <?php print $user_title; ?> </div> |
<div class="author-pane-line author-title"> |
| 31 |
|
<?php print $user_title; ?> |
| 32 |
|
</div> |
| 33 |
<?php endif; ?> |
<?php endif; ?> |
| 34 |
|
|
| 35 |
|
<?php /* User badges */ ?> |
| 36 |
<?php if (!empty($user_badges)): ?> |
<?php if (!empty($user_badges)): ?> |
| 37 |
<div class="author-pane-line author-badges"> <?php print $user_badges; ?> </div> |
<div class="author-pane-line author-badges"> |
| 38 |
|
<?php print $user_badges; ?> |
| 39 |
|
</div> |
| 40 |
<?php endif; ?> |
<?php endif; ?> |
| 41 |
|
|
| 42 |
<?php if (!empty($location)): ?> |
<?php /* Location */ ?> |
| 43 |
<div class="author-pane-line author-location"> <?php print $location; ?> </div> |
<?php if (!empty($location_user_location)): ?> |
| 44 |
|
<div class="author-pane-line author-location"> |
| 45 |
|
<?php print $location_user_location; ?> |
| 46 |
|
</div> |
| 47 |
<?php endif; ?> |
<?php endif; ?> |
| 48 |
</div> |
|
| 49 |
|
<?php /* Joined */ ?> |
|
<div class="author-pane-stats author-pane-section"> |
|
| 50 |
<?php if (!empty($joined)): ?> |
<?php if (!empty($joined)): ?> |
| 51 |
<div class="author-pane-line author-joined"> |
<div class="author-pane-line author-joined"> |
| 52 |
<span class="author-pane-label"><?php print t('Joined'); ?>:</span> <?php print $joined; ?> |
<span class="author-pane-label"><?php print t('Joined'); ?>:</span> <?php print $joined; ?> |
| 53 |
</div> |
</div> |
| 54 |
<?php endif; ?> |
<?php endif; ?> |
| 55 |
|
|
| 56 |
|
<?php /* Posts */ ?> |
| 57 |
<?php if (isset($user_stats_posts)): ?> |
<?php if (isset($user_stats_posts)): ?> |
| 58 |
<div class="author-pane-line author-posts"> |
<div class="author-pane-line author-posts"> |
| 59 |
<span class="author-pane-label"><?php print t('Posts'); ?>:</span> <?php print $user_stats_posts; ?> |
<span class="author-pane-label"><?php print t('Posts'); ?>:</span> <?php print $user_stats_posts; ?> |
| 60 |
</div> |
</div> |
| 61 |
<?php endif; ?> |
<?php endif; ?> |
| 62 |
|
|
| 63 |
|
<?php /* Points */ ?> |
| 64 |
<?php if (isset($userpoints_points)): ?> |
<?php if (isset($userpoints_points)): ?> |
| 65 |
<div class="author-pane-line author-points"> |
<div class="author-pane-line author-points"> |
| 66 |
<span class="author-pane-label"><?php print t('!Points', userpoints_translation()); ?></span>: <?php print $userpoints_points; ?> |
<span class="author-pane-label"><?php print t('!Points', userpoints_translation()); ?></span>: <?php print $userpoints_points; ?> |
| 67 |
</div> |
</div> |
| 68 |
<?php endif; ?> |
<?php endif; ?> |
| 69 |
|
</div> |
| 70 |
|
|
| 71 |
|
<?php /* Contact section */ ?> |
| 72 |
|
<div class="author-pane-section author-pane-contact"> |
| 73 |
|
<?php /* Contact / Email */ ?> |
| 74 |
|
<?php if (!empty($contact_link)): ?> |
| 75 |
|
<div class="author-pane-line author-contact"> |
| 76 |
|
<?php print $contact_link; ?> |
| 77 |
|
</div> |
| 78 |
|
<?php endif; ?> |
| 79 |
|
|
| 80 |
<?php if (isset($og_groups)): ?> |
<?php /* Private message */ ?> |
| 81 |
<div class="author-pane-line author-groups"> |
<?php if (!empty($privatemsg_link)): ?> |
| 82 |
<span class="author-pane-label"><?php print t('Groups'); ?>:</span> <?php print $og_groups; ?> |
<div class="author-pane-line author-privatemsg"> |
| 83 |
|
<?php print $privatemsg_link; ?> |
| 84 |
|
</div> |
| 85 |
|
<?php endif; ?> |
| 86 |
|
|
| 87 |
|
<?php /* User relationships */ ?> |
| 88 |
|
<?php if (!empty($user_relationships_api_link)): ?> |
| 89 |
|
<div class="author-pane-line author-user-relationship"> |
| 90 |
|
<?php print $user_relationships_api_link; ?> |
| 91 |
|
</div> |
| 92 |
|
<?php endif; ?> |
| 93 |
|
|
| 94 |
|
<?php /* Flag friend */ ?> |
| 95 |
|
<?php if (!empty($flag_friend)): ?> |
| 96 |
|
<div class="author-pane-line"> |
| 97 |
|
<?php print $flag_friend; ?> |
| 98 |
</div> |
</div> |
| 99 |
<?php endif; ?> |
<?php endif; ?> |
| 100 |
</div> |
</div> |
| 101 |
|
|
| 102 |
<div class="author-pane-admin author-pane-section"> |
<?php /* Admin section */ ?> |
| 103 |
|
<div class="author-pane-section author-pane-admin"> |
| 104 |
|
<?php /* IP */ ?> |
| 105 |
<?php if (!empty($user_stats_ip)): ?> |
<?php if (!empty($user_stats_ip)): ?> |
| 106 |
<div class="author-pane-line author-ip"> |
<div class="author-pane-line author-ip"> |
| 107 |
<span class="author-pane-label"><?php print t('IP'); ?>:</span> <?php print $user_stats_ip; ?> |
<span class="author-pane-label"><?php print t('IP'); ?>:</span> <?php print $user_stats_ip; ?> |
| 108 |
</div> |
</div> |
| 109 |
<?php endif; ?> |
<?php endif; ?> |
| 110 |
|
|
| 111 |
<?php if (!empty($fasttoggle_block_author)): ?> |
<?php /* Fasttoggle block */ ?> |
| 112 |
|
<?php if (!empty($fasttoggle_block_author)): ?> |
| 113 |
<div class="author-fasttoggle-block"><?php print $fasttoggle_block_author; ?></div> |
<div class="author-fasttoggle-block"><?php print $fasttoggle_block_author; ?></div> |
| 114 |
<?php endif; ?> |
<?php endif; ?> |
| 115 |
|
|
| 116 |
|
<?php /* Troll ban */ ?> |
| 117 |
<?php if (!empty($troll_ban_author)): ?> |
<?php if (!empty($troll_ban_author)): ?> |
| 118 |
<div class="author-pane-line author-troll-ban"><?php print $troll_ban_author; ?></div> |
<div class="author-pane-line author-troll-ban"><?php print $troll_ban_author; ?></div> |
| 119 |
<?php endif; ?> |
<?php endif; ?> |
| 120 |
</div> |
</div> |
|
|
|
|
<div class="author-pane-contact author-pane-section"> |
|
|
<?php if (!empty($contact)): ?> |
|
|
<div class="author-pane-icon"><?php print $contact; ?></div> |
|
|
<?php endif; ?> |
|
|
|
|
|
<?php if (!empty($privatemsg)): ?> |
|
|
<div class="author-pane-icon"><?php print $privatemsg; ?></div> |
|
|
<?php endif; ?> |
|
|
|
|
|
<?php if (!empty($buddylist)): ?> |
|
|
<div class="author-pane-icon"><?php print $buddylist; ?></div> |
|
|
<?php endif; ?> |
|
|
|
|
|
<?php if (!empty($user_relationships_api)): ?> |
|
|
<div class="author-pane-icon"><?php print $user_relationships_api; ?></div> |
|
|
<?php endif; ?> |
|
|
|
|
|
<?php if (!empty($flag_friend)): ?> |
|
|
<div class="author-pane-icon"><?php print $flag_friend; ?></div> |
|
|
<?php endif; ?> |
|
|
</div> |
|
| 121 |
</div> |
</div> |
| 122 |
</div> |
</div> |