@@ 2128-2136 (lines=9) @@ | ||
2125 | } else { |
|
2126 | $action .= Display::return_icon('edit_na.png', get_lang('Comment'),array(), ICON_SIZE_SMALL); |
|
2127 | } |
|
2128 | } else { |
|
2129 | if ($qualification_exists) { |
|
2130 | $action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Edit').'" >'. |
|
2131 | Display::return_icon('rate_work.png', get_lang('CorrectAndRate'), array(), ICON_SIZE_SMALL).'</a>'; |
|
2132 | } else { |
|
2133 | $action .= '<a href="'.$url.'edit.php?'.api_get_cidreq().'&item_id='.$item_id.'&id='.$work['parent_id'].'" title="'.get_lang('Modify').'">'. |
|
2134 | Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>'; |
|
2135 | } |
|
2136 | } |
|
2137 | ||
2138 | if ($work['contains_file']) { |
|
2139 | if ($locked) { |
|
@@ 2147-2153 (lines=7) @@ | ||
2144 | } |
|
2145 | } |
|
2146 | ||
2147 | if ($work['accepted'] == '1') { |
|
2148 | $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').'" >'. |
|
2149 | Display::return_icon('visible.png', get_lang('Invisible'),array(), ICON_SIZE_SMALL).'</a>'; |
|
2150 | } else { |
|
2151 | $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').'" >'. |
|
2152 | Display::return_icon('invisible.png', get_lang('Visible'),array(), ICON_SIZE_SMALL).'</a> '; |
|
2153 | } |
|
2154 | ||
2155 | if ($locked) { |
|
2156 | $action .= Display::return_icon('delete_na.png', get_lang('Delete'), '', ICON_SIZE_SMALL); |