| 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.12 2006-03-15 11:05:45 alexandre_tb Exp $
|
22 |
// CVS : $Id: inscription.php,v 1.13 2006-04-04 12:23:05 florian 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.12 $ $Date: 2006-03-15 11:05:45 $
|
35 |
*@version $Revision: 1.13 $ $Date: 2006-04-04 12:23:05 $
|
| 36 |
// +------------------------------------------------------------------------------------------------------+
|
36 |
// +------------------------------------------------------------------------------------------------------+
|
| 37 |
*/
|
37 |
*/
|
| Line 38... |
Line 38... |
| 38 |
|
38 |
|
| 39 |
// +------------------------------------------------------------------------------------------------------+
|
39 |
// +------------------------------------------------------------------------------------------------------+
|
| Line 121... |
Line 121... |
| 121 |
if ($_REQUEST['action'] == 'inscription') {
|
121 |
if ($_REQUEST['action'] == 'inscription') {
|
| 122 |
if ($GLOBALS['AUTH']->getAuth()) {
|
122 |
if ($GLOBALS['AUTH']->getAuth()) {
|
| Line 123... |
Line 123... |
| 123 |
|
123 |
|
| 124 |
} else {
|
124 |
} else {
|
| 125 |
$formulaire->addElement('hidden', 'action', 'inscription_v') ;
|
125 |
$formulaire->addElement('hidden', 'action', 'inscription_v') ;
|
| 126 |
$formulaire->setDefaults(array('pays' => 'FR', 'visible' => 1));
|
126 |
$formulaire->setDefaults(array('pays' => 'fr', 'visible' => 1,'lettre'=>1));
|
| 127 |
}
|
127 |
}
|
| Line 128... |
Line 128... |
| 128 |
}
|
128 |
}
|
| 129 |
|
129 |
|
| Line 214... |
Line 214... |
| 214 |
}
|
214 |
}
|
| Line 215... |
Line 215... |
| 215 |
|
215 |
|
| 216 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
216 |
/* +--Fin du code ----------------------------------------------------------------------------------------+
|
| 217 |
*
|
217 |
*
|
| - |
|
218 |
* $Log: not supported by cvs2svn $
|
| - |
|
219 |
* Revision 1.12 2006/03/15 11:05:45 alexandre_tb
|
| - |
|
220 |
* ajout de l'action caché inscription_v lors du réaffichage du formulaire après erreur de saisie.
|
| 218 |
* $Log: not supported by cvs2svn $
|
221 |
*
|
| 219 |
* Revision 1.11 2006/03/02 14:10:35 alexandre_tb
|
222 |
* Revision 1.11 2006/03/02 14:10:35 alexandre_tb
|
| 220 |
* correction du bug desinscription wikini
|
223 |
* correction du bug desinscription wikini
|
| 221 |
*
|
224 |
*
|
| 222 |
* Revision 1.10 2006/03/02 13:03:45 alexandre_tb
|
225 |
* Revision 1.10 2006/03/02 13:03:45 alexandre_tb
|