|
@@ -1154,9 +1154,10 @@ class Display {
|
|
|
} else {
|
|
|
$my_course['id_session'] = $course_info['id_session'];
|
|
|
}
|
|
|
+ //$label = get_lang(ucfirst($notification['tool'])).' '.get_lang('_title_notification').": ".get_lang($type)." ($lastDate)";
|
|
|
+ $label = get_lang('_title_notification').": ".get_lang($type)." ($lastDate)";
|
|
|
$retvalue .= '<a href="'.api_get_path(WEB_CODE_PATH).$notification['link'].'?cidReq='.$course_code.'&ref='.$notification['ref'].'&gidReq='.$notification['to_group_id'].'&id_session='.$my_course['id_session'].'">'.
|
|
|
- '<img title="-- '.get_lang(ucfirst($notification['tool'])).' -- '.get_lang('_title_notification').": ".get_lang($type)." ($lastDate).\"".' src="'.api_get_path(WEB_CODE_PATH).'img/'.$notification['image'].'" border="0" align="absbottom" />
|
|
|
- </a> ';
|
|
|
+ Display::return_icon($notification['image'], $label).'</a> ';
|
|
|
}
|
|
|
return $retvalue;
|
|
|
}
|