| @@ 526-546 (lines=21) @@ | ||
| 523 | $this->deleteRecordUrl($meetingDB) |
|
| 524 | ); |
|
| 525 | ||
| 526 | if ($meetingDB['visibility'] == 0) { |
|
| 527 | $actionLinks .= Display::url( |
|
| 528 | Display::return_icon( |
|
| 529 | 'invisible.png', |
|
| 530 | get_lang('MakeVisible'), |
|
| 531 | array(), |
|
| 532 | ICON_SIZE_MEDIUM |
|
| 533 | ), |
|
| 534 | $this->publishUrl($meetingDB) |
|
| 535 | ); |
|
| 536 | } else { |
|
| 537 | $actionLinks .= Display::url( |
|
| 538 | Display::return_icon( |
|
| 539 | 'visible.png', |
|
| 540 | get_lang('MakeInvisible'), |
|
| 541 | array(), |
|
| 542 | ICON_SIZE_MEDIUM |
|
| 543 | ), |
|
| 544 | $this->unPublishUrl($meetingDB) |
|
| 545 | ); |
|
| 546 | } |
|
| 547 | } |
|
| 548 | $count++; |
|
| 549 | $recordArray[] = $url; |
|
| @@ 576-598 (lines=23) @@ | ||
| 573 | } |
|
| 574 | } else { |
|
| 575 | $actionLinks = ''; |
|
| 576 | if ($this->isConferenceManager()) { |
|
| 577 | if ($meetingDB['visibility'] == 0) { |
|
| 578 | $actionLinks .= Display::url( |
|
| 579 | Display::return_icon( |
|
| 580 | 'invisible.png', |
|
| 581 | get_lang('MakeVisible'), |
|
| 582 | array(), |
|
| 583 | ICON_SIZE_MEDIUM |
|
| 584 | ), |
|
| 585 | $this->publishUrl($meetingDB) |
|
| 586 | ); |
|
| 587 | } else { |
|
| 588 | $actionLinks .= Display::url( |
|
| 589 | Display::return_icon( |
|
| 590 | 'visible.png', |
|
| 591 | get_lang('MakeInvisible'), |
|
| 592 | array(), |
|
| 593 | ICON_SIZE_MEDIUM |
|
| 594 | ), |
|
| 595 | $this->unPublishUrl($meetingDB) |
|
| 596 | ); |
|
| 597 | } |
|
| 598 | } |
|
| 599 | $actionLinksArray[] = $actionLinks; |
|
| 600 | $item['action_links'] = implode('<br />', $actionLinksArray); |
|
| 601 | } |
|