From 60a95d3e26ce26c206f9e780f60a43dad61d246b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Mar 2006 18:26:17 +0000 Subject: [PATCH] Fix: bug #15945 : mise en page fiche action --- htdocs/comm/action/fiche.php | 51 +++++++++++++++++------------------- 1 file changed, 24 insertions(+), 27 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index a02be95b4cd..3e52fbe6aae 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -344,38 +344,35 @@ if ($_GET["action"] == 'create') print ''.$langs->trans("Status").' / '.$langs->trans("Percentage").''; } - // Date - print ''.$langs->trans("Date").''; - if ($_GET["afaire"] == 1) - { - $html->select_date('','ac','','','',"action"); - print ''.$langs->trans("Hour").''; - print_heure_select("heure",8,20); - print ''; - } - else if ($_GET["afaire"] == 2) - { - $html->select_date('','ac','','','',"action"); - print ''.$langs->trans("Hour").''; - print_heure_select("heure",8,20); - print ''; - } - else - { - $html->select_date('','ac','','','',"action"); - print ''.$langs->trans("Hour").''; - print_heure_select("heure",8,20); - print ''; - } - print ''; + // Date + print ''.$langs->trans("Date").''; + if ($_GET["afaire"] == 1) + { + $html->select_date('','ac','','','',"action"); + print ''.$langs->trans("Hour").''; + print_heure_select("heure",8,20); + } + else if ($_GET["afaire"] == 2) + { + $html->select_date('','ac','','','',"action"); + print ''.$langs->trans("Hour").''; + print_heure_select("heure",8,20); + } + else + { + $html->select_date('','ac','','','',"action"); + print ''.$langs->trans("Hour").''; + print_heure_select("heure",8,20); + } + print ''; - add_row_for_webcal_link(); + add_row_for_webcal_link(); // Note print ''.$langs->trans("Note").''; print ''; - print ''; + print ''; print ''; @@ -479,7 +476,7 @@ if ($_GET["id"]) else { // Affichage fiche action en mode visu - print ''; print ''; print ''; print '';
'.$langs->trans("Ref").''.$act->id.'
'.$langs->trans("Type").''.$act->type.'
'.$langs->trans("Title").''.$act->label.'