@@ 2145-2153 (lines=9) @@ | ||
2142 | } else { |
|
2143 | $action .= Display::return_icon('edit_na.png', get_lang('Comment'), array(), ICON_SIZE_SMALL); |
|
2144 | } |
|
2145 | } else { |
|
2146 | if ($qualification_exists) { |
|
2147 | $action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Edit').'" >'. |
|
2148 | Display::return_icon('rate_work.png', get_lang('CorrectAndRate'), array(), ICON_SIZE_SMALL).'</a>'; |
|
2149 | } else { |
|
2150 | $action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Modify').'">'. |
|
2151 | Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>'; |
|
2152 | } |
|
2153 | } |
|
2154 | ||
2155 | if ($work['contains_file']) { |
|
2156 | if ($locked) { |
|
@@ 2164-2170 (lines=7) @@ | ||
2161 | } |
|
2162 | } |
|
2163 | ||
2164 | if ($work['accepted'] == '1') { |
|
2165 | $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').'" >'. |
|
2166 | Display::return_icon('visible.png', get_lang('Invisible'),array(), ICON_SIZE_SMALL).'</a>'; |
|
2167 | } else { |
|
2168 | $action .= '<a href="'.$url.'work_list_all.php?'.api_get_cidreq().'&id='.$work_id.'&action=make_visible&item_id='.$item_id.'" title="'.get_lang('Visible').'" >'. |
|
2169 | Display::return_icon('invisible.png', get_lang('Visible'),array(), ICON_SIZE_SMALL).'</a> '; |
|
2170 | } |
|
2171 | ||
2172 | if ($locked) { |
|
2173 | $action .= Display::return_icon('delete_na.png', get_lang('Delete'), '', ICON_SIZE_SMALL); |