diff --git a/htdocs/compta/dons/index.php b/htdocs/compta/dons/index.php index 58a82e3da7f..3a4018b7d47 100644 --- a/htdocs/compta/dons/index.php +++ b/htdocs/compta/dons/index.php @@ -46,11 +46,6 @@ if ($result) print_barre_liste("Dons", $page, $PHP_SELF); -$libelle[0] = "Promesses non validées"; -$libelle[1] = "Promesses validées"; -$libelle[2] = "Dons payés"; -$libelle[3] = "Dons encaissés"; - print ''; print ''; print ""; diff --git a/htdocs/compta/dons/liste.php b/htdocs/compta/dons/liste.php index 8760bccb006..0f44450f26a 100644 --- a/htdocs/compta/dons/liste.php +++ b/htdocs/compta/dons/liste.php @@ -66,7 +66,7 @@ if ($result) $num = $db->num_rows(); $i = 0; - print_barre_liste("Dons", $page, $PHP_SELF, "&statut=$statut"); + print_barre_liste($libelle[$statut], $page, $PHP_SELF, "&statut=$statut"); print "
 
"; print ''; diff --git a/htdocs/compta/dons/pre.inc.php b/htdocs/compta/dons/pre.inc.php index e3c5dc20ef5..550dc9a0e96 100644 --- a/htdocs/compta/dons/pre.inc.php +++ b/htdocs/compta/dons/pre.inc.php @@ -21,6 +21,11 @@ */ require("../../main.inc.php3"); +$libelle[0] = "Promesses non validées"; +$libelle[1] = "Promesses validées"; +$libelle[2] = "Dons payés"; +$libelle[3] = "Dons encaissés"; + function llxHeader($head = "") { global $user, $conf; diff --git a/htdocs/index.php3 b/htdocs/index.php3 index 982ae37355c..636f532ad77 100644 --- a/htdocs/index.php3 +++ b/htdocs/index.php3 @@ -32,24 +32,7 @@ llxHeader(); td.dash { border: 1px dashed #c0C0C0; } -
- - - - -
- - - - Compta - -
Dernière modification $Date$ révision $Revision$"); ?>