diff --git a/htdocs/comm/action/document.php b/htdocs/comm/action/document.php index bdb8990ca24..0d0a6f04c95 100755 --- a/htdocs/comm/action/document.php +++ b/htdocs/comm/action/document.php @@ -127,20 +127,31 @@ if ($_GET["id"] > 0) // Affichage fiche action en mode visu print ''; - print ''; - print ''; - print ''; - print ''; - print ''; - - // Auteur - print ''; - print ''; + // Ref + print ''; + + // Type + print ''; + + // Libelle + print ''; + + // Societe - contact + print ''; + print ''; + print ''; + // Construit liste des fichiers clearstatcache(); diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index ff5c8b039d1..17e6f1d67eb 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -637,16 +637,23 @@ if ($_GET["id"]) { // Affichage fiche action en mode visu print '
'.$langs->trans("Ref").''.$act->id.'
'.$langs->trans("Type").''.$act->type.'
'.$langs->trans("Title").''.$act->label.'
'.$langs->trans("Company").''.$act->societe->getNomUrl(1).''.$langs->trans("Contact").''; - if ($act->contact->id) print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; - else print $langs->trans("None"); - print '
'.$langs->trans("Author").''.img_object($langs->trans("ShowUser"),'user').' '.$act->author->fullname.'
'.$langs->trans("Ref").''.$act->id.'
'.$langs->trans("Type").''.$act->type.'
'.$langs->trans("Title").''.$act->label.'
'.$langs->trans("Company").''.$act->societe->getNomUrl(1).''.$langs->trans("Contact").''; + if ($act->contact->id > 0) + { + print $act->contact->getNomUrl(1); + } + else + { + print $langs->trans("None"); + } + + print '
'; + + // Ref print ''; + + // Type print ''; + + // Libelle print ''; + + // Societe - contact print ''; print ''; print '
'.$langs->trans("Ref").''.$act->id.'
'.$langs->trans("Type").''.$act->type.'
'.$langs->trans("Title").''.$act->label.'
'.$langs->trans("Company").''.$act->societe->getNomUrl(1).''.$langs->trans("Contact").''; - if ($act->contact->id > 0) { - print ''.img_object($langs->trans("ShowContact"),'contact').' '.$act->contact->fullname.''; + print $act->contact->getNomUrl(1); } else {