Subversion Repositories Applications.papyrus

Rev

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

Rev 906 Rev 915
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.17 2006-07-06 10:33:30 alexandre_tb Exp $
22
// CVS : $Id: inscription.php,v 1.18 2006-07-20 09:48:07 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.17 $ $Date: 2006-07-06 10:33:30 $
35
*@version       $Revision: 1.18 $ $Date: 2006-07-20 09:48:07 $
36
// +------------------------------------------------------------------------------------------------------+
36
// +------------------------------------------------------------------------------------------------------+
37
*/
37
*/
Line 38... Line 38...
38
 
38
 
39
// +------------------------------------------------------------------------------------------------------+
39
// +------------------------------------------------------------------------------------------------------+
Line 158... Line 158...
158
            }
158
            }
159
        }
159
        }
160
        if ($_REQUEST['action'] == 'modifier_v') {
160
        if ($_REQUEST['action'] == 'modifier_v') {
161
            if ($formulaire->validate()) {
161
            if ($formulaire->validate()) {
162
                $formulaire->process('mise_a_jour', false) ;
162
                $formulaire->process('mise_a_jour', false) ;
-
 
163
            } else {
-
 
164
            	return $formulaire->toHTML();
163
            }
165
            }
164
            return $res.info();
166
            return $res.info();
165
        }
167
        }
Line 166... Line 168...
166
	
168
	
Line 223... Line 225...
223
}
225
}
Line 224... Line 226...
224
 
226
 
225
/* +--Fin du code ----------------------------------------------------------------------------------------+
227
/* +--Fin du code ----------------------------------------------------------------------------------------+
226
*
228
*
-
 
229
* $Log: not supported by cvs2svn $
-
 
230
* Revision 1.17  2006/07/06 10:33:30  alexandre_tb
-
 
231
* correction bug du à dernière mise à jour
227
* $Log: not supported by cvs2svn $
232
*
228
* Revision 1.16  2006/07/04 09:38:31  alexandre_tb
233
* Revision 1.16  2006/07/04 09:38:31  alexandre_tb
229
* Ajout de la règle doublon email uniquement lors de création d'une entrée
234
* Ajout de la règle doublon email uniquement lors de création d'une entrée
230
*
235
*
231
* Revision 1.15  2006/06/01 10:00:35  alexandre_tb
236
* Revision 1.15  2006/06/01 10:00:35  alexandre_tb