Subversion Repositories Applications.papyrus

Rev

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

Rev 676 Rev 677
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.12 2005-12-27 15:28:18 ddelon Exp $
24
// CVS : $Id: iw_integrateur.fonct.php,v 1.13 2005-12-27 17:25:23 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.12 $ $Date: 2005-12-27 15:28:18 $
36
*@version       $Revision: 1.13 $ $Date: 2005-12-27 17:25:23 $
37
*
37
*
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
39
// |                                            ENTETE du PROGRAMME                                       |
39
// |                                            ENTETE du PROGRAMME                                       |
40
// +------------------------------------------------------------------------------------------------------+
40
// +------------------------------------------------------------------------------------------------------+
Line 254... Line 254...
254
 
254
 
255
	function SetUser($user, $remember) {
255
	function SetUser($user, $remember) {
256
			// Appel à partir de Papyrus
256
			// Appel à partir de Papyrus
257
				if ($user=='') {
257
				if ($user=='') {
258
					$remember=1;
-
 
259
					// Faire une fonction ...
258
					$remember=1;
260
					$wiki_prenom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom));
259
					$wiki_prenom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom));
Line 261... Line 260...
261
					$wiki_nom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom));
260
					$wiki_nom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom));
262
 
261
 
Line 271... Line 270...
271
					parent::Setuser($user,$remember);
270
					parent::Setuser($user,$remember);
272
				}
271
				}
Line 273... Line 272...
273
 
272
 
Line -... Line 273...
-
 
273
	}
-
 
274
 
-
 
275
	function LoadUser($name, $password = 0) {
-
 
276
		 return true; 
274
	}
277
	}
275
 
278
 
276
	function LogoutUser() {
279
	function LogoutUser() {
277
		$_SESSION["user"]="";
280
		$_SESSION["user"]="";
278
		$this->DeleteCookie("remember");
281
		$this->DeleteCookie("remember");
-
 
282
		parent::LogoutUser();
-
 
283
	}
Line 279... Line 284...
279
		parent::LogoutUser();
284
	
280
	}
285
	
281
 
286
 
282
	function versChatMot($entree) {
287
	function versChatMot($entree) {