| @@ 1098-1113 (lines=16) @@ | ||
| 1095 | } |
|
| 1096 | ||
| 1097 | // DISPLAY MOVE DOWN COMMAND only if it is not the bottom link. |
|
| 1098 | if ($currentCategory < $countCategories-1) { |
|
| 1099 | $tools .= '<a href="' . api_get_self() . '?' . api_get_cidreq() .'&sec_token=' . $token .'&action=down&down=' . $categoryId .'&category_id=' . $categoryId . '">'. |
|
| 1100 | Display:: return_icon( |
|
| 1101 | 'down.png', |
|
| 1102 | get_lang('Down'), |
|
| 1103 | array(), |
|
| 1104 | ICON_SIZE_SMALL |
|
| 1105 | ) . '</a>'; |
|
| 1106 | } else { |
|
| 1107 | $tools .= Display:: return_icon( |
|
| 1108 | 'down_na.png', |
|
| 1109 | get_lang('Down'), |
|
| 1110 | array(), |
|
| 1111 | ICON_SIZE_SMALL |
|
| 1112 | ) . '</a>'; |
|
| 1113 | } |
|
| 1114 | ||
| 1115 | $tools .= '<a href="' . api_get_self() . '?' . api_get_cidreq() .'&sec_token=' . $token .'&action=deletecategory&id='.$categoryId. "&category_id=$categoryId\" |
|
| 1116 | onclick=\"javascript: if(!confirm('" . get_lang('CategoryDelconfirm') . "')) return false;\">". |
|
| @@ 2226-2233 (lines=8) @@ | ||
| 2223 | } |
|
| 2224 | } |
|
| 2225 | ||
| 2226 | if ($work['contains_file']) { |
|
| 2227 | if ($locked) { |
|
| 2228 | $action .= Display::return_icon('move_na.png', get_lang('Move'),array(), ICON_SIZE_SMALL); |
|
| 2229 | } else { |
|
| 2230 | $action .= '<a href="'.$url.'work.php?'.api_get_cidreq().'&action=move&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Move').'">'. |
|
| 2231 | Display::return_icon('move.png', get_lang('Move'),array(), ICON_SIZE_SMALL).'</a>'; |
|
| 2232 | } |
|
| 2233 | } |
|
| 2234 | ||
| 2235 | if ($work['accepted'] == '1') { |
|
| 2236 | $action .= '<a href="'.$url.'work_list_all.php?'.api_get_cidreq().'&id='.$work_id.'&action=make_invisible&item_id='.$item_id.'" title="'.get_lang('Invisible').'" >'. |
|