You are here

function theme_user_badge_group in User Badges 6

Same name and namespace in other branches
  1. 5 user_badges.module \theme_user_badge_group()
  2. 6.2 user_badges.module \theme_user_badge_group()
  3. 7 user_badges.module \theme_user_badge_group()
  4. 7.2 user_badges.module \theme_user_badge_group()
  5. 7.3 user_badges.module \theme_user_badge_group()

Return html representation of a group of badges $badgeimages is an array of badge image tags from theme_user_badge()

5 theme calls to theme_user_badge_group()
user_badges_delete_form in ./user_badges.module
user_badges_for_uid in ./user_badges.module
Returns HTML representation of user badges for given uid
user_badges_for_user in ./user_badges.module
Get all user badges for a user.
user_badges_user in ./user_badges.module
Implements hook_user().
user_badges_userweight_page in ./user_badges.module
Define the page on user/uid/badges.

File

./user_badges.module, line 1057
@brief User Badges module file

Code

function theme_user_badge_group($badgeimages) {
  if (!empty($badgeimages)) {
    return '<div class="user_badges">' . implode('', $badgeimages) . '</div>';
  }
}