Subversion Repositories Applications.papyrus

Rev

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

Rev 1298 Rev 1343
Line 17... Line 17...
17
// |                                                                                                      |
17
// |                                                                                                      |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
18
// | You should have received a copy of the GNU Lesser General Public                                     |
19
// | License along with this library; if not, write to the Free Software                                  |
19
// | License along with this library; if not, write to the Free Software                                  |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
20
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                            |
21
// +------------------------------------------------------------------------------------------------------+
21
// +------------------------------------------------------------------------------------------------------+
22
// CVS : $Id: inscription.fonct.php,v 1.27 2007-04-11 08:30:12 neiluj Exp $
-
 
23
// CVS : $Id: inscription.fonct.php,v 1.27 2007-04-11 08:30:12 neiluj Exp $
22
// CVS : $Id: inscription.fonct.php,v 1.28 2007-04-20 08:39:37 alexandre_tb Exp $
24
/**
23
/**
25
* Fonctions du module inscription
24
* Fonctions du module inscription
26
*
25
*
27
* Fonctions du module inscription
26
* Fonctions du module inscription
28
*
27
*
Line 30... Line 29...
30
//Auteur original :
29
//Auteur original :
31
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
32
//Autres auteurs :
31
//Autres auteurs :
33
*@author        Florian Schmitt <florian@ecole-et-nature.org>
32
*@author        Florian Schmitt <florian@ecole-et-nature.org>
34
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
35
*@version       $Revision: 1.27 $ $Date: 2007-04-11 08:30:12 $
-
 
36
*@version       $Revision: 1.27 $ $Date: 2007-04-11 08:30:12 $
34
*@version       $Revision: 1.28 $ $Date: 2007-04-20 08:39:37 $
37
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
38
*/
36
*/
Line 39... Line 37...
39
 
37
 
40
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 81... Line 79...
81
        $url = 'http://'.$GLOBALS['ins_url']->host.'/'.INS_URL_PREFIXE.$chaine ;
79
        $url = 'http://'.$GLOBALS['ins_url']->host.'/'.INS_URL_PREFIXE.$chaine ;
82
    } else {
80
    } else {
83
        $url = str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL()) ;
81
        $url = str_replace ('&amp;', '&', $GLOBALS['ins_url']->getURL()) ;
84
    }
82
    }
Line 85... Line 83...
85
    
83
    
86
    require_once PAP_CHEMIN_RACINE.'api/pear/HTML/Template/IT.php';
84
    require_once PAP_CHEMIN_API_PEAR.'HTML/Template/IT.php';
87
    $tpl = new HTML_Template_IT() ;
85
    $tpl = new HTML_Template_IT() ;
88
    // Le gabarit du mail est dans un template
86
    // Le gabarit du mail est dans un template
89
    // template 2
87
    // template 2
90
    $requete = 'select it_template from inscription_template where it_id_template=2'.
88
    $requete = 'select it_template from inscription_template where it_id_template=2'.
Line 120... Line 118...
120
*   Renvoie l'accueil de l'inscription
118
*   Renvoie l'accueil de l'inscription
121
*
119
*
122
*   @return string	HTML
120
*   @return string	HTML
123
*/
121
*/
124
function AUTH_formulaire_login() {   
122
function AUTH_formulaire_login() {   
125
    require_once PAP_CHEMIN_RACINE.'api/pear/HTML/Template/IT.php';
123
    require_once PAP_CHEMIN_API_PEAR.'api/pear/HTML/Template/IT.php';
126
    $tpl = new HTML_Template_IT() ;
124
    $tpl = new HTML_Template_IT() ;
127
    // Le formulaire pour se logguer est dans un template
125
    // Le formulaire pour se logguer est dans un template
128
    // template 1
126
    // template 1
129
    $requete = 'SELECT it_template FROM inscription_template WHERE it_id_template=1'.
127
    $requete = 'SELECT it_template FROM inscription_template WHERE it_id_template=1'.
130
    			' AND it_i18n LIKE "%'.INS_LANGUE_DEFAUT.'"' ;
128
    			' AND it_i18n LIKE "%'.INS_LANGUE_DEFAUT.'"' ;
Line 716... Line 714...
716
}
714
}
Line 717... Line 715...
717
 
715
 
718
/* +--Fin du code ----------------------------------------------------------------------------------------+
716
/* +--Fin du code ----------------------------------------------------------------------------------------+
719
*
717
*
-
 
718
* $Log: not supported by cvs2svn $
-
 
719
* Revision 1.27  2007/04/11 08:30:12  neiluj
-
 
720
* remise en état du CVS...
720
* $Log: not supported by cvs2svn $
721
*
721
* Revision 1.23  2006/12/01 13:23:15  florian
722
* Revision 1.23  2006/12/01 13:23:15  florian
722
* integration annuaire backoffice
723
* integration annuaire backoffice
723
*
724
*
724
* Revision 1.22  2006/10/05 13:53:53  florian
725
* Revision 1.22  2006/10/05 13:53:53  florian
Line 803... Line 804...
803
* ajout du numéro de tel, du fax et de la structure
804
* ajout du numéro de tel, du fax et de la structure
804
*
805
*
805
* Revision 1.1  2004/12/15 13:32:25  alex
806
* Revision 1.1  2004/12/15 13:32:25  alex
806
* version initiale
807
* version initiale
807
*
808
*
808
* Revision 1.2  2004/09/01 16:37:52  alex
-
 
809
* modification du formulaire
-
 
810
*
-
 
811
* Revision 1.1  2004/07/06 15:42:17  alex
-
 
812
* en cours
-
 
813
*
-
 
814
* Revision 1.7  2004/07/06 15:28:41  alex
-
 
815
* en cours
-
 
816
*
-
 
817
* Revision 1.5  2004/07/06 15:22:19  alex
-
 
818
* en cours
-
 
819
*
-
 
820
=======
-
 
821
* Revision 1.4  2004/06/30 10:00:26  alex
-
 
822
* modification de l'envoie de mail
-
 
823
*
-
 
824
* Revision 1.2  2004/06/23 12:41:51  alex
-
 
825
* amélioration de la gestion de la perte de mot de passe
-
 
826
*
-
 
827
* Revision 1.1  2004/06/18 09:20:47  alex
-
 
828
* version initiale
-
 
829
*
-
 
830
*
809
*
831
* +-- Fin du code ----------------------------------------------------------------------------------------+
810
* +-- Fin du code ----------------------------------------------------------------------------------------+
832
*/
811
*/
Line 833... Line 812...
833
 
812