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.php,v 1.11 2006-03-02 14:10:35 alexandre_tb Exp $
|
22 |
// CVS : $Id: inscription.php,v 1.12 2006-03-15 11:05:45 alexandre_tb Exp $
|
23 |
/**
|
23 |
/**
|
24 |
* Inscription
|
24 |
* Inscription
|
25 |
*
|
25 |
*
|
26 |
* Un module d'inscription, en général ce code est spécifique à
|
26 |
* Un module d'inscription, en général ce code est spécifique à
|
27 |
* un site web
|
27 |
* un site web
|
Line 30... |
Line 30... |
30 |
//Auteur original :
|
30 |
//Auteur original :
|
31 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
31 |
*@author Alexandre GRANIER <alexandre@tela-botanica.org>
|
32 |
//Autres auteurs :
|
32 |
//Autres auteurs :
|
33 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
33 |
*@author Florian SCHMITT <florian@ecole-et-nature.org>
|
34 |
*@copyright Tela-Botanica 2000-2004
|
34 |
*@copyright Tela-Botanica 2000-2004
|
35 |
*@version $Revision: 1.11 $ $Date: 2006-03-02 14:10:35 $
|
35 |
*@version $Revision: 1.12 $ $Date: 2006-03-15 11:05:45 $
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
37 |
*/
|
37 |
*/
|
Line 38... |
Line 38... |
38 |
|
38 |
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
Line 141... |
Line 141... |
141 |
include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php' ;
|
141 |
include_once GEN_CHEMIN_CLIENT.$repertoire.GEN_SEP.$repertoire.'.inscription.inc.php' ;
|
142 |
}
|
142 |
}
|
143 |
$d->close();
|
143 |
$d->close();
|
144 |
return $res.info();
|
144 |
return $res.info();
|
145 |
}
|
145 |
}
|
- |
|
146 |
} else {
|
- |
|
147 |
// Si le formulaire n'est pas bon on remet l'action à inscription_v
|
- |
|
148 |
$formulaire->addElement('hidden', 'action', 'inscription_v') ;
|
146 |
}
|
149 |
}
|
147 |
}
|
150 |
}
|
148 |
if ($_REQUEST['action'] == 'modifier_v') {
|
151 |
if ($_REQUEST['action'] == 'modifier_v') {
|
149 |
if ($formulaire->validate()) {
|
152 |
if ($formulaire->validate()) {
|
150 |
$formulaire->process('mise_a_jour', false) ;
|
153 |
$formulaire->process('mise_a_jour', false) ;
|
Line 211... |
Line 214... |
211 |
}
|
214 |
}
|
Line 212... |
Line 215... |
212 |
|
215 |
|
213 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
216 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
214 |
*
|
217 |
*
|
- |
|
218 |
* $Log: not supported by cvs2svn $
|
- |
|
219 |
* Revision 1.11 2006/03/02 14:10:35 alexandre_tb
|
- |
|
220 |
* correction du bug desinscription wikini
|
215 |
* $Log: not supported by cvs2svn $
|
221 |
*
|
216 |
* Revision 1.10 2006/03/02 13:03:45 alexandre_tb
|
222 |
* Revision 1.10 2006/03/02 13:03:45 alexandre_tb
|
217 |
* bug de désinscription interwikini_users
|
223 |
* bug de désinscription interwikini_users
|
218 |
*
|
224 |
*
|
219 |
* Revision 1.9 2006/02/28 14:08:27 alexandre_tb
|
225 |
* Revision 1.9 2006/02/28 14:08:27 alexandre_tb
|