From eab9a252fbb17baaeddfa1ed9138a9ccefa3d649 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 22 May 2011 08:41:55 +0000 Subject: [PATCH] Fix: rename constante --- htdocs/lib/functions.lib.php | 4 ++-- htdocs/main.inc.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php index 8f6a1623345..9cfd86fad95 100644 --- a/htdocs/lib/functions.lib.php +++ b/htdocs/lib/functions.lib.php @@ -3673,7 +3673,7 @@ function get_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok', $keepemb $out=''; $divstart=$divend=''; - if (!empty($conf->global->MAIN_DONOT_JQUERY_JNOTIFY) && ! preg_match('/
/i',$out)) + if (! empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY) && ! preg_match('/
/i',$out)) { $divstart='
'; $divend='
'; @@ -3703,7 +3703,7 @@ function get_htmloutput_mesg($mesgstring='',$mesgarray='', $style='ok', $keepemb if ($out) { - if (empty($conf->global->MAIN_DONOT_USE_JQUERY_JNOTIFY) && empty($keepembedded)) + if (empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY) && empty($keepembedded)) { $return = ''."\n"; } // jQuery jnotify - if (empty($conf->global->MAIN_DONOT_USE_JQUERY_JNOTIFY)) print ''."\n"; + if (empty($conf->global->MAIN_DISABLE_JQUERY_JNOTIFY)) print ''."\n"; // Flot print ''."\n"; print ''."\n";