Subversion Repositories Applications.bazar

Rev

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

Rev 169 Rev 201
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.formulaire.php,v 1.22.2.1 2007-01-17 16:01:37 alexandre_tb Exp $
22
// CVS : $Id: bazar.fonct.formulaire.php,v 1.22.2.2 2007-03-07 17:20:19 jp_milcent Exp $
23
/**
23
/**
24
* Formulaire
24
* Formulaire
25
*
25
*
26
* Les fonctions de mise en page des formulaire
26
* Les fonctions de mise en page des formulaire
27
*
27
*
Line 29... Line 29...
29
//Auteur original :
29
//Auteur original :
30
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
30
*@author        Florian SCHMITT <florian@ecole-et-nature.org>
31
//Autres auteurs :
31
//Autres auteurs :
32
*@author        Aleandre GRANIER <alexandre@tela-botanica.org>
32
*@author        Aleandre GRANIER <alexandre@tela-botanica.org>
33
*@copyright     Tela-Botanica 2000-2004
33
*@copyright     Tela-Botanica 2000-2004
34
*@version       $Revision: 1.22.2.1 $ $Date: 2007-01-17 16:01:37 $
34
*@version       $Revision: 1.22.2.2 $ $Date: 2007-03-07 17:20:19 $
35
// +------------------------------------------------------------------------------------------------------+
35
// +------------------------------------------------------------------------------------------------------+
36
*/
36
*/
Line 37... Line 37...
37
 
37
 
Line 264... Line 264...
264
				$table->addRow (array(
264
				$table->addRow (array(
265
				'<a href="'.$ligne->bu_url.'" target="_blank"> '.$ligne->bu_descriptif_url.'</a>', // col 1 : le lien
265
				'<a href="'.$ligne->bu_url.'" target="_blank"> '.$ligne->bu_descriptif_url.'</a>', // col 1 : le lien
266
				'<a href="'.$lien_supprimer->getURL().'" onclick="javascript:return confirm(\''.BAZ_CONFIRMATION_SUPPRESSION_LIEN.'\');" >'.BAZ_SUPPRIMER.'</a>'."\n")) ; // col 2 : supprimer
266
				'<a href="'.$lien_supprimer->getURL().'" onclick="javascript:return confirm(\''.BAZ_CONFIRMATION_SUPPRESSION_LIEN.'\');" >'.BAZ_SUPPRIMER.'</a>'."\n")) ; // col 2 : supprimer
267
				$lien_supprimer->removeQueryString('id_url');
267
				$lien_supprimer->removeQueryString('id_url');
268
			}
268
			}
-
 
269
 
-
 
270
			// Nettoyage de l'url
-
 
271
			$lien_supprimer->removeQueryString('action');
-
 
272
			$lien_supprimer->removeQueryString('id_fiche');
-
 
273
			$lien_supprimer->removeQueryString('typeannonce');
-
 
274
			
269
			$table->altRowAttributes(1, array("class" => "ligne_impaire"), array("class" => "ligne_paire"));
275
			$table->altRowAttributes(1, array("class" => "ligne_impaire"), array("class" => "ligne_paire"));
270
			$table->updateColAttributes(1, array("align" => "center"));
276
			$table->updateColAttributes(1, array("align" => "center"));
271
			$html_url.= $table->toHTML()."\n".'</td>'."\n".'</tr>'."\n" ;
277
			$html_url.= $table->toHTML()."\n".'</td>'."\n".'</tr>'."\n" ;
272
		}
278
		}
273
	}		
279
	}		
Line 428... Line 434...
428
}
434
}
Line 429... Line 435...
429
 
435
 
430
/* +--Fin du code ----------------------------------------------------------------------------------------+
436
/* +--Fin du code ----------------------------------------------------------------------------------------+
431
*
437
*
-
 
438
* $Log: not supported by cvs2svn $
-
 
439
* Revision 1.22.2.1  2007/01/17 16:01:37  alexandre_tb
-
 
440
* les dates ne s'affichent pas si elles sont vides.
-
 
441
* les champs dates propose 4 années avant l'année actuelle
432
* $Log: not supported by cvs2svn $
442
*
433
* Revision 1.22  2006/06/02 09:29:07  florian
443
* Revision 1.22  2006/06/02 09:29:07  florian
434
* debut d'integration de wikini
444
* debut d'integration de wikini
435
*
445
*
436
* Revision 1.21  2006/05/19 13:54:11  florian
446
* Revision 1.21  2006/05/19 13:54:11  florian