';
+
+ $linkback = ''.$langs->trans("BackToList").'';
+
+ // Ref
+ print '| '.$langs->trans("Ref").' | ';
+ print $form->showrefnav($object, 'id', $linkback, 1, 'rowid', 'ref', '');
+ print ' |
';
+
+ // Societe
+ //print "| ".$langs->trans("Company")." | ".$object->client->getNomUrl(1)." |
";
+
+ print '| '.$langs->trans("NbOfAttachedFiles").' | '.count($filearray).' |
';
+ print '| '.$langs->trans("TotalSizeOfAttachedFiles").' | '.$totalsize.' '.$langs->trans("bytes").' |
';
+ print '
';
+
+ print '';
+
+ $modulepart = 'don';
+ $permission = $user->rights->don->lire;
+ $param = '&id=' . $object->id;
+ include_once DOL_DOCUMENT_ROOT . '/core/tpl/document_actions_post_headers.tpl.php';
+
+}
+else
+{
+ print $langs->trans("ErrorUnknown");
+}
+
+llxFooter();
+
+$db->close();
diff --git a/htdocs/don/info.php b/htdocs/don/info.php
index 04cbae7a587..ff41b1947df 100644
--- a/htdocs/don/info.php
+++ b/htdocs/don/info.php
@@ -48,7 +48,7 @@ if ($id)
$head = donation_prepare_head($object);
- dol_fiche_head($head, 'info', $langs->trans("Donation"), 0, 'bill');
+ dol_fiche_head($head, 'info', $langs->trans("Donation"), 0, 'generic');
print '