Subversion Repositories Applications.papyrus

Rev

Rev 1694 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1694 Rev 1831
Line 19... Line 19...
19
// |                                                                                                      |
19
// |                                                                                                      |
20
// | You should have received a copy of the GNU General Public License                                    |
20
// | You should have received a copy of the GNU General Public License                                    |
21
// | along with Foobar; if not, write to the Free Software                                                |
21
// | along with Foobar; if not, write to the Free Software                                                |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
22
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
23
// +------------------------------------------------------------------------------------------------------+
23
// +------------------------------------------------------------------------------------------------------+
24
// CVS : $Id: iw_integrateur.fonct.php,v 1.20 2007-11-19 09:54:20 ddelon Exp $
24
// CVS : $Id: iw_integrateur.fonct.php,v 1.21 2008-04-21 10:51:00 ddelon Exp $
25
/**
25
/**
26
* Fonctions de l'integrateur de page Wikini
26
* Fonctions de l'integrateur de page Wikini
27
*
27
*
28
* Application permettant d'intégrer des pages wikini dans Papyrus.
28
* Application permettant d'intégrer des pages wikini dans Papyrus.
29
*
29
*
Line 31... Line 31...
31
//Auteur original :
31
//Auteur original :
32
*@author        David Delon <david.delon@clapas.net>
32
*@author        David Delon <david.delon@clapas.net>
33
//Autres auteurs :
33
//Autres auteurs :
34
*@author        Aucun
34
*@author        Aucun
35
*@copyright     Tela-Botanica 2000-2004
35
*@copyright     Tela-Botanica 2000-2004
36
*@version       $Revision: 1.20 $ $Date: 2007-11-19 09:54:20 $
36
*@version       $Revision: 1.21 $ $Date: 2008-04-21 10:51:00 $
37
*
37
*
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 364... Line 364...
364
	function LoadUser($name, $password = 0) {
364
	function LoadUser($name, $password = 0) {
365
		 return true; 
365
		 return true; 
366
	}
366
	}
Line 367... Line 367...
367
 
367
 
-
 
368
	function LogoutUser() {
-
 
369
	            unset($_SESSION["user"]["name"]);
-
 
370
                unset($_SESSION["user"]["password"]);
-
 
371
                unset($_SESSION["user"]["changescount"]);
-
 
372
                $this->DeleteCookie("name");
-
 
373
                $this->DeleteCookie("password");
-
 
374
                $this->DeleteCookie("remember");
-
 
375
                unset($_COOKIE["name"]);
368
	function LogoutUser() {
376
		
369
		$_SESSION["user"]="";
377
		$_SESSION["user"]="";
370
		$this->DeleteCookie("remember");
378
		$this->DeleteCookie("remember");
371
		parent::LogoutUser();
379
		parent::LogoutUser();