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.8 2005-11-02 13:51:50 ddelon Exp $ |
// CVS : $Id: iw_integrateur.fonct.php,v 1.9 2005-11-02 21:51:44 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.8 $ $Date: 2005-11-02 13:51:50 $ |
*@version $Revision: 1.9 $ $Date: 2005-11-02 21:51:44 $ |
* |
// +------------------------------------------------------------------------------------------------------+ |
// | ENTETE du PROGRAMME | |
256,7 → 256,13 |
// Appel à partir de Papyrus |
if ($user=='') { |
$remember=1; |
$_SESSION["user"]["name"] = ucfirst(strtolower($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom))).ucfirst(strtolower($GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom)));; |
$wiki_prenom=$GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_prenom); |
$wiki_prenom = strtolower(trim(strtr($wiki_prenom, "àâéêèëîïôöùûüç", "aaeeeeiioouuuc"))); |
$wiki_prenom = ucfirst($wiki_prenom); |
$wiki_nom=$GLOBALS['_GEN_commun']['pear_auth']->getAuthData($GLOBALS['_GEN_commun']['info_auth_bdd']->chp_personne_nom); |
$wiki_nom = strtolower(trim(strtr($wiki_nom, "àâéêèëîïôöùûüç", "aaeeeeiioouuuc"))); |
$wiki_nom = ucfirst($wiki_nom); |
$_SESSION["user"]["name"] = $wiki_prenom.$wiki_nom; |
$_SESSION["user"]["password"] = "wikini"; |
$_SESSION["user"]["changescount"] = 100; |
$this->SetPersistentCookie("name", $user["name"], $remember); |