diff --git a/common.inc.php b/common.inc.php index d3e1398..a5bd1b8 100644 --- a/common.inc.php +++ b/common.inc.php @@ -1142,7 +1142,7 @@ function message_push($m) $_SESSION['messages'][] = $m; } -function notice_($str, $timeout=5000, $i18n_array=array(), $type='notice') +function notice_($str, $i18n_array=array(), $timeout=-1, $type='notice') { if($timeout == -1) $timeout = 5000; echo ""; } -function happy_($str, $timeout=5000, $i18n_array=array()) +function happy_($str, $i18n_array=array(), $timeout=-1) { notice_($str, $timeout, $i18n_array, 'happy'); } -function error_($str, $timeout=5000, $i18n_array=array()) +function error_($str, $i18n_array=array(), $timeout=-1) { notice_($str, $timeout, $i18n_array, 'error'); }