";
$sql = "SELECT amount, int(month) as dm FROM ".MAIN_DB_PREFIX."pointmort ORDER BY month DESC";
@@ -53,11 +54,11 @@ if ($result) {
- print "";
- print "";
- print "| Mois | ";
- print "Montant | ";
- print " \n";
+ print "";
+ print "";
+ print "| ".$langs->trans("Month")." | ";
+ print "Montant | ";
+ print " \n";
$bc[0]="bgcolor=\"#90c090\"";
$bc[1]="bgcolor=\"#b0e0b0\"";
diff --git a/htdocs/compta/pointmort.php b/htdocs/compta/pointmort.php
index fcc6b1fc2ca..ff1eb24545d 100644
--- a/htdocs/compta/pointmort.php
+++ b/htdocs/compta/pointmort.php
@@ -1,5 +1,6 @@
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -75,10 +76,10 @@ function ppt ($db) {
$ptmt = pm($db);
- print "";
- print "";
+ print "";
+ print "";
print "| | ";
- print "Mois | ";
+ print "".$langs->trans("Month")." | ";
print "CA | ";
print "Point mort | ";
print "Delta | ";
diff --git a/htdocs/compta/resultat/index.php b/htdocs/compta/resultat/index.php
index dbe94295589..a0cc5f576d7 100644
--- a/htdocs/compta/resultat/index.php
+++ b/htdocs/compta/resultat/index.php
@@ -96,8 +96,8 @@ else {
print $db->error();
}
-print '';
-print '| Mois | ';
+print '';
+print '| '.$langs->trans("Month").' | ';
if ($year_current < (MAIN_START_YEAR + 2))
diff --git a/htdocs/compta/stats/comp.php b/htdocs/compta/stats/comp.php
index 7ef91ace0dc..d864470c0c1 100644
--- a/htdocs/compta/stats/comp.php
+++ b/htdocs/compta/stats/comp.php
@@ -175,7 +175,7 @@ function pt ($db, $sql, $year) {
$i = 0; $total = 0 ;
print '';
print "";
- print "| Mois | ";
+ print ''.$langs->trans("Month").' | ';
print "Montant | \n";
$var=True;
$month = 1 ;
@@ -282,8 +282,8 @@ function ppt ($db, $year, $socidp)
print '';
print "";
- print "| Mois | ";
- print "Montant | ";
+ print ''.$langs->trans("Month").' | ';
+ print ''.$langs->trans("Amount").' | ';
print " \n";
$var = 1 ;
diff --git a/htdocs/compta/stats/exercices.php b/htdocs/compta/stats/exercices.php
index 6ee85bf70af..1f6e08ab22b 100644
--- a/htdocs/compta/stats/exercices.php
+++ b/htdocs/compta/stats/exercices.php
@@ -109,10 +109,10 @@ function pt ($db, $sql, $year) {
if ($result) {
$num = $db->num_rows();
$i = 0; $total = 0 ;
- print '';
- print "";
- print "| Mois | ";
- print "Montant | \n";
+ print '';
+ print "";
+ print '| '.$langs->trans("Month").' | ';
+ print ''.$langs->trans("Amount").' | ';
$var=True;
$month = 1 ;
@@ -122,22 +122,22 @@ function pt ($db, $sql, $year) {
if ($obj->dm > $month ) {
for ($b = $month ; $b < $obj->dm ; $b++) {
- print "";
- print "| ".strftime("%B",mktime(12,0,0,$b, 1, $year))." | \n";
- print "0 | \n";
- print " \n";
+ print "";
+ print "| ".strftime("%B",mktime(12,0,0,$b, 1, $year))." | \n";
+ print "0 | \n";
+ print " \n";
$var=!$var;
$ca[$b] = 0;
}
}
if ($obj->sum > 0) {
- print "";
+ print " ";
print "| ";
- print strftime("%B",mktime(12,0,0,$obj->dm, 1, $year))." | \n";
- print "".price($obj->sum)." | \n";
+ print strftime("%B",mktime(12,0,0,$obj->dm, 1, $year))."\n";
+ print "".price($obj->sum)." | \n";
- print " \n";
+ print "\n";
$month = $obj->dm + 1;
$ca[$obj->dm] = $obj->sum;
$total = $total + $obj->sum;
@@ -154,10 +154,10 @@ function pt ($db, $sql, $year) {
if ($beg <= 12 ) {
for ($b = $beg + 1 ; $b < 13 ; $b++) {
$var=!$var;
- print "";
- print "| ".strftime("%B",mktime(12,0,0,$b, 1, $year))." | \n";
- print "0 | \n";
- print " \n";
+ print "";
+ print "| ".strftime("%B",mktime(12,0,0,$b, 1, $year))." | \n";
+ print "0 | \n";
+ print " \n";
$ca[$b] = 0;
}
}
@@ -219,12 +219,12 @@ function ppt ($db, $year, $socidp)
print "";
- print '';
- print "";
- print "| Mois | ";
- print "Montant | ";
- print 'Cumul | ';
- print " \n";
+ print '';
+ print "";
+ print '| '.$langs->trans("Month").' | ';
+ print ''.$langs->trans("Amount").' | ';
+ print 'Cumul | ';
+ print " \n";
$var = 1 ;
for ($b = 1 ; $b <= 12 ; $b++)
diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php
index 7944f7b39ad..881ca91602e 100644
--- a/htdocs/compta/stats/index.php
+++ b/htdocs/compta/stats/index.php
@@ -67,7 +67,7 @@ if ($result)
}
print '';
-print '| Mois | ';
+print ' | '.$langs->trans("Month").' | ';
$year_current = strftime("%Y",time());
$nbyears = 3;
diff --git a/htdocs/compta/stats/prev.php b/htdocs/compta/stats/prev.php
index e2105d700bd..6b54270240b 100644
--- a/htdocs/compta/stats/prev.php
+++ b/htdocs/compta/stats/prev.php
@@ -103,7 +103,7 @@ if ($socidp)
}
$sql .= " GROUP BY dm DESC";
-pt($db, $sql, "Mois");
+pt($db, $sql, $langs->trans("Month"));
print '';
diff --git a/htdocs/fichinter/rapport.php b/htdocs/fichinter/rapport.php
index a2fc4be2395..19cbff5b9c9 100644
--- a/htdocs/fichinter/rapport.php
+++ b/htdocs/fichinter/rapport.php
@@ -1,5 +1,6 @@
+/* Copyright (C) 2003 Xavier DUTOIT
+ * Copyright (C) 2004 Laurent Destailleur
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -66,7 +67,7 @@ if (empty($YY))
echo " ";
echo "\n | | |