|
@@ 2216-2224 (lines=9) @@
|
| 2213 |
|
} else { |
| 2214 |
|
$action .= Display::return_icon('edit_na.png', get_lang('Comment'),array(), ICON_SIZE_SMALL); |
| 2215 |
|
} |
| 2216 |
|
} else { |
| 2217 |
|
if ($qualification_exists) { |
| 2218 |
|
$action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Edit').'" >'. |
| 2219 |
|
Display::return_icon('rate_work.png', get_lang('CorrectAndRate'), array(), ICON_SIZE_SMALL).'</a>'; |
| 2220 |
|
} else { |
| 2221 |
|
$action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Modify').'">'. |
| 2222 |
|
Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>'; |
| 2223 |
|
} |
| 2224 |
|
} |
| 2225 |
|
|
| 2226 |
|
if ($work['contains_file']) { |
| 2227 |
|
if ($locked) { |
|
@@ 2235-2241 (lines=7) @@
|
| 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').'" >'. |
| 2237 |
|
Display::return_icon('visible.png', get_lang('Invisible'),array(), ICON_SIZE_SMALL).'</a>'; |
| 2238 |
|
} else { |
| 2239 |
|
$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').'" >'. |
| 2240 |
|
Display::return_icon('invisible.png', get_lang('Visible'),array(), ICON_SIZE_SMALL).'</a> '; |
| 2241 |
|
} |
| 2242 |
|
|
| 2243 |
|
if ($locked) { |
| 2244 |
|
$action .= Display::return_icon('delete_na.png', get_lang('Delete'), '', ICON_SIZE_SMALL); |