| @@ 3786-3790 (lines=5) @@ | ||
| 3783 | ||
| 3784 | $return .= '<div class="item_data" style="margin-left:'.($num * 5).'px;margin-right:5px;">'; |
|
| 3785 | ||
| 3786 | if ($add_move_button) { |
|
| 3787 | $return .= '<a class="moved" href="#">'; |
|
| 3788 | $return .= Display::return_icon('move_everywhere.png', get_lang('Move'), array(), ICON_SIZE_TINY); |
|
| 3789 | $return .= '</a> '; |
|
| 3790 | } |
|
| 3791 | $return .= $link; |
|
| 3792 | $sessionStar = api_get_session_image($resource['session_id'], $userInfo['status']); |
|
| 3793 | $return .= $sessionStar; |
|
| @@ 5837-5841 (lines=5) @@ | ||
| 5834 | ||
| 5835 | if ($is_allowed_to_edit) { |
|
| 5836 | if (!$update_audio || $update_audio <> 'true') { |
|
| 5837 | if ($arrLP[$i]['item_type'] !== TOOL_LP_FINAL_ITEM) { |
|
| 5838 | $move_icon .= '<a class="moved" href="#">'; |
|
| 5839 | $move_icon .= Display::return_icon('move_everywhere.png', get_lang('Move'), array(), ICON_SIZE_TINY); |
|
| 5840 | $move_icon .= '</a>'; |
|
| 5841 | } |
|
| 5842 | } |
|
| 5843 | ||
| 5844 | // No edit for this item types |
|