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: admi_auth.fonct.php,v 1.1 2004-12-06 11:31:54 alex Exp $
|
24 |
// CVS : $Id: admi_auth.fonct.php,v 1.2 2004-12-06 12:43:21 alex Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Contient les fonctions de l'appli admin_auth
|
26 |
* Contient les fonctions de l'appli admin_auth
|
27 |
*
|
27 |
*
|
28 |
*
|
28 |
*
|
29 |
*
|
29 |
*
|
Line 33... |
Line 33... |
33 |
//Auteur original :
|
33 |
//Auteur original :
|
34 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
34 |
*@author Alexandre Granier <alexandre@tela-botanica.org>
|
35 |
//Autres auteurs :
|
35 |
//Autres auteurs :
|
36 |
*@author Aucun
|
36 |
*@author Aucun
|
37 |
*@copyright Tela-Botanica 2000-2004
|
37 |
*@copyright Tela-Botanica 2000-2004
|
38 |
*@version $Revision: 1.1 $
|
38 |
*@version $Revision: 1.2 $
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
40 |
*/
|
40 |
*/
|
Line 41... |
Line 41... |
41 |
|
41 |
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
// +------------------------------------------------------------------------------------------------------+
|
Line 100... |
Line 100... |
100 |
$tableau_retour['dsn'] = $ligne->gsab_dsn ;
|
100 |
$tableau_retour['dsn'] = $ligne->gsab_dsn ;
|
101 |
$tableau_retour['nom_table'] = $ligne->gsab_nom_table ;
|
101 |
$tableau_retour['nom_table'] = $ligne->gsab_nom_table ;
|
102 |
$tableau_retour['champs_login'] = $ligne->gsab_nom_champ_login ;
|
102 |
$tableau_retour['champs_login'] = $ligne->gsab_nom_champ_login ;
|
103 |
$tableau_retour['champs_passe'] = $ligne->gsab_nom_champ_mdp ;
|
103 |
$tableau_retour['champs_passe'] = $ligne->gsab_nom_champ_mdp ;
|
104 |
$tableau_retour['cryptage'] = $ligne->gsab_cryptage_mdp ;
|
104 |
$tableau_retour['cryptage'] = $ligne->gsab_cryptage_mdp ;
|
- |
|
105 |
$tableau_retour['parametres'] = $ligne->gsab_parametres ;
|
Line 105... |
Line 106... |
105 |
|
106 |
|
106 |
return $tableau_retour ;
|
107 |
return $tableau_retour ;
|
Line 107... |
Line 108... |
107 |
}
|
108 |
}
|
Line 180... |
Line 181... |
180 |
function requete_site_auth_bdd (&$valeur) {
|
181 |
function requete_site_auth_bdd (&$valeur) {
|
181 |
return 'gsab_dsn="'.$valeur['dsn'].'", '
|
182 |
return 'gsab_dsn="'.$valeur['dsn'].'", '
|
182 |
.'gsab_nom_table="'.$valeur['nom_table'].'", '
|
183 |
.'gsab_nom_table="'.$valeur['nom_table'].'", '
|
183 |
.'gsab_nom_champ_login="'.$valeur['champs_login'].'", '
|
184 |
.'gsab_nom_champ_login="'.$valeur['champs_login'].'", '
|
184 |
.'gsab_nom_champ_mdp="'.$valeur['champs_passe'].'", '
|
185 |
.'gsab_nom_champ_mdp="'.$valeur['champs_passe'].'", '
|
- |
|
186 |
.'gsab_parametres="'.$valeur['parametres'].'", '
|
185 |
.'gsab_cryptage_mdp="'.$valeur['cryptage'].'"';
|
187 |
.'gsab_cryptage_mdp="'.$valeur['cryptage'].'"';
|
186 |
}
|
188 |
}
|
187 |
// +------------------------------------------------------------------------------------------------------+
|
189 |
// +------------------------------------------------------------------------------------------------------+
|
188 |
// | PIED du PROGRAMME |
|
190 |
// | PIED du PROGRAMME |
|
189 |
// +------------------------------------------------------------------------------------------------------+
|
191 |
// +------------------------------------------------------------------------------------------------------+
|
Line 190... |
Line 192... |
190 |
|
192 |
|
191 |
|
193 |
|
192 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
194 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
- |
|
195 |
*
|
- |
|
196 |
* $Log: not supported by cvs2svn $
|
- |
|
197 |
* Revision 1.1 2004/12/06 11:31:54 alex
|
193 |
*
|
198 |
* version initiale
|
194 |
* $Log: not supported by cvs2svn $
|
199 |
*
|
195 |
*
|
200 |
*
|
196 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
201 |
* +-- Fin du code ----------------------------------------------------------------------------------------+
|
197 |
*/
|
202 |
*/
|