You are here

function theme_og_format_subscriber_status in Organic groups 6.2

Same name and namespace in other branches
  1. 5.8 og.module \theme_og_format_subscriber_status()
  2. 5 og.module \theme_og_format_subscriber_status()
  3. 5.2 og.module \theme_og_format_subscriber_status()
  4. 5.3 og.module \theme_og_format_subscriber_status()
  5. 5.7 og.module \theme_og_format_subscriber_status()
  6. 6 og.module \theme_og_format_subscriber_status()

Mark the current user's membership in a given group if it is pending.

@todo Maybe use a custom theme('mark') here? Move to theme.inc

1 theme call to theme_og_format_subscriber_status()
og_user in ./og.module
Implementation of hook_user().

File

./og.module, line 2819
Code for the Organic Groups module.

Code

function theme_og_format_subscriber_status($group) {
  if (!$group['is_active']) {
    return ' ' . t('(pending approval)');
  }
}