diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index d0dd842cd7c..8a4df52748c 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -530,6 +530,7 @@ if ($id > 0)
while ($i < $num && $i < $MAXLIST)
{
$objp = $db->fetch_object($resql);
+ $var=!$var;
print "
";
print '| '.img_object($langs->trans("ShowPropal"),"propal").' '.$objp->ref.''."\n";
if ( ($db->jdate($objp->dp) < ($now - $conf->propal->cloture->warning_delay)) && $objp->fk_statut == 1 )
@@ -539,7 +540,6 @@ if ($id > 0)
print ' | '.dol_print_date($db->jdate($objp->dp),'day')." | \n";
print ''.price($objp->total_ht).' | ';
print ''.$propal_static->LibStatut($objp->fk_statut,5).' |
';
- $var=!$var;
$i++;
}
$db->free($resql);
diff --git a/htdocs/core/class/html.formfile.class.php b/htdocs/core/class/html.formfile.class.php
index 824bd4f3ae9..2bcfd36bdde 100644
--- a/htdocs/core/class/html.formfile.class.php
+++ b/htdocs/core/class/html.formfile.class.php
@@ -133,9 +133,10 @@ class FormFile
if ($perm)
{
$langs->load('other');
- $out .= ' ('.$langs->trans("MaxSize").': '.$max.' '.$langs->trans("Kb");
- $out .= ' '.info_admin($langs->trans("ThisLimitIsDefinedInSetup",$max,$maxphp),1);
- $out .= ')';
+ //$out .= ' ('.$langs->trans("MaxSize").': '.$max.' '.$langs->trans("Kb");
+ $out .= ' ';
+ $out.=info_admin($langs->trans("ThisLimitIsDefinedInSetup",$max,$maxphp),1);
+ //$out .= ')';
}
}
else
@@ -778,7 +779,7 @@ class FormFile
if ($nboffiles > 0) include_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
- $var=false;
+ $var=true;
foreach($filearray as $key => $file) // filearray must be only files here
{
if ($file['name'] != '.'