| @@ 575-595 (lines=21) @@ | ||
| 572 | $this->deleteRecordUrl($meetingDB) |
|
| 573 | ); |
|
| 574 | ||
| 575 | if ($meetingDB['visibility'] == 0) { |
|
| 576 | $actionLinks .= Display::url( |
|
| 577 | Display::return_icon( |
|
| 578 | 'invisible.png', |
|
| 579 | get_lang('MakeVisible'), |
|
| 580 | array(), |
|
| 581 | ICON_SIZE_MEDIUM |
|
| 582 | ), |
|
| 583 | $this->publishUrl($meetingDB) |
|
| 584 | ); |
|
| 585 | } else { |
|
| 586 | $actionLinks .= Display::url( |
|
| 587 | Display::return_icon( |
|
| 588 | 'visible.png', |
|
| 589 | get_lang('MakeInvisible'), |
|
| 590 | array(), |
|
| 591 | ICON_SIZE_MEDIUM |
|
| 592 | ), |
|
| 593 | $this->unPublishUrl($meetingDB) |
|
| 594 | ); |
|
| 595 | } |
|
| 596 | } |
|
| 597 | $count++; |
|
| 598 | $recordArray[] = $url; |
|
| @@ 625-647 (lines=23) @@ | ||
| 622 | } |
|
| 623 | } else { |
|
| 624 | $actionLinks = ''; |
|
| 625 | if ($this->isConferenceManager()) { |
|
| 626 | if ($meetingDB['visibility'] == 0) { |
|
| 627 | $actionLinks .= Display::url( |
|
| 628 | Display::return_icon( |
|
| 629 | 'invisible.png', |
|
| 630 | get_lang('MakeVisible'), |
|
| 631 | array(), |
|
| 632 | ICON_SIZE_MEDIUM |
|
| 633 | ), |
|
| 634 | $this->publishUrl($meetingDB) |
|
| 635 | ); |
|
| 636 | } else { |
|
| 637 | $actionLinks .= Display::url( |
|
| 638 | Display::return_icon( |
|
| 639 | 'visible.png', |
|
| 640 | get_lang('MakeInvisible'), |
|
| 641 | array(), |
|
| 642 | ICON_SIZE_MEDIUM |
|
| 643 | ), |
|
| 644 | $this->unPublishUrl($meetingDB) |
|
| 645 | ); |
|
| 646 | } |
|
| 647 | } |
|
| 648 | $actionLinksArray[] = $actionLinks; |
|
| 649 | $item['action_links'] = implode('<br />', $actionLinksArray); |
|
| 650 | } |
|