From 2ce781b7bd0603e5f0d51571bd7a0a7c7531514d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 3 Sep 2003 14:18:42 +0000 Subject: [PATCH] Nettoyage du code --- htdocs/comm/projet/fiche.php3 | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/htdocs/comm/projet/fiche.php3 b/htdocs/comm/projet/fiche.php3 index c86aa3f435d..a4b6c031097 100644 --- a/htdocs/comm/projet/fiche.php3 +++ b/htdocs/comm/projet/fiche.php3 @@ -97,7 +97,7 @@ if ($action == 'create') * */ - print_titre("Projet"); + print_titre("Fiche projet"); $propales = array(); $projet = new Project($db); @@ -117,11 +117,11 @@ if ($action == 'create') } else { - print ''; + print '
'; print ''; - print ''; - print ''; + print ''; + print ''; print '
Société'.$projet->societe->nom.'
Ref'.$projet->ref.'
Titre'.$projet->title.'
Réf'.$projet->ref.'
Titre'.$projet->title.'
'; $propales = $projet->get_propal_list(); @@ -161,10 +161,6 @@ if ($action == 'create') print 'Euros HT'; print ""; } - else - { - print "pas de propales"; - } } @@ -172,22 +168,21 @@ if ($action == 'create') if ($action == "edit") { - print "Annuler"; + print "Annuler"; } else { - print "Editer"; + print "Editer"; } - print "-"; + print '-'; + print '-'; + print '-'; - print "-"; - - print "Supprimer"; + print "Supprimer"; print ""; - } $db->close();