From b6ee8c0a1fcd07a8dd372f0630f80a89bf76ec3d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 May 2007 22:53:11 +0000 Subject: [PATCH] =?UTF-8?q?New:=20Les=20notes=20de=20l'adh=E9rent=20sont?= =?UTF-8?q?=20mise=20sur=20un=20onglet=20note?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/adherents/fiche.php | 32 ++++++++++++++++---------------- htdocs/adherents/note.php | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 9063c5130ed..3b6139b2182 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -365,7 +365,6 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == 'yes') } } - if ($_POST["action"] == 'confirm_valid' && $_POST["confirm"] == 'yes') { $result=$adh->fetch($rowid); @@ -578,15 +577,17 @@ if ($action == 'edit') // Nom print ''.$langs->trans("Lastname").''; - // Notes - print ''.$langs->trans("Notes").''; + // Photo + $rowspan=17; + $rowspan+=sizeof($adho->attribute_label); + print ''; + print ' '; + print ''; + print ''; // Prenom print ''.$langs->trans("Firstname").''; - $rowspan=16; - $rowspan+=sizeof($adho->attribute_label); - print ''; - print ''; + print ''; // Login print ''.$langs->trans("Login").''; @@ -684,12 +685,11 @@ if ($action == 'create') // Nom print ''.$langs->trans("Lastname").'*'; - print ''.$langs->trans("Notes").' :'; + print ''; // Prenom print ''.$langs->trans("Firstname").'*'; - $rowspan=16; - print ''; + print ''; // Login print ''.$langs->trans("Login").'*'; @@ -799,7 +799,6 @@ if ($rowid && $action != 'edit') $html = new Form($db); - /* * Affichage onglets */ @@ -885,7 +884,7 @@ if ($rowid && $action != 'edit') // Ref print ''.$langs->trans("Ref").''; - print ''; + print ''; if ($previous_id || $next_id) print '
'; print $adh->id; if ($previous_id || $next_id) print ''.$previous_id.''.$next_id.'
'; @@ -893,12 +892,13 @@ if ($rowid && $action != 'edit') // Nom print ''.$langs->trans("Lastname").''.$adh->nom.' '; - print ''.$langs->trans("Notes").''; + $rowspan=19+sizeof($adho->attribute_label); + print ''; + print ' '; + print ''; // Prenom - print ''.$langs->trans("Firstname").''.$adh->prenom.' '; - print ''; - print nl2br($adh->commentaire).' '; + print ''.$langs->trans("Firstname").''.$adh->prenom.' '; // Login print ''.$langs->trans("Login").''.$adh->login.' '; diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php index e3f90f0192c..cfd31651968 100644 --- a/htdocs/adherents/note.php +++ b/htdocs/adherents/note.php @@ -95,7 +95,7 @@ if ($id) print ''; // Reference - print ''; + print ''; print '
'.$langs->trans('Ref').'
'.$langs->trans('Ref').''; if ($previous_id || $next_id) print '
'; print $adh->id;