diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js index 52105418761cb2d5c216d1608d91909ff974efdf..ef59dac6fb89dce6b0f2cd26871ddb7184d66b08 100644 --- a/htdocs/lib/lib_head.js +++ b/htdocs/lib/lib_head.js @@ -665,4 +665,14 @@ function confirmDelete(linkurl,message,ok,cancel) { cancel:function(win){}, ok:function(win) {window.location.href=linkurl; return true;} }); +} + +/*================================================================= + Purpose: Affiche un message d'information + Input: linkurl,message,ok,cancel + Author: Regis Houssin + Licence: GPL +==================================================================*/ +function info(message) { + Dialog.info(message, {width:700}); } \ No newline at end of file