diff --git a/htdocs/admin/system/filecheck.php b/htdocs/admin/system/filecheck.php
index c64379a96f1..4d32e10b174 100644
--- a/htdocs/admin/system/filecheck.php
+++ b/htdocs/admin/system/filecheck.php
@@ -46,14 +46,10 @@ print load_fiche_titre($langs->trans("FileCheckDolibarr"),'','title_setup');
print $langs->trans("FileCheckDesc").'
';
// Version
-$var = true;
print '
';
print '| '.$langs->trans("Version").' | '.$langs->trans("Value").' |
'."\n";
-$var = ! $var;
print '| '.$langs->trans("VersionLastInstall").' | '.$conf->global->MAIN_VERSION_LAST_INSTALL.' |
'."\n";
-$var = ! $var;
print '| '.$langs->trans("VersionLastUpgrade").' | '.$conf->global->MAIN_VERSION_LAST_UPGRADE.' |
'."\n";
-$var = ! $var;
print '| '.$langs->trans("VersionProgram").' | '.DOL_VERSION;
// If current version differs from last upgrade
if (empty($conf->global->MAIN_VERSION_LAST_UPGRADE)) {
@@ -172,7 +168,6 @@ if ($xml)
$out.=' | ' . $langs->trans("ExpectedValue") . ' | ';
$out.='' . $langs->trans("Value") . ' | ';
$out.='
'."\n";
- $var = true;
$i = 0;
foreach ($xml->dolibarr_constants[0]->constant as $constant) // $constant is a simpleXMLElement
@@ -188,8 +183,7 @@ if ($xml)
$checksumconcat[]=$valueforchecksum;
$i++;
- $var = !$var;
- $out.='';
+ $out.='
';
$out.='| '.$i.' | ' . "\n";
$out.=''.$constname.' | ' . "\n";
$out.=''.$constvalue.' | ' . "\n";
@@ -199,7 +193,7 @@ if ($xml)
if ($i==0)
{
- $out.='
| '.$langs->trans("None").' |
';
+ $out.='| '.$langs->trans("None").' |
';
}
$out.='
';
@@ -239,7 +233,6 @@ if ($xml)
$out.='' . $langs->trans("Filename") . ' | ';
$out.='' . $langs->trans("ExpectedChecksum") . ' | ';
$out.=''."\n";
- $var = true;
$tmpfilelist = dol_sort_array($file_list['missing'], 'filename');
if (is_array($tmpfilelist) && count($tmpfilelist))
{
@@ -247,8 +240,7 @@ if ($xml)
foreach ($tmpfilelist as $file)
{
$i++;
- $var = !$var;
- $out.='';
+ $out.='
';
$out.='| '.$i.' | ' . "\n";
$out.=''.$file['filename'].' | ' . "\n";
$out.=''.$file['expectedmd5'].' | ' . "\n";
@@ -257,7 +249,7 @@ if ($xml)
}
else
{
- $out.='
| '.$langs->trans("None").' |
';
+ $out.='| '.$langs->trans("None").' |
';
}
$out.='';
@@ -276,7 +268,6 @@ if ($xml)
$out.='' . $langs->trans("Size") . ' | ';
$out.='' . $langs->trans("DateModification") . ' | ';
$out.=''."\n";
- $var = true;
$tmpfilelist2 = dol_sort_array($file_list['updated'], 'filename');
if (is_array($tmpfilelist2) && count($tmpfilelist2))
{
@@ -284,8 +275,7 @@ if ($xml)
foreach ($tmpfilelist2 as $file)
{
$i++;
- $var = !$var;
- $out.='';
+ $out.='
';
$out.='| '.$i.' | ' . "\n";
$out.=''.$file['filename'].' | ' . "\n";
$out.=''.$file['expectedmd5'].' | ' . "\n";
@@ -307,7 +297,7 @@ if ($xml)
}
else
{
- $out.='
| '.$langs->trans("None").' |
';
+ $out.='| '.$langs->trans("None").' |
';
}
$out.='';
@@ -326,7 +316,6 @@ if ($xml)
$out.='' . $langs->trans("Size") . ' | ';
$out.='' . $langs->trans("DateModification") . ' | ';
$out.=''."\n";
- $var = true;
$tmpfilelist3 = dol_sort_array($file_list['added'], 'filename');
if (is_array($tmpfilelist3) && count($tmpfilelist3))
{
@@ -334,8 +323,7 @@ if ($xml)
foreach ($tmpfilelist3 as $file)
{
$i++;
- $var = !$var;
- $out.='';
+ $out.='
';
$out.='| '.$i.' | ' . "\n";
$out.=''.$file['filename'].' | ' . "\n";
$out.=''.$file['expectedmd5'].' | ' . "\n";
@@ -357,7 +345,7 @@ if ($xml)
}
else
{
- $out.='
| '.$langs->trans("None").' |
';
+ $out.='| '.$langs->trans("None").' |
';
}
$out.='';
diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 68a01340303..4a6967089e2 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -118,9 +118,8 @@ $rights_ids = array();
foreach($sortorder as $numero=>$name)
{
$idperms="";
-
// Module
- print "| ';
+ print ' |
| ';
$alt=$name.' - '.$modules_files[$numero];
if (! empty($picto[$numero]))
{
diff --git a/htdocs/admin/system/phpinfo.php b/htdocs/admin/system/phpinfo.php
index 6bb431bfdfb..8664a28b28a 100644
--- a/htdocs/admin/system/phpinfo.php
+++ b/htdocs/admin/system/phpinfo.php
@@ -57,7 +57,7 @@ $var=false;
// Recupere la version de PHP
$phpversion=version_php();
-print " |
| '.$langs->trans("Version")." | ".$phpversion." |
\n";
+print '| '.$langs->trans("Version")." | ".$phpversion." |
\n";
print '';
print '
';
@@ -76,13 +76,11 @@ foreach($phparray as $key => $value)
print ''.$langs->trans("Value").' | ';
print "\n";
- $var=true;
//var_dump($value);
foreach($value as $keyparam => $keyvalue)
{
if (! is_array($keyvalue))
{
-
print '';
print '| '.$keyparam.' | ';
$valtoshow=$keyvalue;
@@ -97,7 +95,6 @@ foreach($phparray as $key => $value)
}
else
{
-
print '
';
print '| '.$keyparam.' | ';
$i=0;