diff --git a/trunk/includes/class/class.LSsession.php b/trunk/includes/class/class.LSsession.php index 40b7a54d..a72c3b98 100644 --- a/trunk/includes/class/class.LSsession.php +++ b/trunk/includes/class/class.LSsession.php @@ -946,6 +946,40 @@ class LSsession { $this -> setTemplate('empty.tpl'); $GLOBALS['Smarty'] -> display($this -> template); } + + /** + * Affiche un retour Ajax + * + * @retval void + */ + function displayAjaxReturn($data=array()) { + $data['LSjsConfig'] = $this -> _JSconfigParams; + + // Infos + if((!empty($_SESSION['LSsession_infos']))&&(is_array($_SESSION['LSsession_infos']))) { + $txt_infos="