You are here

function theme_bbb_meeting_status in BigBlueButton 7

Same name and namespace in other branches
  1. 8 modules/bbb_node/bbb_node.module \theme_bbb_meeting_status()
  2. 6 bbb.module \theme_bbb_meeting_status()

Theme meeting status

2 theme calls to theme_bbb_meeting_status()
bbb_node_view in ./bbb.module
Implement HOOK_node_view().
theme_bbb_block_meeting in ./bbb.module
Theme meeting details block

File

./bbb.module, line 892
Big Blue Button - Enables universities and colleges to deliver a high-quality learning experience.

Code

function theme_bbb_meeting_status($meeting) {
  $meeting = $meeting['meeting'];
  if (isset($meeting->running) && $meeting->running) {
    $output = '<div class="bbb-status-is-running">' . t('Status: Meeting is in progress.') . '</div>';
  }
  else {
    $output = '<div class="bbb-status-is-not-running">' . t('Status: Meeting is not running') . '</div>';
  }
  return $output;
}