\n";
print "\n";
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";
clearstatcache();
@@ -315,7 +315,7 @@ foreach ($dirmodels as $reldir) {
// Active
if (in_array($name, $def)) {
- print '' . "\n";
+ print ' ' . "\n";
print '';
print img_picto($langs->trans("Enabled"),
'switch_on');
@@ -323,14 +323,14 @@ foreach ($dirmodels as $reldir) {
print ' ';
}
else {
- print '' . "\n";
+ print ' ' . "\n";
print 'scandir . '&label=' . urlencode($module->name) . '">' . img_picto($langs->trans("Disabled"),
'switch_off') . ' ';
print " ";
}
// Default
- print '';
+ print ' ';
if ($conf->global->BANKADDON_PDF == $name) {
print img_picto($langs->trans("Default"),
'on');
@@ -358,13 +358,13 @@ foreach ($dirmodels as $reldir) {
// $htmltooltip.=' '.$langs->trans("CreditNote").': '.yn($module->option_credit_note,1,1);
//$htmltooltip .= ' ' . $langs->trans("WatermarkOnDraftOrders") . ': ' . yn($module->option_draft_watermark, 1, 1);
- print ' ';
+ print ' ';
print $form->textwithpicto('', $htmltooltip, 1,
0);
print ' ';
// Preview
- print '';
+ print ' ';
if ($module->type == 'pdf') {
print '' . img_object($langs->trans("Preview"),
'bill') . ' ';
@@ -404,7 +404,7 @@ print "\n";
print "\n";
print '' . $langs->trans("Name") . ' ';
print '' . $langs->trans("Description") . ' ';
-print '' . $langs->trans("Status") . " \n";
+print '' . $langs->trans("Status") . " \n";
print " \n";
print '';
@@ -414,7 +414,7 @@ print $langs->trans('AutoReportLastAccountStatement');
print ' ';
// Active
if ($conf->global->BANK_REPORT_LAST_NUM_RELEVE) {
- print '' . "\n";
+ print ' ' . "\n";
print '';
print img_picto($langs->trans("Enabled"), 'switch_on');
print ' ';
@@ -422,7 +422,7 @@ if ($conf->global->BANK_REPORT_LAST_NUM_RELEVE) {
}
else
{
- print ' ' . "\n";
+ print ' ' . "\n";
print '' . img_picto($langs->trans("Disabled"),
'switch_off') . ' ';
print " ";
diff --git a/htdocs/admin/barcode.php b/htdocs/admin/barcode.php
index 92b1c73060d..e811eaff261 100644
--- a/htdocs/admin/barcode.php
+++ b/htdocs/admin/barcode.php
@@ -199,8 +199,8 @@ print '';
print '';
print ''.$langs->trans("Name").' ';
print ''.$langs->trans("Description").' ';
-print ''.$langs->trans("Example").' ';
-print ''.$langs->trans("CodeBarGenerator").' ';
+print ''.$langs->trans("Example").' ';
+print ''.$langs->trans("CodeBarGenerator").' ';
print " \n";
$sql = "SELECT rowid, code as encoding, libelle, coder, example";
@@ -229,7 +229,7 @@ if ($resql)
print '';
// Show example
- print '';
+ print ' ';
if ($obj->coder && $obj->coder != -1)
{
$result=0;
@@ -277,7 +277,7 @@ if ($resql)
}
print ' ';
- print '';
+ print ' ';
print $formbarcode->setBarcodeEncoder($obj->coder, $barcodelist, $obj->rowid, 'form'.$i);
print " \n";
@@ -307,7 +307,7 @@ print " ";
print '';
print '';
print ''.$langs->trans("Parameter").' ';
-print ''.$langs->trans("Value").' ';
+print ''.$langs->trans("Value").' ';
print ' ';
print ' ';
@@ -317,7 +317,7 @@ if (! isset($_SERVER['WINDIR']))
print '';
print ''.$langs->trans("GenbarcodeLocation").' ';
- print '';
+ print ' ';
print ' ';
if (! empty($conf->global->GENBARCODE_LOCATION) && ! @file_exists($conf->global->GENBARCODE_LOCATION))
{
@@ -369,8 +369,8 @@ if ($conf->produit->enabled)
print ' '.$langs->trans("Name").' ';
print ''.$langs->trans("Description").' ';
print ''.$langs->trans("Example").' ';
- print ''.$langs->trans("Status").' ';
- print ''.$langs->trans("ShortInfo").' ';
+ print ''.$langs->trans("Status").' ';
+ print ''.$langs->trans("ShortInfo").' ';
print " \n";
$dirbarcodenum=array_merge(array('/core/modules/barcode/'), $conf->modules_parts['barcode']);
@@ -406,17 +406,17 @@ if ($conf->produit->enabled)
if ($conf->global->BARCODE_PRODUCT_ADDON_NUM == "$file")
{
- print '';
+ print ' ';
print img_picto($langs->trans("Activated"), 'switch_on');
print ' ';
}
else
{
- print '';
+ print ' ';
print img_picto($langs->trans("Disabled"), 'switch_off');
print ' ';
}
- print '';
+ print ' ';
$s=$modBarCode->getToolTip($langs, null, -1);
print $form->textwithpicto('', $s, 1);
print ' ';
diff --git a/htdocs/admin/boxes.php b/htdocs/admin/boxes.php
index 3cee6aa27f4..70672f9b6fb 100644
--- a/htdocs/admin/boxes.php
+++ b/htdocs/admin/boxes.php
@@ -337,7 +337,7 @@ print '';
print ''.$langs->trans("Box").' ';
print ''.$langs->trans("Note").'/'.$langs->trans("Parameters").' ';
print ''.$langs->trans("SourceFile").' ';
-print ''.$langs->trans("ActivateOn").' ';
+print ''.$langs->trans("ActivateOn").' ';
print " \n";
foreach($boxtoadd as $box)
@@ -398,9 +398,9 @@ print ''."\n";
print '';
print ''.$langs->trans("Box").' ';
print ''.$langs->trans("Note").'/'.$langs->trans("Parameters").' ';
-print ''.$langs->trans("ActiveOn").' ';
-print ''.$langs->trans("PositionByDefault").' ';
-print ''.$langs->trans("Disable").' ';
+print ''.$langs->trans("ActiveOn").' ';
+print ''.$langs->trans("PositionByDefault").' ';
+print ''.$langs->trans("Disable").' ';
print ' '."\n";
$box_order=1;
@@ -429,15 +429,15 @@ foreach($boxactivated as $key => $box)
}
else print ($box->note?$box->note:' ');
print '';
- print '' . (empty($pos_name[$box->position])?'':$langs->trans($pos_name[$box->position])) . ' ';
+ print '' . (empty($pos_name[$box->position])?'':$langs->trans($pos_name[$box->position])) . ' ';
$hasnext=($key < (count($boxactivated)-1));
$hasprevious=($key != 0);
- print ''.($key+1).' ';
- print '';
+ print ' '.($key+1).' ';
+ print '';
print ($hasnext?''.img_down().' ':'');
print ($hasprevious?''.img_up().' ':'');
print ' ';
- print '';
+ print ' ';
print ''.img_delete().' ';
print ' ';
diff --git a/htdocs/admin/chequereceipts.php b/htdocs/admin/chequereceipts.php
index 4efa3bc487b..e8e035f8b49 100644
--- a/htdocs/admin/chequereceipts.php
+++ b/htdocs/admin/chequereceipts.php
@@ -116,8 +116,8 @@ print '';
print ''.$langs->trans("Name").' ';
print ''.$langs->trans("Description").' ';
print ''.$langs->trans("Example").' ';
-print ''.$langs->trans("Status").' ';
-print ''.$langs->trans("ShortInfo").' ';
+print ''.$langs->trans("Status").' ';
+print ''.$langs->trans("ShortInfo").' ';
print ' '."\n";
clearstatcache();
@@ -177,7 +177,7 @@ foreach ($dirmodels as $reldir)
else print $tmp;
print ''."\n";
- print '';
+ print ' ';
if ($conf->global->CHEQUERECEIPTS_ADDON == $file || $conf->global->CHEQUERECEIPTS_ADDON.'.php' == $file)
{
print img_picto($langs->trans("Activated"), 'switch_on');
@@ -206,7 +206,7 @@ foreach ($dirmodels as $reldir)
}
}
- print ' ';
+ print ' ';
print $form->textwithpicto('', $htmltooltip, 1, 0);
if ($conf->global->CHEQUERECEIPTS_ADDON.'.php' == $file) // If module is the one used, we show existing errors
@@ -244,7 +244,7 @@ print ' ';
print ' ';
print ''.$langs->trans("Parameters").' ';
-print ' ';
+print ' ';
print ' ';
print " \n";
diff --git a/htdocs/admin/commande.php b/htdocs/admin/commande.php
index 3dc59b1b247..1f3e23e05d6 100644
--- a/htdocs/admin/commande.php
+++ b/htdocs/admin/commande.php
@@ -267,8 +267,8 @@ print '';
print ''.$langs->trans("Name").' ';
print ''.$langs->trans("Description").' ';
print ''.$langs->trans("Example").' ';
-print ''.$langs->trans("Status").' ';
-print ''.$langs->trans("ShortInfo").' ';
+print ''.$langs->trans("Status").' ';
+print ''.$langs->trans("ShortInfo").' ';
print ' '."\n";
clearstatcache();
@@ -312,7 +312,7 @@ foreach ($dirmodels as $reldir)
else print $tmp;
print ''."\n";
- print '';
+ print ' ';
if ($conf->global->COMMANDE_ADDON == $file)
{
print img_picto($langs->trans("Activated"), 'switch_on');
@@ -344,7 +344,7 @@ foreach ($dirmodels as $reldir)
}
}
- print ' ';
+ print ' ';
print $form->textwithpicto('', $htmltooltip, 1, 0);
print ' ';
@@ -393,10 +393,10 @@ print "\n";
print "\n";
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";
clearstatcache();
@@ -449,7 +449,7 @@ foreach ($dirmodels as $reldir)
// Active
if (in_array($name, $def))
{
- print ''."\n";
+ print ' '."\n";
print '';
print img_picto($langs->trans("Enabled"), 'switch_on');
print ' ';
@@ -457,13 +457,13 @@ foreach ($dirmodels as $reldir)
}
else
{
- print ' '."\n";
+ print ' '."\n";
print 'scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("Disabled"), 'switch_off').' ';
print " ";
}
// Default
- print '';
+ print ' ';
if ($conf->global->COMMANDE_ADDON_PDF == $name)
{
print img_picto($langs->trans("Default"), 'on');
@@ -491,12 +491,12 @@ foreach ($dirmodels as $reldir)
$htmltooltip.=' '.$langs->trans("WatermarkOnDraftOrders").': '.yn($module->option_draft_watermark, 1, 1);
- print ' ';
+ print ' ';
print $form->textwithpicto('', $htmltooltip, 1, 0);
print ' ';
// Preview
- print '';
+ print ' ';
if ($module->type == 'pdf')
{
print ''.img_object($langs->trans("Preview"), 'bill').' ';
@@ -528,7 +528,7 @@ print load_fiche_titre($langs->trans("OtherOptions"), '', '');
print '';
print '';
print ''.$langs->trans("Parameter").' ';
-print ''.$langs->trans("Value").' ';
+print ''.$langs->trans("Value").' ';
print " \n";
print " \n";
@@ -580,7 +580,7 @@ Whet is definition of "shippable" according to all different STOCK_CALCULATE_...
print '';
print ''.$langs->trans("ShippableOrderIconInList").' ';
print '  ';
-print '';
+print ' ';
if (!empty($conf->global->SHIPPABLE_ORDER_ICON_IN_LIST)) {
print '';
print img_picto($langs->trans("Activated"),'switch_on');
@@ -598,7 +598,7 @@ if ($conf->banque->enabled)
{
print '';
- print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_ORDER").'   ';
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_ORDER").'   ';
if (! empty($conf->use_javascript_ajax))
{
print ajax_constantonoff('BANK_ASK_PAYMENT_BANK_DURING_ORDER');
@@ -620,7 +620,7 @@ else
{
print ' ';
- print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_ORDER").' '.$langs->trans('NotAvailable').' ';
+ print $langs->trans("BANK_ASK_PAYMENT_BANK_DURING_ORDER").' '.$langs->trans('NotAvailable').' ';
}
// Ask for warehouse during order
@@ -628,7 +628,7 @@ if ($conf->stock->enabled)
{
print '';
- print $langs->trans("WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER").'   ';
+ print $langs->trans("WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER").'   ';
if (! empty($conf->use_javascript_ajax))
{
print ajax_constantonoff('WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER');
@@ -650,7 +650,7 @@ else
{
print ' ';
- print $langs->trans("WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER").' '.$langs->trans('NotAvailable').' ';
+ print $langs->trans("WAREHOUSE_ASK_WAREHOUSE_DURING_ORDER").' '.$langs->trans('NotAvailable').' ';
}
*/
@@ -666,7 +666,7 @@ print load_fiche_titre($langs->trans("Notifications"), '', '');
print '';
print '';
print ''.$langs->trans("Parameter").' ';
-print ' ';
+print ' ';
print ' ';
print " \n";
diff --git a/htdocs/admin/const.php b/htdocs/admin/const.php
index 720b43a2275..062fcb1d998 100644
--- a/htdocs/admin/const.php
+++ b/htdocs/admin/const.php
@@ -190,7 +190,7 @@ print ''.$langs->trans("Name").' ';
print ''.$langs->trans("Value").' ';
print ''.$langs->trans("Comment").' ';
if (! empty($conf->multicompany->enabled) && !$user->entity) print ''.$langs->trans("Entity").' ';
-print ''.$langs->trans("Action").' ';
+print ''.$langs->trans("Action").' ';
print "\n";
@@ -210,11 +210,11 @@ if (! empty($conf->multicompany->enabled) && !$user->entity)
print '';
print ' ';
print ' ';
- print '';
+ print ' ';
}
else
{
- print ' ';
+ print ' ';
print ' ';
}
print ' ';
@@ -273,11 +273,11 @@ if ($result)
print ' ';
print ' ';
print ' ';
- print '';
+ print ' ';
}
else
{
- print ' ';
+ print ' ';
print ' ';
}
diff --git a/htdocs/admin/contract.php b/htdocs/admin/contract.php
index 7cad76585e2..bf02df80b5b 100644
--- a/htdocs/admin/contract.php
+++ b/htdocs/admin/contract.php
@@ -204,8 +204,8 @@ print ' ';
print ''.$langs->trans("Name").' ';
print ''.$langs->trans("Description").' ';
print ''.$langs->trans("Example").' ';
-print ''.$langs->trans("Status").' ';
-print ''.$langs->trans("ShortInfo").' ';
+print ''.$langs->trans("Status").' ';
+print ''.$langs->trans("ShortInfo").' ';
print " \n";
clearstatcache();
@@ -249,7 +249,7 @@ foreach ($dirmodels as $reldir)
else print $tmp;
print ''."\n";
- print '';
+ print ' ';
if ($conf->global->CONTRACT_ADDON == "$file")
{
print img_picto($langs->trans("Activated"), 'switch_on');
@@ -280,7 +280,7 @@ foreach ($dirmodels as $reldir)
}
}
- print ' ';
+ print ' ';
print $form->textwithpicto('', $htmltooltip, 1, 0);
print ' ';
@@ -329,10 +329,10 @@ print '';
print '';
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";
clearstatcache();
@@ -384,7 +384,7 @@ foreach ($dirmodels as $reldir)
// Active
if (in_array($name, $def))
{
- print ''."\n";
+ print ' '."\n";
print '';
print img_picto($langs->trans("Enabled"), 'switch_on');
print ' ';
@@ -392,13 +392,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->CONTRACT_ADDON_PDF == $name)
{
print img_picto($langs->trans("Default"), 'on');
@@ -424,12 +424,12 @@ foreach ($dirmodels as $reldir)
$htmltooltip.=' '.$langs->trans("WatermarkOnDraftOrders").': '.yn($module->option_draft_watermark, 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').' ';
@@ -466,7 +466,7 @@ print load_fiche_titre($langs->trans("OtherOptions"), '', '');
print '';
print '';
print ''.$langs->trans("Parameter").' ';
-print ''.$langs->trans("Value").' ';
+print ''.$langs->trans("Value").' ';
print " \n";
$substitutionarray=pdf_getSubstitutionArray($langs, array('objectamount'), null, 2);
diff --git a/htdocs/admin/defaultvalues.php b/htdocs/admin/defaultvalues.php
index a946aeeacfd..c2559e0e2bf 100644
--- a/htdocs/admin/defaultvalues.php
+++ b/htdocs/admin/defaultvalues.php
@@ -322,11 +322,11 @@ if (! empty($conf->multicompany->enabled) && !$user->entity)
}
else
{
- print '';
+ print ' ';
print ' ';
print ' ';
}
-print '';
+print ' ';
$disabled='';
if (empty($conf->global->MAIN_ENABLE_DEFAULT_VALUES)) $disabled=' disabled="disabled"';
print ' ';
@@ -385,7 +385,7 @@ if ($result)
print ' ';
// Actions
- print '';
+ print ' ';
if ($action != 'edit' || GETPOST('rowid') != $obj->rowid)
{
print ''.img_edit().' ';
diff --git a/htdocs/admin/dict.php b/htdocs/admin/dict.php
index 788f600a549..6d46876586a 100644
--- a/htdocs/admin/dict.php
+++ b/htdocs/admin/dict.php
@@ -1180,7 +1180,7 @@ if ($id)
}
if ($id == 4) print ' ';
- print '';
+ print ' ';
if ($action != 'edit')
{
print ' ';
diff --git a/htdocs/admin/ecm.php b/htdocs/admin/ecm.php
index 205f7e7cb1a..1cb165552f1 100644
--- a/htdocs/admin/ecm.php
+++ b/htdocs/admin/ecm.php
@@ -77,8 +77,8 @@ print ' ';
print '';
print '';
print ''.$langs->trans("Description").' ';
-print ' ';
-print ''.$langs->trans("Value").' '."\n";
+print ' ';
+print ''.$langs->trans("Value").' '."\n";
print ' ';
$form = new Form($db);
@@ -87,9 +87,9 @@ $form = new Form($db);
print '';
print ''.$langs->trans("ECMAutoTree").' ';
-print ' ';
+print ' ';
-print '';
+print ' ';
if ($conf->use_javascript_ajax)
{
print ajax_constantonoff('ECM_AUTO_TREE_ENABLED');
diff --git a/htdocs/admin/emailcollector_list.php b/htdocs/admin/emailcollector_list.php
index 755d44d42ba..e8dbc07654c 100644
--- a/htdocs/admin/emailcollector_list.php
+++ b/htdocs/admin/emailcollector_list.php
@@ -412,7 +412,7 @@ include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_search_title.tpl.php';
$parameters=array('arrayfields'=>$arrayfields,'param'=>$param,'sortfield'=>$sortfield,'sortorder'=>$sortorder);
$reshook=$hookmanager->executeHooks('printFieldListTitle', $parameters, $object); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
-print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', 'align="center"', $sortfield, $sortorder, 'maxwidthsearch ')."\n";
+print getTitleFieldOfList($selectedfields, 0, $_SERVER["PHP_SELF"], '', '', '', '', $sortfield, $sortorder, 'center maxwidthsearch ')."\n";
print ' '."\n";
@@ -450,10 +450,10 @@ while ($i < min($num, $limit))
$cssforfield='';
if (in_array($val['type'], array('date','datetime','timestamp'))) $cssforfield.=($cssforfield?' ':'').'center';
elseif ($key == 'status') $cssforfield.=($cssforfield?' ':'').'center';
-
+
if (in_array($val['type'], array('timestamp'))) $cssforfield.=($cssforfield?' ':'').'nowrap';
elseif ($key == 'ref') $cssforfield.=($cssforfield?' ':'').'nowrap';
-
+
if (! empty($arrayfields['t.'.$key]['checked']))
{
print 'executeHooks('printFieldListValue', $parameters, $object); // Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
// Action column
- print ' ';
+ print ' ';
if ($massactionbutton || $massaction) // If we are in select mode (massactionbutton defined) or if we have already selected and sent an action ($massaction) defined
{
$selected=0;
diff --git a/htdocs/reception/stats/month.php b/htdocs/reception/stats/month.php
index e67768e6ceb..84eb9126464 100644
--- a/htdocs/reception/stats/month.php
+++ b/htdocs/reception/stats/month.php
@@ -65,8 +65,8 @@ if (! $mesg)
}
print '';
-print 'Nombre d reception par mois ';
-print '';
+print ' Nombre d reception par mois ';
+print '';
print $px->show();
print ' ';
print '
';