| @@ 609-629 (lines=21) @@ | ||
| 606 | $this->deleteRecordUrl($meetingDB) |
|
| 607 | ); |
|
| 608 | ||
| 609 | if ($meetingDB['visibility'] == 0) { |
|
| 610 | $actionLinks .= Display::url( |
|
| 611 | Display::return_icon( |
|
| 612 | 'invisible.png', |
|
| 613 | get_lang('MakeVisible'), |
|
| 614 | array(), |
|
| 615 | ICON_SIZE_MEDIUM |
|
| 616 | ), |
|
| 617 | $this->publishUrl($meetingDB) |
|
| 618 | ); |
|
| 619 | } else { |
|
| 620 | $actionLinks .= Display::url( |
|
| 621 | Display::return_icon( |
|
| 622 | 'visible.png', |
|
| 623 | get_lang('MakeInvisible'), |
|
| 624 | array(), |
|
| 625 | ICON_SIZE_MEDIUM |
|
| 626 | ), |
|
| 627 | $this->unPublishUrl($meetingDB) |
|
| 628 | ); |
|
| 629 | } |
|
| 630 | } |
|
| 631 | $count++; |
|
| 632 | $recordArray[] = $url; |
|
| @@ 659-681 (lines=23) @@ | ||
| 656 | } |
|
| 657 | } else { |
|
| 658 | $actionLinks = ''; |
|
| 659 | if ($this->isConferenceManager()) { |
|
| 660 | if ($meetingDB['visibility'] == 0) { |
|
| 661 | $actionLinks .= Display::url( |
|
| 662 | Display::return_icon( |
|
| 663 | 'invisible.png', |
|
| 664 | get_lang('MakeVisible'), |
|
| 665 | array(), |
|
| 666 | ICON_SIZE_MEDIUM |
|
| 667 | ), |
|
| 668 | $this->publishUrl($meetingDB) |
|
| 669 | ); |
|
| 670 | } else { |
|
| 671 | $actionLinks .= Display::url( |
|
| 672 | Display::return_icon( |
|
| 673 | 'visible.png', |
|
| 674 | get_lang('MakeInvisible'), |
|
| 675 | array(), |
|
| 676 | ICON_SIZE_MEDIUM |
|
| 677 | ), |
|
| 678 | $this->unPublishUrl($meetingDB) |
|
| 679 | ); |
|
| 680 | } |
|
| 681 | } |
|
| 682 | $actionLinksArray[] = $actionLinks; |
|
| 683 | $item['action_links'] = implode('<br />', $actionLinksArray); |
|
| 684 | } |
|