Subversion Repositories Applications.bazar

Rev

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

Rev 350 Rev 354
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: bazar.fonct.php,v 1.74.2.2 2007-12-06 15:36:07 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.php,v 1.74.2.3 2007-12-14 09:55:05 alexandre_tb Exp $
23
/**
23
/**
24
*
24
*
25
* Fonctions du module bazar
25
* Fonctions du module bazar
26
* 
26
* 
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
30
*@author        Alexandre Granier <alexandre@tela-botanica.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
31
*@author        Florian Schmitt <florian@ecole-et-nature.org>
32
//Autres auteurs :
32
//Autres auteurs :
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.74.2.2 $ $Date: 2007-12-06 15:36:07 $
34
*@version       $Revision: 1.74.2.3 $ $Date: 2007-12-14 09:55:05 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
38
// +------------------------------------------------------------------------------------------------------+
38
// +------------------------------------------------------------------------------------------------------+
Line 544... Line 544...
544
	
544
	
545
		//contruction du squelette du formulaire
545
		//contruction du squelette du formulaire
546
		$formtemplate = new HTML_QuickForm('formulaire', 'post', preg_replace ('/&amp;/', '&', $lien_formulaire->getURL()) );
546
		$formtemplate = new HTML_QuickForm('formulaire', 'post', preg_replace ('/&amp;/', '&', $lien_formulaire->getURL()) );
547
		$squelette =& $formtemplate->defaultRenderer();
547
		$squelette =& $formtemplate->defaultRenderer();
548
   		$squelette->setFormTemplate("\n".'<form {attributes}>'."\n".'<table style="border:0;width:100%;">'."\n".'{content}'."\n".'</table>'."\n".'</form>'."\n");
548
   		$squelette->setFormTemplate("\n".'<form {attributes}>'."\n".'<table style="border:0;width:100%;">'."\n".'{content}'."\n".'</table>'."\n".'</form>'."\n");
549
    	$squelette->setElementTemplate( '<tr>'."\n".'<td style="font-size:12px;width:120px;text-align:right;">'."\n".'{label}'.
549
    	$squelette->setElementTemplate( '<tr>'."\n".'<td>'."\n".'{label}'.
550
    		                        '<!-- BEGIN required --><span class="symbole_obligatoire">&nbsp;*</span><!-- END required -->'."\n".
550
    		                        '<!-- BEGIN required --><span class="symbole_obligatoire">&nbsp;*</span><!-- END required -->'."\n".
551
    								' </td>'."\n".'<td style="text-align:left;padding:5px;"> '."\n".'{element}'."\n".
551
    								' </td>'."\n".'<td style="text-align:left;padding:5px;"> '."\n".'{element}'."\n".
552
                                    '<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n".
552
                                    '<!-- BEGIN error --><span class="erreur">{error}</span><!-- END error -->'."\n".
553
                                    '</td>'."\n".'</tr>'."\n");
553
                                    '</td>'."\n".'</tr>'."\n");
Line 1401... Line 1401...
1401
}
1401
}
Line 1402... Line 1402...
1402
 
1402
 
1403
/* +--Fin du code ----------------------------------------------------------------------------------------+
1403
/* +--Fin du code ----------------------------------------------------------------------------------------+
1404
*
1404
*
-
 
1405
* $Log: not supported by cvs2svn $
-
 
1406
* Revision 1.74.2.2  2007-12-06 15:36:07  alexandre_tb
-
 
1407
* appel de la fonction GEN_AttributsBody dans le composant carte_google
1405
* $Log: not supported by cvs2svn $
1408
*
1406
* Revision 1.74.2.1  2007-12-04 09:00:08  alexandre_tb
1409
* Revision 1.74.2.1  2007-12-04 09:00:08  alexandre_tb
1407
* corrections importantes sur baz_s_inscrire, simplification de l'application qui ne fonctionnait pas.
1410
* corrections importantes sur baz_s_inscrire, simplification de l'application qui ne fonctionnait pas.
1408
*
1411
*
1409
* Revision 1.74  2007-10-25 09:41:31  alexandre_tb
1412
* Revision 1.74  2007-10-25 09:41:31  alexandre_tb