@@ 1115-1120 (lines=6) @@ | ||
1112 | $return_value = Display::return_icon('up_na.png', '-', array(), ICON_SIZE_SMALL); |
|
1113 | } |
|
1114 | ||
1115 | if ($position < $total_items) { |
|
1116 | $return_value .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&action=move&direction=down&content='.$content.'&forumcategory='.$forumCategory.'&id='.$id.'" title="'.get_lang('MoveDown').'" >'. |
|
1117 | Display::return_icon('down.png', get_lang('MoveDown'), array(), ICON_SIZE_SMALL).'</a>'; |
|
1118 | } else { |
|
1119 | $return_value .= Display::return_icon('down_na.png', '-', array(), ICON_SIZE_SMALL); |
|
1120 | } |
|
1121 | return $return_value; |
|
1122 | } |
|
1123 |
@@ 5761-5766 (lines=6) @@ | ||
5758 | $modify_icons .= ' ' . Display::return_icon('move_na.png', get_lang('Move'), array(), ICON_SIZE_SMALL) . '</a>'; |
|
5759 | } else { |
|
5760 | if ($sessionId) { |
|
5761 | if ($document_data['session_id'] == $sessionId) { |
|
5762 | $modify_icons .= ' <a href="' . api_get_self() . '?' . $courseParams . '&id=' . $parent_id . '&move=' . $document_id . '">' . |
|
5763 | Display::return_icon('move.png', get_lang('Move'), array(), ICON_SIZE_SMALL) . '</a>'; |
|
5764 | } else { |
|
5765 | $modify_icons .= ' ' . Display::return_icon('move_na.png', get_lang('Move'), array(), ICON_SIZE_SMALL) . '</a>'; |
|
5766 | } |
|
5767 | } else { |
|
5768 | $modify_icons .= ' <a href="' . api_get_self() . '?' . $courseParams . '&id=' . $parent_id . '&move=' . $document_id . '">' . |
|
5769 | Display::return_icon('move.png', get_lang('Move'), array(), ICON_SIZE_SMALL) . '</a>'; |
@@ 1145-1160 (lines=16) @@ | ||
1142 | } |
|
1143 | ||
1144 | // DISPLAY MOVE DOWN COMMAND only if it is not the bottom link. |
|
1145 | if ($currentCategory < $countCategories-1) { |
|
1146 | $tools .= '<a href="' . api_get_self() . '?' . api_get_cidreq() .'&sec_token=' . $token .'&action=down&down=' . $categoryId .'&category_id=' . $categoryId . '">'. |
|
1147 | Display:: return_icon( |
|
1148 | 'down.png', |
|
1149 | get_lang('Down'), |
|
1150 | array(), |
|
1151 | ICON_SIZE_SMALL |
|
1152 | ) . '</a>'; |
|
1153 | } else { |
|
1154 | $tools .= Display:: return_icon( |
|
1155 | 'down_na.png', |
|
1156 | get_lang('Down'), |
|
1157 | array(), |
|
1158 | ICON_SIZE_SMALL |
|
1159 | ) . '</a>'; |
|
1160 | } |
|
1161 | ||
1162 | $tools .= '<a href="' . api_get_self() . '?' . api_get_cidreq() .'&sec_token=' . $token .'&action=deletecategory&id='.$categoryId. "&category_id=$categoryId\" |
|
1163 | onclick=\"javascript: if(!confirm('" . get_lang('CategoryDelconfirm') . "')) return false;\">". |
@@ 2167-2174 (lines=8) @@ | ||
2164 | } |
|
2165 | } |
|
2166 | ||
2167 | if ($work['contains_file']) { |
|
2168 | if ($locked) { |
|
2169 | $action .= Display::return_icon('move_na.png', get_lang('Move'),array(), ICON_SIZE_SMALL); |
|
2170 | } else { |
|
2171 | $action .= '<a href="'.$url.'work.php?'.api_get_cidreq().'&action=move&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Move').'">'. |
|
2172 | Display::return_icon('move.png', get_lang('Move'),array(), ICON_SIZE_SMALL).'</a>'; |
|
2173 | } |
|
2174 | } |
|
2175 | ||
2176 | if ($work['accepted'] == '1') { |
|
2177 | $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').'" >'. |