Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 676 → Rev 677

/trunk/client/integrateur_wikini/bibliotheque/iw_integrateur.fonct.php
21,7 → 21,7
// | along with Foobar; if not, write to the Free Software |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
// +------------------------------------------------------------------------------------------------------+
// CVS : $Id: iw_integrateur.fonct.php,v 1.12 2005-12-27 15:28:18 ddelon Exp $
// CVS : $Id: iw_integrateur.fonct.php,v 1.13 2005-12-27 17:25:23 ddelon Exp $
/**
* Fonctions de l'integrateur de page Wikini
*
33,7 → 33,7
//Autres auteurs :
*@author Aucun
*@copyright Tela-Botanica 2000-2004
*@version $Revision: 1.12 $ $Date: 2005-12-27 15:28:18 $
*@version $Revision: 1.13 $ $Date: 2005-12-27 17:25:23 $
*
// +------------------------------------------------------------------------------------------------------+
// | ENTETE du PROGRAMME |
256,7 → 256,6
// Appel à partir de Papyrus
if ($user=='') {
$remember=1;
// Faire une fonction ...
$wiki_prenom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom));
$wiki_nom=$this->versChatMot($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom));
 
273,11 → 272,17
 
}
 
function LoadUser($name, $password = 0) {
return true;
}
 
function LogoutUser() {
$_SESSION["user"]="";
$this->DeleteCookie("remember");
parent::LogoutUser();
}
 
function versChatMot($entree) {
$sortie = strtolower(trim(strtr($entree, "àâéêèëîïôöùûüç-", "aaeeeeiioouuuc ")));