Update functions.lib.php
This commit is contained in:
parent
d347cf3a85
commit
9bb1572e63
@ -6529,7 +6529,7 @@ function get_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok', $keepemb
|
|||||||
/**
|
/**
|
||||||
* Get formated error messages to output (Used to show messages on html output).
|
* Get formated error messages to output (Used to show messages on html output).
|
||||||
*
|
*
|
||||||
* @param string $mesgstring Error message
|
* @param string $mesgstring Error message
|
||||||
* @param array $mesgarray Error messages array
|
* @param array $mesgarray Error messages array
|
||||||
* @param int $keepembedded Set to 1 in error message must be kept embedded into its html place (this disable jnotify)
|
* @param int $keepembedded Set to 1 in error message must be kept embedded into its html place (this disable jnotify)
|
||||||
* @return string Return html output
|
* @return string Return html output
|
||||||
@ -6537,7 +6537,7 @@ function get_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok', $keepemb
|
|||||||
* @see dol_print_error
|
* @see dol_print_error
|
||||||
* @see dol_htmloutput_mesg
|
* @see dol_htmloutput_mesg
|
||||||
*/
|
*/
|
||||||
function get_htmloutput_errors($mesgstring='', $mesgarray='', $keepembedded=0)
|
function get_htmloutput_errors($mesgstring='', $mesgarray=array(), $keepembedded=0)
|
||||||
{
|
{
|
||||||
return get_htmloutput_mesg($mesgstring, $mesgarray,'error',$keepembedded);
|
return get_htmloutput_mesg($mesgstring, $mesgarray,'error',$keepembedded);
|
||||||
}
|
}
|
||||||
@ -6547,15 +6547,15 @@ function get_htmloutput_errors($mesgstring='', $mesgarray='', $keepembedded=0)
|
|||||||
*
|
*
|
||||||
* @param string $mesgstring Message string or message key
|
* @param string $mesgstring Message string or message key
|
||||||
* @param string[] $mesgarray Array of message strings or message keys
|
* @param string[] $mesgarray Array of message strings or message keys
|
||||||
* @param string $style Which style to use ('ok', 'warning', 'error')
|
* @param string $style Which style to use ('ok', 'warning', 'error')
|
||||||
* @param int $keepembedded Set to 1 if message must be kept embedded into its html place (this disable jnotify)
|
* @param int $keepembedded Set to 1 if message must be kept embedded into its html place (this disable jnotify)
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @see dol_print_error
|
* @see dol_print_error
|
||||||
* @see dol_htmloutput_errors
|
* @see dol_htmloutput_errors
|
||||||
* @see setEventMessages
|
* @see setEventMessages
|
||||||
*/
|
*/
|
||||||
function dol_htmloutput_mesg($mesgstring = '',$mesgarray = [], $style = 'ok', $keepembedded=0)
|
function dol_htmloutput_mesg($mesgstring = '',$mesgarray = array(), $style = 'ok', $keepembedded=0)
|
||||||
{
|
{
|
||||||
if (empty($mesgstring) && (! is_array($mesgarray) || count($mesgarray) == 0)) return;
|
if (empty($mesgstring) && (! is_array($mesgarray) || count($mesgarray) == 0)) return;
|
||||||
|
|
||||||
@ -6609,7 +6609,7 @@ function dol_htmloutput_mesg($mesgstring = '',$mesgarray = [], $style = 'ok', $k
|
|||||||
* @see dol_print_error
|
* @see dol_print_error
|
||||||
* @see dol_htmloutput_mesg
|
* @see dol_htmloutput_mesg
|
||||||
*/
|
*/
|
||||||
function dol_htmloutput_errors($mesgstring='', $mesgarray='', $keepembedded=0)
|
function dol_htmloutput_errors($mesgstring='', $mesgarray=array(), $keepembedded=0)
|
||||||
{
|
{
|
||||||
dol_htmloutput_mesg($mesgstring, $mesgarray, 'error', $keepembedded);
|
dol_htmloutput_mesg($mesgstring, $mesgarray, 'error', $keepembedded);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user