Add the operation detail in the dashboard, add a new function php for creating the needed html code for modifyOperation

This commit is contained in:
Dany De Bontridder 2010-07-04 19:00:32 +00:00
parent 5eb5de5f6d
commit cb1bbed8e2
5 changed files with 12 additions and 8 deletions

View file

@ -220,5 +220,11 @@ echo $string => {'prop':'1','prop2':'2','prop3':'3'};
$r='<A HREF="#" style="display:inline;color:black;background-color:red;padding-left:4px;padding-right:4px;text-decoration:none;" onmouseover="showBulle(\''.$p_comment.'\')" onclick="showBulle(\''.$p_comment.'\')" onmouseout="hideBulle(0)">XX</A>';
return $r;
}
/**
* return a string containing the html code for calling the modifyOperation
*/
static function detail_op($p_jr_id,$p_mesg) {
return sprintf('<A class="detail" HREF="javascript:modifyOperation(%d,%d)">%s</A>',
$p_jr_id,dossier::id(),$p_mesg);
}
}