diff --git a/htdocs/don/index.php b/htdocs/don/index.php index 73c9e56d29c..6d0b9a7fafa 100644 --- a/htdocs/don/index.php +++ b/htdocs/don/index.php @@ -79,11 +79,32 @@ if ($result) print load_fiche_titre($langs->trans("DonationsArea")); -print '
| ';
+if (! empty($conf->don->enabled) && $user->rights->don->lire)
+{
+ $listofsearchfields['search_donation']=array('text'=>'Donation');
+}
+if (count($listofsearchfields))
+{
+ print '';
+ print ' '; +} print ' | ';
+print ' ';
$max=10;
@@ -203,7 +223,7 @@ if ($resql)
else dol_print_error($db);
-print ' |