|
|
|
@ -610,6 +610,33 @@ class bbb |
|
|
|
$actionLinks = $this->getActionLinks($meetingDB, $record, $isGlobal, $isAdminReport); |
|
|
|
$actionLinks = $this->getActionLinks($meetingDB, $record, $isGlobal, $isAdminReport); |
|
|
|
$item['show_links'] = $recordLink; |
|
|
|
$item['show_links'] = $recordLink; |
|
|
|
$item['action_links'] = implode(PHP_EOL, $actionLinks); |
|
|
|
$item['action_links'] = implode(PHP_EOL, $actionLinks); |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
$isVisible = $meetingDB['visibility'] != 0; |
|
|
|
|
|
|
|
$linkVisibility = $isVisible |
|
|
|
|
|
|
|
? Display::url( |
|
|
|
|
|
|
|
Display::return_icon('visible.png', get_lang('MakeInvisible')), |
|
|
|
|
|
|
|
$this->unPublishUrl($meetingDB) |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
: Display::url( |
|
|
|
|
|
|
|
Display::return_icon('invisible.png', get_lang('MakeVisible')), |
|
|
|
|
|
|
|
$this->publishUrl($meetingDB) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
$links = []; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$isAdminReport) { |
|
|
|
|
|
|
|
$links[] = Display::url( |
|
|
|
|
|
|
|
Display::return_icon('delete.png', get_lang('Delete')), |
|
|
|
|
|
|
|
$this->deleteRecordUrl($meetingDB) |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
$links[] = $linkVisibility; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
$links[] = Display::url( |
|
|
|
|
|
|
|
Display::return_icon('course_home.png', get_lang('GoToCourse')), |
|
|
|
|
|
|
|
$this->getListingUrl() |
|
|
|
|
|
|
|
); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
$item['show_links'] = get_lang('NoRecording'); |
|
|
|
|
|
|
|
$item['action_links'] = implode(PHP_EOL, $links); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$item['created_at'] = api_convert_and_format_date($meetingDB['created_at']); |
|
|
|
$item['created_at'] = api_convert_and_format_date($meetingDB['created_at']); |
|
|
|
@ -1113,6 +1140,10 @@ class bbb |
|
|
|
|
|
|
|
|
|
|
|
if (empty($recordInfo)) { |
|
|
|
if (empty($recordInfo)) { |
|
|
|
if (!$isAdminReport) { |
|
|
|
if (!$isAdminReport) { |
|
|
|
|
|
|
|
$links[] = Display::url( |
|
|
|
|
|
|
|
Display::return_icon('delete.png', get_lang('Delete')), |
|
|
|
|
|
|
|
$this->deleteRecordUrl($meetingInfo) |
|
|
|
|
|
|
|
); |
|
|
|
$links[] = $linkVisibility; |
|
|
|
$links[] = $linkVisibility; |
|
|
|
|
|
|
|
|
|
|
|
return $links; |
|
|
|
return $links; |
|
|
|
|