| @@ 5669-5673 (lines=5) @@ | ||
| 5666 | ||
| 5667 | if ($is_allowed_to_edit) { |
|
| 5668 | if (!$update_audio || $update_audio <> 'true') { |
|
| 5669 | if ($arrLP[$i]['item_type'] !== TOOL_LP_FINAL_ITEM) { |
|
| 5670 | $move_icon .= '<a class="moved" href="#">'; |
|
| 5671 | $move_icon .= Display::return_icon('move_everywhere.png', get_lang('Move'), array(), ICON_SIZE_TINY); |
|
| 5672 | $move_icon .= '</a>'; |
|
| 5673 | } |
|
| 5674 | } |
|
| 5675 | ||
| 5676 | // No edit for this item types |
|
| @@ 3647-3651 (lines=5) @@ | ||
| 3644 | ||
| 3645 | $return .= '<div class="item_data" style="margin-left:' . ($num * 18) . 'px;margin-right:5px;">'; |
|
| 3646 | ||
| 3647 | if ($add_move_button) { |
|
| 3648 | $return .= '<a class="moved" href="#">'; |
|
| 3649 | $return .= Display::return_icon('move_everywhere.png', get_lang('Move'), array(), ICON_SIZE_TINY); |
|
| 3650 | $return .= '</a> '; |
|
| 3651 | } |
|
| 3652 | $return .= $link; |
|
| 3653 | $return .= '</div></li>'; |
|
| 3654 | ||