diff --git a/htdocs/fourn/class/fournisseur.product.class.php b/htdocs/fourn/class/fournisseur.product.class.php index 9eedea68335..6de51fdc359 100644 --- a/htdocs/fourn/class/fournisseur.product.class.php +++ b/htdocs/fourn/class/fournisseur.product.class.php @@ -893,13 +893,13 @@ class ProductFournisseur extends Product $langs->load("suppliers"); if (count($productFournList) > 0) { $out .= '
| '.($showunitprice?$langs->trans("Price").' '.$langs->trans("HT"):'').' | '; - $out .= ''.($showunitprice?$langs->trans("QtyMin"):'').' | '; + $out .= '||||
| '.($showunitprice?$langs->trans("Price").' '.$langs->trans("HT"):'').' | '; + $out .= ''.($showunitprice?$langs->trans("QtyMin"):'').' | '; $out .= ''.$langs->trans("Supplier").' | '; $out .= ''.$langs->trans("SupplierRef").' | ||
| '.($showunitprice?price($productFourn->fourn_unitprice * (1 -$productFourn->fourn_remise_percent/100) - $productFourn->fourn_remise):'').' | '; - $out.= ''.($showunitprice?$productFourn->fourn_qty:'').' | '; + $out.= '||||
| '.($showunitprice?price($productFourn->fourn_unitprice * (1 -$productFourn->fourn_remise_percent/100) - $productFourn->fourn_remise):'').' | '; + $out.= ''.($showunitprice?$productFourn->fourn_qty:'').' | '; $out.= ''.$productFourn->getSocNomUrl(1, 'supplier', $maxlen, $notooltip).' | '; $out.= ''.$productFourn->fourn_ref.' | ||
| '.$langs->trans("Date").' | '; - $out .= ''.$langs->trans("Price").' | '; - //$out .= ''.$langs->trans("QtyMin").' | '; + $out .= ''.$langs->trans("Price").' | '; + //$out .= ''.$langs->trans("QtyMin").' | '; $out .= ''.$langs->trans("User").' |
| '.dol_print_date($productFournLog['datec'], 'dayhour', 'tzuser').' | '; - $out.= ''.price($productFournLog['price']).' | '; - //$out.= ''.$productFournLog['quantity'].' | '; + $out.= '|||
| '.dol_print_date($productFournLog['datec'], 'dayhour', 'tzuser').' | '; + $out.= ''.price($productFournLog['price']).' | '; + //$out.= ''.$productFournLog['quantity'].' | '; $out.= ''.$productFournLog['lastname'].' |
| '.$langs->trans("AvailableFormats").' | '; print ''.$langs->trans("LibraryShort").' | '; -print ''.$langs->trans("LibraryVersion").' | '; +print ''.$langs->trans("LibraryVersion").' | '; print ''.$form->textwithpicto($model->getDriverLabelForKey($key), $text).' | '; print ''.$model->getLibLabelForKey($key).' | '; - print ''.$model->getLibVersionForKey($key).' | '; + print ''.$model->getLibVersionForKey($key).' | '; print ''; } diff --git a/htdocs/install/repair.php b/htdocs/install/repair.php index ac044d21cf6..fa1b070cc40 100644 --- a/htdocs/install/repair.php +++ b/htdocs/install/repair.php @@ -113,13 +113,13 @@ $db=getDoliDBInstance($conf->db->type, $conf->db->host, $conf->db->user, $conf-> if ($db->connected) { print '
| '; - print $langs->trans("ServerConnection")." : $dolibarr_main_db_host | ".$langs->trans("OK")." | ".$langs->trans("OK")." | "; dolibarr_install_syslog("repair: " . $langs->transnoentities("ServerConnection") . ": " . $dolibarr_main_db_host . $langs->transnoentities("OK")); $ok = 1; } else { - print "||
| ".$langs->trans("ErrorFailedToConnectToDatabase", $dolibarr_main_db_name)." | ".$langs->transnoentities("Error")." | |||
| ".$langs->trans("ErrorFailedToConnectToDatabase", $dolibarr_main_db_name)." | ".$langs->transnoentities("Error")." | |||
| '; - print $langs->trans("DatabaseConnection")." : ".$dolibarr_main_db_name." | ".$langs->trans("OK")." | ".$langs->trans("OK")." | "; dolibarr_install_syslog("repair: database connection successful: " . $dolibarr_main_db_name); $ok=1; } else { - print "||
| ".$langs->trans("ErrorFailedToConnectToDatabase", $dolibarr_main_db_name)." | ".$langs->trans("Error")." | |||
| ".$langs->trans("ErrorFailedToConnectToDatabase", $dolibarr_main_db_name)." | ".$langs->trans("Error")." | |||
| '.$langs->trans("ServerVersion").' | '; - print ''.$version.' | '.$version.' | '; dolibarr_install_syslog("repair: " . $langs->transnoentities("ServerVersion") . ": " . $version); - //print ''.join('.',$versionarray).' | '; + //print ''.join('.',$versionarray).' | '; } $conf->setValues($db); @@ -206,7 +206,7 @@ if ($ok && GETPOST('standard', 'alpha')) foreach($filelist as $file) { print '
| *** '; - print $langs->trans("Script").' | '.$file.' | '.$file.' | '; $name = substr($file, 0, dol_strlen($file) - 4); diff --git a/htdocs/install/step2.php b/htdocs/install/step2.php index e0af9a7f771..1a8a4108827 100644 --- a/htdocs/install/step2.php +++ b/htdocs/install/step2.php @@ -125,11 +125,11 @@ if ($action == "set") $versionarray=$db->getVersionArray(); print '||
| '.$langs->trans("DatabaseVersion").' | '; print ''.$version.' | '.join('.',$versionarray).' | '; + //print ''.join('.',$versionarray).' | '; print '|
| '.$langs->trans("DatabaseName").' | '; print ''.$db->database_name.' | '.join('.',$versionarray).' | '; + //print ''.join('.',$versionarray).' | '; } $requestnb=0; diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 6a821d8dbaf..1e912545638 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -181,16 +181,16 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a $version=$db->getVersion(); $versionarray=$db->getVersionArray(); print '|
| '.$langs->trans("ServerVersion").' | '; - print ''.$version.' | '.$version.' | '; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ServerVersion") . ": " .$version); if ($db->type == 'mysqli' && function_exists('mysqli_get_charset')) { $tmparray = $db->db->get_charset(); print '||
| '.$langs->trans("ClientCharset").' | '; - print ''.$tmparray->charset.' | '.$tmparray->charset.' | '; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCharset") . ": " .$tmparray->charset); print '||
| '.$langs->trans("ClientSortingCharset").' | '; - print ''.$tmparray->collation.' | '.$tmparray->collation.' | '; dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCollation") . ": " .$tmparray->collation); } @@ -201,7 +201,7 @@ if (! GETPOST('action', 'aZ09') || preg_match('/upgrade/i', GETPOST('action', 'a && versioncompare($versionarray, $versionmindb) < 0) { // Warning: database version too low. - print "||
| ".$langs->trans("ErrorDatabaseVersionTooLow", join('.', $versionarray), join('.', $versionmindb))." | ".$langs->trans("Error")." | |||
| ".$langs->trans("ErrorDatabaseVersionTooLow", join('.', $versionarray), join('.', $versionmindb))." | ".$langs->trans("Error")." | |||
'.$langs->trans("ErrorDatabaseVersionForbiddenForMigration", join('.', $versionarray), $listofforbiddenversion)." | ".$langs->trans("Error")." | |||
'.$langs->trans("ErrorDatabaseVersionForbiddenForMigration", join('.', $versionarray), $listofforbiddenversion)." | ".$langs->trans("Error")." | |||
| '.$langs->trans("ChoosedMigrateScript").' | '.$file.' | |||
| '.$langs->trans("ChoosedMigrateScript").' | '.$file.' | |||
| '.$langs->trans("ChoosedMigrateScript").' (external modules) | '.$modulefileshort.' | |||
| '.$langs->trans("ChoosedMigrateScript").' (external modules) | '.$modulefileshort.' | |||
| '.$langs->trans("ErrorFailedToConnectToDatabase", $conf->db->name).' | '.$langs->trans('Error').' | |||
| '.$langs->trans("ErrorFailedToConnectToDatabase", $conf->db->name).' | '.$langs->trans('Error').' | |||
| '.$langs->trans("MigrationCategorieAssociation").' | '; - print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Success").' ('.$num.'=>'.count($couples).') | '.$langs->trans("RemoveDuplicates").' '.$langs->trans("Success").' ('.$num.'=>'.count($couples).') | '; $db->commit(); } else { print '||
| '.$langs->trans("MigrationCategorieAssociation").' | '; - print ''.$langs->trans("RemoveDuplicates").' '.$langs->trans("Failed").' | '.$langs->trans("RemoveDuplicates").' '.$langs->trans("Failed").' | '; $db->rollback(); } } @@ -3680,7 +3680,7 @@ function migrate_clean_association($db, $langs, $conf, $versionto) else { print '||
| '.$langs->trans("Error").' | '; - print ''.$db->lasterror().' | '.$db->lasterror().' | ';
}
}
}
diff --git a/htdocs/opensurvey/index.php b/htdocs/opensurvey/index.php
index c36d27b64db..413572ca4f6 100644
--- a/htdocs/opensurvey/index.php
+++ b/htdocs/opensurvey/index.php
@@ -68,9 +68,9 @@ else dol_print_error($db, '');
print '||
| '.$langs->trans("OpenSurveyArea").' | |||
| '.$langs->trans("NbOfSurveys").' | '.$nbsondages.' | '; +print ''.$langs->trans("NbOfSurveys").' | '.$nbsondages.' | '; print "
| '.$langs->trans("Total").' | '; +//print ' | ||
| '.$langs->trans("Total").' | '; //print $total; //print ' | ||
| '.$langs->trans("Name").' | '; print ''.$langs->trans("Description").' | '; -print ''.$langs->trans("Status")." | \n"; -print ''.$langs->trans("Default")." | \n"; -print ''.$langs->trans("ShortInfo").' | '; -print ''.$langs->trans("Preview").' | '; +print ''.$langs->trans("Status")." | \n"; +print ''.$langs->trans("Default")." | \n"; +print ''.$langs->trans("ShortInfo").' | '; +print ''.$langs->trans("Preview").' | '; print "'."\n"; + print ' | '."\n"; print ''; print img_picto($langs->trans("Enabled"), 'switch_on'); print ''; @@ -466,13 +466,13 @@ foreach ($dirmodels as $reldir) } else { - print ' | '."\n"; + print ' | '."\n"; print 'scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("Disabled"), 'switch_off').''; print " | "; } // Defaut - print ''; + print ' | ';
if ($conf->global->PRODUCT_ADDON_PDF == $name)
{
print img_picto($langs->trans("Default"), 'on');
@@ -495,12 +495,12 @@ foreach ($dirmodels as $reldir)
$htmltooltip.=' '.$langs->trans("MultiLanguage").': '.yn($module->option_multilang, 1, 1); - print ' | '; + print ' | '; print $form->textwithpicto('', $htmltooltip, 1, 0); print ' | '; // Preview - print ''; + print ' | ';
if ($module->type == 'pdf')
{
print ''.img_object($langs->trans("Preview"), 'contract').'';
@@ -540,7 +540,7 @@ print '';
print '
| |||||||