diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 22a8af0d270..df195d0c932 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -1058,7 +1058,7 @@ else
$statutarray=array('1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
print $form->selectarray('finished', $statutarray, GETPOST('finished', 'alpha'), 1);
print '';
-
+
// Net Measure
print '
'.$langs->trans("NetMeasure").' ';
print ' ';
@@ -1070,7 +1070,7 @@ else
print ' ';
print $formproduct->selectMeasuringUnits("weight_units", "weight", GETPOSTISSET('weight_units')?GETPOST('weight_units', 'alpha'):(empty($conf->global->MAIN_WEIGHT_DEFAULT_UNIT)?0:$conf->global->MAIN_WEIGHT_DEFAULT_UNIT), 0, 2);
print ' ';
-
+
// Brut Length
if (empty($conf->global->PRODUCT_DISABLE_SIZE))
{
@@ -1438,7 +1438,7 @@ else
$statutarray=array('-1'=>' ', '1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
print $form->selectarray('finished', $statutarray, $object->finished);
print '';
-
+
// Net Measure
print ''.$langs->trans("NetMeasure").' ';
print ' ';
@@ -1852,7 +1852,7 @@ else
print ' '.$langs->trans("Nature").' ';
print $object->getLibFinished();
print ' ';
-
+
// Net Measure
print ''.$langs->trans("NetMeasure").' ';
if ($object->net_measure != '')
@@ -2035,17 +2035,17 @@ if ($action != 'create' && $action != 'edit')
{
if ($usercancreate)
{
- if (! isset($object->no_button_edit) || $object->no_button_edit <> 1) print '';
+ if (! isset($object->no_button_edit) || $object->no_button_edit <> 1) print 'id.'">'.$langs->trans("Modify").' ';
if (! isset($object->no_button_copy) || $object->no_button_copy <> 1)
{
if (! empty($conf->use_javascript_ajax) && empty($conf->dol_use_jmobile))
{
- print ''.$langs->trans('ToClone').'
'."\n";
+ print ''.$langs->trans('ToClone').' '."\n";
}
else
{
- print '';
+ print 'id.'">'.$langs->trans("ToClone").' ';
}
}
}
@@ -2057,21 +2057,21 @@ if ($action != 'create' && $action != 'edit')
{
if (! empty($conf->use_javascript_ajax) && empty($conf->dol_use_jmobile))
{
- print ''.$langs->trans('Delete').'
'."\n";
+ print ''.$langs->trans('Delete').' '."\n";
}
else
{
- print '';
+ print 'id.'">'.$langs->trans("Delete").' ';
}
}
else
{
- print '';
+ print ''.$langs->trans("Delete").' ';
}
}
else
{
- print '';
+ print ''.$langs->trans("Delete").' ';
}
}
diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php
index 4c04ee6ee23..7469c99c3dd 100644
--- a/htdocs/projet/card.php
+++ b/htdocs/projet/card.php
@@ -1172,13 +1172,13 @@ elseif ($object->id > 0)
// "workflow" action so should appears somewhere else on
// page.
{
- print '';
+ print '' . $langs->trans("AddAction") . ' ';
}*/
// Send
if ($object->statut != 2)
{
- print '';
+ print '' . $langs->trans('SendMail').' ';
}
// Modify
@@ -1186,11 +1186,11 @@ elseif ($object->id > 0)
{
if ($userWrite > 0)
{
- print '';
+ print ''.$langs->trans("Modify").' ';
}
else
{
- print '';
+ print ''.$langs->trans('Modify').' ';
}
}
@@ -1199,11 +1199,11 @@ elseif ($object->id > 0)
{
if ($userWrite > 0)
{
- print '';
+ print ''.$langs->trans("Validate").' ';
}
else
{
- print '';
+ print ''.$langs->trans('Validate').' ';
}
}
@@ -1212,11 +1212,11 @@ elseif ($object->id > 0)
{
if ($userWrite > 0)
{
- print '';
+ print ''.$langs->trans("Close").' ';
}
else
{
- print '';
+ print ''.$langs->trans('Close').' ';
}
}
@@ -1225,11 +1225,11 @@ elseif ($object->id > 0)
{
if ($userWrite > 0)
{
- print '';
+ print ''.$langs->trans("ReOpen").' ';
}
else
{
- print '';
+ print ''.$langs->trans('ReOpen').' ';
}
}
@@ -1239,52 +1239,52 @@ elseif ($object->id > 0)
if (! empty($conf->propal->enabled) && $user->rights->propal->creer)
{
$langs->load("propal");
- print '';
+ print ''.$langs->trans("AddProp").' ';
}
if (! empty($conf->commande->enabled) && $user->rights->commande->creer)
{
$langs->load("orders");
- print '';
+ print ''.$langs->trans("CreateOrder").' ';
}
if (! empty($conf->facture->enabled) && $user->rights->facture->creer)
{
$langs->load("bills");
- print '';
+ print ''.$langs->trans("CreateBill").' ';
}
if (! empty($conf->supplier_proposal->enabled) && $user->rights->supplier_proposal->creer)
{
$langs->load("supplier_proposal");
- print '';
+ print ''.$langs->trans("AddSupplierProposal").' ';
}
if (! empty($conf->supplier_order->enabled) && $user->rights->fournisseur->commande->creer)
{
$langs->load("suppliers");
- print '';
+ print ''.$langs->trans("AddSupplierOrder").' ';
}
if (! empty($conf->supplier_invoice->enabled) && $user->rights->fournisseur->facture->creer)
{
$langs->load("suppliers");
- print '';
+ print ''.$langs->trans("AddSupplierInvoice").' ';
}
if (! empty($conf->ficheinter->enabled) && $user->rights->ficheinter->creer)
{
$langs->load("interventions");
- print '';
+ print ''.$langs->trans("AddIntervention").' ';
}
if (! empty($conf->contrat->enabled) && $user->rights->contrat->creer)
{
$langs->load("contracts");
- print '';
+ print ''.$langs->trans("AddContract").' ';
}
if (! empty($conf->expensereport->enabled) && $user->rights->expensereport->creer)
{
$langs->load("trips");
- print '';
+ print ''.$langs->trans("AddTrip").' ';
}
if (! empty($conf->don->enabled) && $user->rights->don->creer)
{
$langs->load("donations");
- print '';
+ print ''.$langs->trans("AddDonation").' ';
}
}
@@ -1293,11 +1293,11 @@ elseif ($object->id > 0)
{
if ($userWrite > 0)
{
- print '';
+ print ''.$langs->trans('ToClone').' ';
}
else
{
- print '';
+ print ''.$langs->trans('ToClone').' ';
}
}
@@ -1306,11 +1306,11 @@ elseif ($object->id > 0)
{
if ($userDelete > 0 || ($object->statut == 0 && $user->rights->projet->creer))
{
- print '';
+ print ''.$langs->trans("Delete").' ';
}
else
{
- print '';
+ print ''.$langs->trans('Delete').' ';
}
}
}
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index e855cb71b8c..cb11324eb68 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -2654,17 +2654,17 @@ else
if (! empty($object->email) || $at_least_one_email_contact)
{
$langs->load("mails");
- print '';
+ print ''.$langs->trans('SendMail').' ';
}
else
{
$langs->load("mails");
- print '';
+ print ''.$langs->trans('SendMail').' ';
}
if ($user->rights->societe->creer)
{
- print ''."\n";
+ print 'id.'&action=edit">'.$langs->trans("Modify").' '."\n";
}
if (! empty($conf->adherent->enabled))
@@ -2679,18 +2679,18 @@ else
if ($user->rights->societe->supprimer)
{
- print '';
+ print ''.$langs->trans('Merge').' ';
}
if ($user->rights->societe->supprimer)
{
if ($conf->use_javascript_ajax && empty($conf->dol_use_jmobile)) // We can't use preloaded confirm form with jmobile
{
- print ''.$langs->trans('Delete').'
'."\n";
+ print ''.$langs->trans('Delete').' '."\n";
}
else
{
- print ''."\n";
+ print 'id.'&action=delete">'.$langs->trans('Delete').' '."\n";
}
}
}