diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 2b482ea81a0..3c04548d7c6 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -265,7 +265,7 @@ if ($action != 'export_csv')
$description = $object->get_compte_desc($line->numero_compte); // Search description of the account
$root_account_description = $object->get_compte_racine($line->numero_compte);
if (empty($description)) {
- $link = '' . img_edit_add() . '';
+ $link = '' . img_edit_add() . '';
}
print '
';
diff --git a/htdocs/accountancy/bookkeeping/card.php b/htdocs/accountancy/bookkeeping/card.php
index d446c7b82eb..5f9ba37d341 100644
--- a/htdocs/accountancy/bookkeeping/card.php
+++ b/htdocs/accountancy/bookkeeping/card.php
@@ -439,7 +439,7 @@ if ($action == 'create')
print $langs->trans('Docdate');
print '';
if ($action != 'editdate')
- print '| piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'), 1).' | ';
+ print 'piece_num .'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('SetDate'), 1).' | ';
print '
';
print '';
if ($action == 'editdate') {
@@ -463,7 +463,7 @@ if ($action == 'create')
print $langs->trans('Codejournal');
print ' | ';
if ($action != 'editjournal')
- print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
print '';
print '';
if ($action == 'editjournal') {
@@ -487,7 +487,7 @@ if ($action == 'create')
print $langs->trans('Piece');
print ' | ';
if ($action != 'editdocref')
- print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print 'piece_num.'&mode='. $mode .'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
print '';
print '';
if ($action == 'editdocref') {
diff --git a/htdocs/adherents/subscription.php b/htdocs/adherents/subscription.php
index 8cde161a88d..415efdc8570 100644
--- a/htdocs/adherents/subscription.php
+++ b/htdocs/adherents/subscription.php
@@ -571,7 +571,7 @@ if ($rowid > 0)
print '';
print ' | ';
if ($action == 'editthirdparty')
@@ -614,7 +614,7 @@ if ($rowid > 0)
print ' | ';
if ($user->rights->user->user->creer)
{
- print 'id.'">'.img_edit($langs->trans('SetLinkToUser'), 1).'';
+ print 'id.'">'.img_edit($langs->trans('SetLinkToUser'), 1).'';
}
print ' | ';
}
diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index 7b540a92d18..b24e3361d16 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -713,7 +713,7 @@ if ($rowid > 0)
print '';
if ($user->rights->adherent->creer)
{
- print 'id).'">'.img_edit().'';
+ print 'id).'">'.img_edit().'';
}
print ' ';
if ($user->rights->adherent->supprimer)
diff --git a/htdocs/admin/emailcollector_card.php b/htdocs/admin/emailcollector_card.php
index a2416dfc90f..255fdb68a0d 100644
--- a/htdocs/admin/emailcollector_card.php
+++ b/htdocs/admin/emailcollector_card.php
@@ -378,7 +378,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
{
if ($action != 'classify')
{
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.=' | '.($object->remise_percent?''.$object->remise_percent.'%':'').' | ';
@@ -456,7 +456,7 @@ if ($object->id > 0)
print ' | ';
if ($user->rights->societe->creer)
{
- print ''.img_edit($langs->trans("Modify")).'';
+ print ''.img_edit($langs->trans("Modify")).'';
}
print ' | ';
print '';
@@ -473,7 +473,7 @@ if ($object->id > 0)
print '';
print ' | ';
if ($action == 'editshipping')
@@ -541,7 +541,7 @@ if ($object->id > 0)
print '';
print ' | ';
if ($action == 'editlevel')
diff --git a/htdocs/comm/propal/card.php b/htdocs/comm/propal/card.php
index b60ebff3e4d..96aa12062d4 100644
--- a/htdocs/comm/propal/card.php
+++ b/htdocs/comm/propal/card.php
@@ -1900,7 +1900,7 @@ if ($action == 'create')
{
require_once DOL_DOCUMENT_ROOT . '/core/class/notify.class.php';
$notify = new Notify($db);
-$formquestion = array_merge($formquestion, array(
+ $formquestion = array_merge($formquestion, array(
array('type' => 'onecolumn', 'value' => $notify->confirmMessage('PROPAL_CLOSE_SIGNED', $object->socid, $object)),
));
}
@@ -1980,7 +1980,7 @@ $formquestion = array_merge($formquestion, array(
if ($usercancreate)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.=' | ';
if ($action != 'editdate' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->trans('SetDate'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->trans('SetDate'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editdate' && $usercancreate) {
@@ -2072,7 +2072,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('DateEndPropal');
print ' | ';
if ($action != 'editecheance' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->trans('SetConditions'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->trans('SetConditions'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editecheance' && $usercancreate) {
@@ -2100,7 +2100,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('PaymentConditionsShort');
print ' | ';
if ($action != 'editconditions' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editconditions' && $usercancreate) {
@@ -2128,7 +2128,7 @@ $formquestion = array_merge($formquestion, array(
print ' (' . $langs->trans('AfterOrder') . ')';
print ' | ';
if ($action != 'editavailability' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetAvailability'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editavailability' && $usercancreate) {
@@ -2147,7 +2147,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('SendingMethod');
print ' | ';
if ($action != 'editshippingmethod' && $usercancreate)
- print 'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).' | ';
print '';
print '';
if ($action == 'editshippingmethod' && $usercancreate) {
@@ -2165,7 +2165,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('Source');
print ' | ';
if ($action != 'editdemandreason' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDemandReason'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editdemandreason' && $usercancreate) {
@@ -2183,7 +2183,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('PaymentMode');
print ' | ';
if ($action != 'editmode' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editmode' && $usercancreate) {
@@ -2203,7 +2203,7 @@ $formquestion = array_merge($formquestion, array(
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencycode' && $object->statut == Propal::STATUS_DRAFT && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && $action == 'editmulticurrencycode' && $usercancreate) {
@@ -2220,7 +2220,7 @@ $formquestion = array_merge($formquestion, array(
print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencyrate' && $object->statut == Propal::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency && $usercancreate)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($object->statut == Propal::STATUS_DRAFT && ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') && $usercancreate) {
@@ -2260,7 +2260,7 @@ $formquestion = array_merge($formquestion, array(
print $langs->trans('BankAccount');
print ' | ';
if ($action != 'editbankaccount' && $usercancreate)
- print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
print '';
print '';
if ($action == 'editbankaccount') {
@@ -2295,7 +2295,7 @@ $formquestion = array_merge($formquestion, array(
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($usercancreate) print ''.img_edit().'';
+ if ($usercancreate) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/comm/propal/contact.php b/htdocs/comm/propal/contact.php
index 9fad14fee54..96673084580 100644
--- a/htdocs/comm/propal/contact.php
+++ b/htdocs/comm/propal/contact.php
@@ -171,7 +171,7 @@ if ($object->id > 0)
if ($user->rights->propal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/comm/propal/document.php b/htdocs/comm/propal/document.php
index ffd37b5b3ee..14b845a3e8a 100644
--- a/htdocs/comm/propal/document.php
+++ b/htdocs/comm/propal/document.php
@@ -122,7 +122,7 @@ if ($object->id > 0)
if ($user->rights->propal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/comm/propal/info.php b/htdocs/comm/propal/info.php
index fec6d3bd906..108a09e7d07 100644
--- a/htdocs/comm/propal/info.php
+++ b/htdocs/comm/propal/info.php
@@ -87,7 +87,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->propal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php
index d4354cce643..2a3f0438ad0 100644
--- a/htdocs/comm/propal/note.php
+++ b/htdocs/comm/propal/note.php
@@ -102,7 +102,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->propal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php
index da676fda4b4..ed08c39d869 100644
--- a/htdocs/commande/card.php
+++ b/htdocs/commande/card.php
@@ -2093,7 +2093,7 @@ if ($action == 'create' && $usercancreate)
if ($usercancreate)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
@@ -364,7 +364,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('DateDeliveryPlanned');
print '';
- if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
+ if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
print '';
print '';
if ($action == 'editdate_livraison')
@@ -396,7 +396,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('SendingMethod');
print ' | ';
if ($action != 'editshippingmethod' && $user->rights->expedition->creer)
- print 'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetShippingMode'), 1).' | ';
print '';
print '';
if ($action == 'editshippingmethod') {
@@ -416,7 +416,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('Warehouse');
print ' | ';
if ($action != 'editwarehouse' && $user->rights->commande->creer)
- print 'id.'">'.img_edit($langs->trans('SetWarehouse'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetWarehouse'), 1).' | ';
print '';
print '';
if ($action == 'editwarehouse') {
@@ -435,7 +435,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('PaymentConditionsShort');
print ' | ';
- if ($action != 'editconditions' && $object->statut == Expedition::STATUS_VALIDATED) print 'id.'">'.img_edit($langs->trans('SetConditions'),1).' | ';
+ if ($action != 'editconditions' && $object->statut == Expedition::STATUS_VALIDATED) print 'id.'">'.img_edit($langs->trans('SetConditions'),1).' | ';
print '';
print '';
if ($action == 'editconditions')
@@ -453,7 +453,7 @@ if ($id > 0 || ! empty($ref))
print '';
print ' | ';
if ($action == 'editmode')
@@ -472,7 +472,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('AvailabilityPeriod');
print ' | ';
if ($action != 'editavailability')
- print 'id . '">' . img_edit($langs->trans('SetAvailability'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->trans('SetAvailability'), 1) . ' | ';
print '';
print '';
if ($action == 'editavailability') {
@@ -488,7 +488,7 @@ if ($id > 0 || ! empty($ref))
print $langs->trans('Source');
print ' | ';
if ($action != 'editdemandreason')
- print 'id . '">' . img_edit($langs->trans('SetDemandReason'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->trans('SetDemandReason'), 1) . ' | ';
print '';
print '';
if ($action == 'editdemandreason') {
@@ -521,7 +521,7 @@ if ($id > 0 || ! empty($ref))
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->commande->creer) print ''.img_edit().'';
+ if ($user->rights->commande->creer) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/expensereport/card.php b/htdocs/expensereport/card.php
index 78d78716afd..6361bf22cbc 100644
--- a/htdocs/expensereport/card.php
+++ b/htdocs/expensereport/card.php
@@ -1775,7 +1775,7 @@ else
if ($user->rights->commande->creer)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/fichinter/card-rec.php b/htdocs/fichinter/card-rec.php
index 0d21e342838..5afe8c79284 100644
--- a/htdocs/fichinter/card-rec.php
+++ b/htdocs/fichinter/card-rec.php
@@ -480,7 +480,7 @@ if ($action == 'create') {
$morehtmlref.='
'.$langs->trans('Project') . ' ';
if ($user->rights->ficheinter->creer) {
if ($action != 'classify') {
- $morehtmlref.='';
+ $morehtmlref.='';
$morehtmlref.=img_edit($langs->transnoentitiesnoconv('SetProject')).' : ';
}
if ($action == 'classify') {
diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php
index 32827d0c7d6..f260ec07491 100644
--- a/htdocs/fichinter/card.php
+++ b/htdocs/fichinter/card.php
@@ -1197,7 +1197,7 @@ elseif ($id > 0 || ! empty($ref))
if ($user->rights->ficheinter->creer)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/fichinter/contact.php b/htdocs/fichinter/contact.php
index 6b916f34ae4..494a1156b4f 100644
--- a/htdocs/fichinter/contact.php
+++ b/htdocs/fichinter/contact.php
@@ -142,7 +142,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->ficheinter->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php
index bc21c9f4148..b6d70669cc7 100644
--- a/htdocs/fichinter/document.php
+++ b/htdocs/fichinter/document.php
@@ -121,7 +121,7 @@ if ($object->id)
if ($user->rights->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fichinter/info.php b/htdocs/fichinter/info.php
index d85d967bf45..30aec089ee6 100644
--- a/htdocs/fichinter/info.php
+++ b/htdocs/fichinter/info.php
@@ -84,7 +84,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fichinter/note.php b/htdocs/fichinter/note.php
index 45c479c35a8..d7ba3a3c178 100644
--- a/htdocs/fichinter/note.php
+++ b/htdocs/fichinter/note.php
@@ -87,7 +87,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/card.php b/htdocs/fourn/card.php
index b1a29841dec..114b916c4fd 100644
--- a/htdocs/fourn/card.php
+++ b/htdocs/fourn/card.php
@@ -231,7 +231,7 @@ if ($object->id > 0)
print '';
print '';
if ($action == 'editconditions')
@@ -250,7 +250,7 @@ if ($object->id > 0)
print '';
print ' | ';
if ($action == 'editmode')
@@ -271,7 +271,7 @@ if ($object->id > 0)
print ' | | ';
if ($user->rights->societe->creer && !$user->societe_id > 0)
{
- print ''.img_edit($langs->trans("Modify")).'';
+ print ''.img_edit($langs->trans("Modify")).'';
}
print ' | ';
print ''.($object->remise_supplier_percent?''.$object->remise_supplier_percent.'%':'').' | ';
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 7f1fe74fcdf..adcd683dba0 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -1907,7 +1907,7 @@ elseif (! empty($object->id))
}
if(empty($conf->global->MAIN_CAN_EDIT_SUPPLIER_ON_SUPPLIER_ORDER) || $action != 'edit_thirdparty') {
if(! empty($conf->global->MAIN_CAN_EDIT_SUPPLIER_ON_SUPPLIER_ORDER) && $object->statut == CommandeFournisseur::STATUS_DRAFT) {
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetThirdParty')) . '';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetThirdParty')) . '';
}
$morehtmlref .= ' : '.$object->thirdparty->getNomUrl(1);
if(empty($conf->global->MAIN_DISABLE_OTHER_LINK) && $object->thirdparty->id > 0) $morehtmlref .= ' (' . $langs->trans("OtherOrders") . ')';
@@ -1919,7 +1919,7 @@ elseif (! empty($object->id))
$morehtmlref .= '
' . $langs->trans('Project') . ' ';
if($user->rights->fournisseur->commande->creer) {
if($action != 'classify')
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref .= '';
@@ -2008,7 +2008,7 @@ elseif (! empty($object->id))
print '';
print '';
if ($action == 'editconditions')
@@ -2028,7 +2028,7 @@ elseif (! empty($object->id))
print '';
print ' | ';
if ($action == 'editmode')
@@ -2051,7 +2051,7 @@ elseif (! empty($object->id))
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencycode' && $object->statut == CommandeFournisseur::STATUS_DRAFT)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($action == 'editmulticurrencycode') {
@@ -2068,7 +2068,7 @@ elseif (! empty($object->id))
print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencyrate' && $object->statut == CommandeFournisseur::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') {
@@ -2095,7 +2095,7 @@ elseif (! empty($object->id))
print $langs->trans('BankAccount');
print ' | ';
if ($action != 'editbankaccount' && $user->rights->fournisseur->commande->creer)
- print ' | id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
print '';
print '';
if ($action == 'editbankaccount') {
@@ -2112,7 +2112,7 @@ elseif (! empty($object->id))
print '';
print ' | ';
if ($action == 'editdate_livraison')
@@ -2150,7 +2150,7 @@ elseif (! empty($object->id))
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->fournisseur->commande->creer) print ''.img_edit().'';
+ if ($user->rights->fournisseur->commande->creer) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/fourn/commande/contact.php b/htdocs/fourn/commande/contact.php
index cce33bb3389..ca5ad3988fc 100644
--- a/htdocs/fourn/commande/contact.php
+++ b/htdocs/fourn/commande/contact.php
@@ -158,7 +158,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/commande/dispatch.php b/htdocs/fourn/commande/dispatch.php
index 08c486da15e..ad9f0018412 100644
--- a/htdocs/fourn/commande/dispatch.php
+++ b/htdocs/fourn/commande/dispatch.php
@@ -408,7 +408,7 @@ if ($id > 0 || ! empty($ref)) {
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/commande/document.php b/htdocs/fourn/commande/document.php
index 644597b5242..aece9d02014 100644
--- a/htdocs/fourn/commande/document.php
+++ b/htdocs/fourn/commande/document.php
@@ -127,7 +127,7 @@ if ($object->id > 0)
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/commande/info.php b/htdocs/fourn/commande/info.php
index 0375d43c6fc..45f04b865ea 100644
--- a/htdocs/fourn/commande/info.php
+++ b/htdocs/fourn/commande/info.php
@@ -123,7 +123,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/commande/note.php b/htdocs/fourn/commande/note.php
index 2c665531584..d2c262d2e7a 100644
--- a/htdocs/fourn/commande/note.php
+++ b/htdocs/fourn/commande/note.php
@@ -104,7 +104,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index 6985c17dce4..369ab812d4e 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -2378,7 +2378,7 @@ else
if ($user->rights->fournisseur->facture->creer)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
@@ -2500,7 +2500,7 @@ else
print $langs->trans('PaymentConditions');
print '';
if ($action != 'editconditions' && $user->rights->fournisseur->facture->creer) {
- print ' | id.'">'.img_edit($langs->trans('SetConditions'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetConditions'), 1).' | ';
}
print '';
print '';
@@ -2522,7 +2522,7 @@ else
print $langs->trans('PaymentMode');
print ' | ';
if ($action != 'editmode' && $user->rights->fournisseur->facture->creer) {
- print 'id.'">'.img_edit($langs->trans('SetMode'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetMode'), 1).' | ';
}
print '';
print '';
@@ -2546,7 +2546,7 @@ else
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencycode' && $object->statut == FactureFournisseur::STATUS_DRAFT)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($action == 'editmulticurrencycode') {
@@ -2563,7 +2563,7 @@ else
print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencyrate' && $object->statut == FactureFournisseur::STATUS_DRAFT && $object->multicurrency_code && $object->multicurrency_code != $conf->currency)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') {
@@ -2588,7 +2588,7 @@ else
print $langs->trans('BankAccount');
print ' | ';
if ($action != 'editbankaccount' && $user->rights->fournisseur->facture->creer)
- print ' | id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
print '';
print '';
if ($action == 'editbankaccount') {
@@ -2606,7 +2606,7 @@ else
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->fournisseur->facture->creer) print ''.img_edit().'';
+ if ($user->rights->fournisseur->facture->creer) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/fourn/facture/contact.php b/htdocs/fourn/facture/contact.php
index 5a0c7480172..2d2f9006632 100644
--- a/htdocs/fourn/facture/contact.php
+++ b/htdocs/fourn/facture/contact.php
@@ -159,7 +159,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->facture->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/facture/document.php b/htdocs/fourn/facture/document.php
index e0f49f6126d..d8cf1ecda27 100644
--- a/htdocs/fourn/facture/document.php
+++ b/htdocs/fourn/facture/document.php
@@ -110,7 +110,7 @@ if ($object->id > 0)
if ($user->rights->facture->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/facture/info.php b/htdocs/fourn/facture/info.php
index 9b7dbf1e61d..6b4af5dd290 100644
--- a/htdocs/fourn/facture/info.php
+++ b/htdocs/fourn/facture/info.php
@@ -84,7 +84,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->facture->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/fourn/facture/note.php b/htdocs/fourn/facture/note.php
index a67192d3179..ba51b4688a9 100644
--- a/htdocs/fourn/facture/note.php
+++ b/htdocs/fourn/facture/note.php
@@ -103,7 +103,7 @@ if ($object->id > 0)
if ($user->rights->fournisseur->commande->creer)
{
if ($action != 'classify')
- // $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ // $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/holiday/card.php b/htdocs/holiday/card.php
index 6b6da567f28..56acfd5f432 100644
--- a/htdocs/holiday/card.php
+++ b/htdocs/holiday/card.php
@@ -1349,7 +1349,7 @@ else
$include_users = $object->fetch_users_approver_holiday();
if (is_array($include_users) && in_array($user->id, $include_users) && $object->statut == Holiday::STATUS_VALIDATED)
{
- print 'id.'&action=editvalidator">'.img_edit($langs->trans("Edit")).'';
+ print 'id.'&action=editvalidator">'.img_edit($langs->trans("Edit")).'';
}
print '';
print '';
diff --git a/htdocs/livraison/card.php b/htdocs/livraison/card.php
index 42120b61c4a..fe3edc6fef4 100644
--- a/htdocs/livraison/card.php
+++ b/htdocs/livraison/card.php
@@ -396,7 +396,7 @@ else
$morehtmlref .= '
' . $langs->trans('Project') . ' ';
if (0) { // Do not change on shipment
if ($action != 'classify') {
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
}
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $expedition->id, $expedition->socid, $expedition->fk_project, 'projectid', 0, 0, 1, 1);
@@ -494,7 +494,7 @@ else
print $langs->trans('DateReceived');
print '';
- if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
+ if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
print '';
print '';
if ($action == 'editdate_livraison')
@@ -520,7 +520,7 @@ else
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->expedition->livraison->creer) print ''.img_edit().'';
+ if ($user->rights->expedition->livraison->creer) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/loan/card.php b/htdocs/loan/card.php
index 1691d44c6bb..066399320d8 100644
--- a/htdocs/loan/card.php
+++ b/htdocs/loan/card.php
@@ -453,7 +453,7 @@ if ($id > 0)
if ($user->rights->loan->write)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/loan/document.php b/htdocs/loan/document.php
index 4d66fd3b514..0cbcec2f209 100644
--- a/htdocs/loan/document.php
+++ b/htdocs/loan/document.php
@@ -98,7 +98,7 @@ if ($object->id)
$morehtmlref .= '
' . $langs->trans('Project') . ' : ';
if ($user->rights->loan->write) {
//if ($action != 'classify')
- // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref .= '';
diff --git a/htdocs/loan/info.php b/htdocs/loan/info.php
index 481f8947d9f..b4fb8851ad0 100644
--- a/htdocs/loan/info.php
+++ b/htdocs/loan/info.php
@@ -70,7 +70,7 @@ if (! empty($conf->projet->enabled)) {
$morehtmlref .= '
' . $langs->trans('Project') . ' : ';
if ($user->rights->loan->write) {
//if ($action != 'classify')
- // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref .= '';
diff --git a/htdocs/loan/note.php b/htdocs/loan/note.php
index 0b8a2a5eb19..4ddd7bdccee 100644
--- a/htdocs/loan/note.php
+++ b/htdocs/loan/note.php
@@ -87,7 +87,7 @@ if ($id > 0)
$morehtmlref .= '
' . $langs->trans('Project') . ' : ';
if ($user->rights->loan->write) {
//if ($action != 'classify')
- // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ // $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref .= '';
diff --git a/htdocs/modulebuilder/template/myobject_agenda.php b/htdocs/modulebuilder/template/myobject_agenda.php
index 074ad31ee11..8abb3623909 100644
--- a/htdocs/modulebuilder/template/myobject_agenda.php
+++ b/htdocs/modulebuilder/template/myobject_agenda.php
@@ -162,7 +162,7 @@ if ($object->id > 0)
if ($user->rights->mymodule->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/modulebuilder/template/myobject_card.php b/htdocs/modulebuilder/template/myobject_card.php
index 8ef88bc35bb..7f28794d51b 100644
--- a/htdocs/modulebuilder/template/myobject_card.php
+++ b/htdocs/modulebuilder/template/myobject_card.php
@@ -320,7 +320,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
if ($user->rights->mymodule->write)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/modulebuilder/template/myobject_note.php b/htdocs/modulebuilder/template/myobject_note.php
index ca87e9687d5..c8dbc5d3140 100644
--- a/htdocs/modulebuilder/template/myobject_note.php
+++ b/htdocs/modulebuilder/template/myobject_note.php
@@ -116,7 +116,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->mymodule->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 6d2fb4698b3..ef144c10e0d 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -1632,7 +1632,7 @@ else
print '';
print '';
if ($action == 'editbarcodetype' || $action == 'editbarcode')
@@ -1656,7 +1656,7 @@ else
print '';
print ' | ';
if ($action == 'editbarcode')
diff --git a/htdocs/product/inventory/card.php b/htdocs/product/inventory/card.php
index ff9a8232674..eb9181c8060 100644
--- a/htdocs/product/inventory/card.php
+++ b/htdocs/product/inventory/card.php
@@ -269,7 +269,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
{
if ($action != 'classify')
{
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/product/price.php b/htdocs/product/price.php
index 0fb968fd6a8..4d6183ef39f 100644
--- a/htdocs/product/price.php
+++ b/htdocs/product/price.php
@@ -825,7 +825,7 @@ if (! empty($conf->global->PRODUIT_MULTIPRICES) || ! empty($conf->global->PRODUI
print '';
print '| ';
print $langs->trans("PriceLevel");
- if ($user->admin) print ' id.'">'.img_edit($langs->trans('EditSellingPriceLabel'), 0).'';
+ if ($user->admin) print ' id.'">'.img_edit($langs->trans('EditSellingPriceLabel'), 0).'';
print ' | ';
print ''.$langs->trans("SellingPrice").' | ';
print ''.$langs->trans("MinPrice").' | ';
diff --git a/htdocs/reception/card.php b/htdocs/reception/card.php
index 95e407fb5b5..cba62da8cba 100644
--- a/htdocs/reception/card.php
+++ b/htdocs/reception/card.php
@@ -1336,7 +1336,7 @@ elseif ($id || $ref)
$morehtmlref .= ' ' . $langs->trans('Project') . ' ';
if (0) { // Do not change on reception
if ($action != 'classify') {
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
}
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
@@ -1416,7 +1416,7 @@ elseif ($id || $ref)
print $langs->trans('DateDeliveryPlanned');
print '';
- if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
+ if ($action != 'editdate_livraison') print 'id.'">'.img_edit($langs->trans('SetDeliveryDate'), 1).' | ';
print ' ';
print ' | ';
if ($action == 'editdate_livraison')
@@ -1556,7 +1556,7 @@ elseif ($id || $ref)
print $langs->trans('ReceptionMethod');
print ' | ';
- if ($action != 'editshipping_method_id') print 'id.'">'.img_edit($langs->trans('SetReceptionMethod'), 1).' | ';
+ if ($action != 'editshipping_method_id') print 'id.'">'.img_edit($langs->trans('SetReceptionMethod'), 1).' | ';
print '';
print '';
if ($action == 'editshipping_method_id')
@@ -1595,7 +1595,7 @@ elseif ($id || $ref)
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->reception->creer) print ''.img_edit().'';
+ if ($user->rights->reception->creer) print ''.img_edit().'';
else print ' ';
print ' | ';
print ' | ';
diff --git a/htdocs/reception/contact.php b/htdocs/reception/contact.php
index d7297f63824..c49eec5c82d 100644
--- a/htdocs/reception/contact.php
+++ b/htdocs/reception/contact.php
@@ -176,7 +176,7 @@ if ($id > 0 || ! empty($ref))
$morehtmlref .= '
' . $langs->trans('Project') . ' ';
if (0) { // Do not change on reception
if ($action != 'classify') {
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
}
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/reception/note.php b/htdocs/reception/note.php
index 9714a3a9691..ab8659004bb 100644
--- a/htdocs/reception/note.php
+++ b/htdocs/reception/note.php
@@ -117,7 +117,7 @@ if ($id > 0 || ! empty($ref))
$morehtmlref .= '
' . $langs->trans('Project') . ' ';
if (0) { // Do not change on reception
if ($action != 'classify') {
- $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref .= '' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
}
if ($action == 'classify') {
// $morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/resource/element_resource.php b/htdocs/resource/element_resource.php
index 2f697b61306..cbc0202b042 100644
--- a/htdocs/resource/element_resource.php
+++ b/htdocs/resource/element_resource.php
@@ -509,7 +509,7 @@ else
if ($user->rights->commande->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $fichinter->id, $fichinter->socid, $fichinter->fk_project, 'projectid', 0, 0, 1, 1);
@@ -597,7 +597,7 @@ else
// Output template part (modules that overwrite templates must declare this into descriptor)
$defaulttpldir='/core/tpl';
$dirtpls=array_merge($conf->modules_parts['tpl'], array($defaulttpldir), array($path.$defaulttpldir));
-
+
foreach($dirtpls as $module => $reldir)
{
if(file_exists(dol_buildpath($reldir.'/resource_'.$element_prop['element'].'_add.tpl.php')))
diff --git a/htdocs/salaries/card.php b/htdocs/salaries/card.php
index 6bca1945b7b..50d384545c1 100644
--- a/htdocs/salaries/card.php
+++ b/htdocs/salaries/card.php
@@ -392,7 +392,7 @@ if ($id)
if ($user->rights->salaries->write)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index cd3976781b4..986ff4c61fc 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -2357,7 +2357,7 @@ else
print '';
print '';
print '';
- print '| '.$langs->transcountry("Localtax1", $mysoc->country_code).' id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print '
| '.$langs->transcountry("Localtax1", $mysoc->country_code).' id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
if($action == 'editRE')
{
print '';
@@ -2375,7 +2375,7 @@ else
print '';
print '';
print '';
- print '| '.$langs->transcountry("Localtax2", $mysoc->country_code).'id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print ' | '.$langs->transcountry("Localtax2", $mysoc->country_code).'id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
if($action == 'editIRPF'){
print '';
$formcompany->select_localtax(2, $object->localtax2_value, "lt2");
@@ -2396,7 +2396,7 @@ else
print '';
print '';
print '';
- print '| '.$langs->transcountry("Localtax1", $mysoc->country_code).'id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print ' | '.$langs->transcountry("Localtax1", $mysoc->country_code).'id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
if($action == 'editRE'){
print '';
$formcompany->select_localtax(1, $object->localtax1_value, "lt1");
@@ -2418,7 +2418,7 @@ else
print '';
print '';
print '';
- print '| '.$langs->transcountry("Localtax2", $mysoc->country_code).' id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
+ print ' | '.$langs->transcountry("Localtax2", $mysoc->country_code).' id.'">'.img_edit($langs->transnoentitiesnoconv('Edit'), 1).' | ';
if($action == 'editIRPF'){
print '';
$formcompany->select_localtax(2, $object->localtax2_value, "lt2");
@@ -2536,7 +2536,7 @@ else
print '| ';
print $langs->trans('IncotermLabel');
print ' | | ';
- if ($user->rights->societe->creer) print ''.img_edit('', 1).'';
+ if ($user->rights->societe->creer) print ''.img_edit('', 1).'';
else print ' ';
print ' | ';
print ' | ';
@@ -2573,7 +2573,7 @@ else
print '';
print '';
if ($action == 'editparentcompany')
diff --git a/htdocs/stripe/class/actions_stripe.class.php b/htdocs/stripe/class/actions_stripe.class.php
index 036c8ed2ba6..a1936f0f24d 100644
--- a/htdocs/stripe/class/actions_stripe.class.php
+++ b/htdocs/stripe/class/actions_stripe.class.php
@@ -96,7 +96,7 @@ class ActionsStripeconnect
$this->resprints.= '| ';
$this->resprints.= $langs->trans('StripeCustomer');
$this->resprints.= ' | | ';
- // $this->resprints.= ''.img_edit().'';
+ // $this->resprints.= ''.img_edit().'';
$this->resprints.= ' | ';
$this->resprints.= ' | ';
$this->resprints.= '';
@@ -149,7 +149,7 @@ class ActionsStripeconnect
$this->resprints.= '| ';
$this->resprints.= $langs->trans('PlanStripe');
$this->resprints.= ' | | ';
- // $this->resprints.= ''.img_edit().'';
+ // $this->resprints.= ''.img_edit().'';
$this->resprints.= ' | ';
$this->resprints.= ' | ';
$this->resprints.= '';
diff --git a/htdocs/supplier_proposal/card.php b/htdocs/supplier_proposal/card.php
index 218fa5152d1..736deacd0bb 100644
--- a/htdocs/supplier_proposal/card.php
+++ b/htdocs/supplier_proposal/card.php
@@ -1455,7 +1455,7 @@ if ($action == 'create')
if ($user->rights->supplier_proposal->creer)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
@@ -1520,7 +1520,7 @@ if ($action == 'create')
print $langs->trans('PaymentConditionsShort');
print ' | ';
if ($action != 'editconditions' && $object->statut == SupplierProposal::STATUS_DRAFT)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetConditions'), 1) . ' | ';
print ' ';
print ' | ';
if ($action == 'editconditions') {
@@ -1538,7 +1538,7 @@ if ($action == 'create')
print $langs->trans('DeliveryDate');
print ' | ';
if ($action != 'editdate_livraison' && $object->statut == SupplierProposal::STATUS_VALIDATED)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDeliveryDate'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetDeliveryDate'), 1) . ' | ';
print ' ';
print ' | ';
if ($action == 'editdate_livraison') {
@@ -1561,7 +1561,7 @@ if ($action == 'create')
print $langs->trans('PaymentMode');
print ' | ';
if ($action != 'editmode' && $object->statut == SupplierProposal::STATUS_VALIDATED)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMode'), 1) . ' | ';
print ' ';
print ' | ';
if ($action == 'editmode') {
@@ -1581,7 +1581,7 @@ if ($action == 'create')
print $form->editfieldkey('Currency', 'multicurrency_code', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencycode' && $object->statut == SupplierProposal::STATUS_VALIDATED)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '
';
print '';
if ($action == 'editmulticurrencycode') {
@@ -1598,7 +1598,7 @@ if ($action == 'create')
print $form->editfieldkey('CurrencyRate', 'multicurrency_tx', '', $object, 0);
print ' | ';
if ($action != 'editmulticurrencyrate' && $object->statut == SupplierProposal::STATUS_VALIDATED && $object->multicurrency_code && $object->multicurrency_code != $conf->currency)
- print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
+ print 'id . '">' . img_edit($langs->transnoentitiesnoconv('SetMultiCurrencyCode'), 1) . ' | ';
print '';
print '';
if ($action == 'editmulticurrencyrate' || $action == 'actualizemulticurrencyrate') {
@@ -1639,7 +1639,7 @@ if ($action == 'create')
print $langs->trans('BankAccount');
print ' | ';
if ($action != 'editbankaccount' && $user->rights->supplier_proposal->creer)
- print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
+ print 'id.'">'.img_edit($langs->trans('SetBankAccount'), 1).' | ';
print '';
print '';
if ($action == 'editbankaccount') {
diff --git a/htdocs/supplier_proposal/contact.php b/htdocs/supplier_proposal/contact.php
index 5932eca9d52..69c6f0d193e 100644
--- a/htdocs/supplier_proposal/contact.php
+++ b/htdocs/supplier_proposal/contact.php
@@ -159,7 +159,7 @@ if ($id > 0 || ! empty($ref))
if ($permissiontoedit)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/supplier_proposal/document.php b/htdocs/supplier_proposal/document.php
index b7364ed3975..7c5d533a401 100644
--- a/htdocs/supplier_proposal/document.php
+++ b/htdocs/supplier_proposal/document.php
@@ -114,7 +114,7 @@ if ($object->id > 0)
if ($user->rights->supplier_proposal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/supplier_proposal/info.php b/htdocs/supplier_proposal/info.php
index c91373e646e..e34ba2cd06c 100644
--- a/htdocs/supplier_proposal/info.php
+++ b/htdocs/supplier_proposal/info.php
@@ -79,7 +79,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->supplier_proposal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/supplier_proposal/note.php b/htdocs/supplier_proposal/note.php
index 6cea38b4aad..b827117d7c5 100644
--- a/htdocs/supplier_proposal/note.php
+++ b/htdocs/supplier_proposal/note.php
@@ -99,7 +99,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->supplier_proposal->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/ticket/agenda.php b/htdocs/ticket/agenda.php
index 3ed1ddc856d..c20fbe20a7e 100644
--- a/htdocs/ticket/agenda.php
+++ b/htdocs/ticket/agenda.php
@@ -173,7 +173,7 @@ if (! empty($conf->societe->enabled))
{
$morehtmlref.=' '.$langs->trans('ThirdParty');
/*if ($action != 'editcustomer' && $object->fk_statut < 8 && !$user->societe_id && $user->rights->ticket->write) {
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
}*/
$morehtmlref.=' : ';
if ($action == 'editcustomer') {
@@ -191,7 +191,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->ticket->write)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php
index 54fc9026da9..621d9435038 100644
--- a/htdocs/ticket/card.php
+++ b/htdocs/ticket/card.php
@@ -776,7 +776,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
{
$morehtmlref.=' '.$langs->trans('ThirdParty') . ' ';
if ($action != 'editcustomer' && $object->fk_statut < 8 && !$user->societe_id && $user->rights->ticket->write) {
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 0) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 0) . ' : ';
}
if ($action == 'editcustomer') {
$morehtmlref.=$form->form_thirdparty($url_page_current . '?track_id=' . $object->track_id, $object->socid, 'editcustomer', '', 1, 0, 0, array(), 1);
@@ -793,7 +793,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
if ($user->rights->ticket->write)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
@@ -903,7 +903,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
print $langs->trans('Progression') . ' | ';
print ' | ';
if ($action != 'progression' && $object->fk_statut < 8 && !$user->societe_id) {
- print '' . img_edit($langs->trans('Modify')) . ' | ';
+ print '' . img_edit($langs->trans('Modify')) . ' | ';
}
print '';
print '';
@@ -977,7 +977,7 @@ if (empty($action) || $action == 'view' || $action == 'addlink' || $action == 'd
else {
// Button to edit Properties
if ($object->fk_statut < 5 && $user->rights->ticket->write) {
- print '' . img_edit($langs->trans('Modify')) . '';
+ print '' . img_edit($langs->trans('Modify')) . '';
}
}
print ' | ';
diff --git a/htdocs/ticket/contact.php b/htdocs/ticket/contact.php
index f38a5abd910..42a319c3720 100644
--- a/htdocs/ticket/contact.php
+++ b/htdocs/ticket/contact.php
@@ -164,7 +164,7 @@ if ($id > 0 || !empty($track_id) || !empty($ref)) {
{
$morehtmlref.='
'.$langs->trans('ThirdParty');
/*if ($action != 'editcustomer' && $object->fk_statut < 8 && !$user->societe_id && $user->rights->ticket->write) {
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
}*/
$morehtmlref.=' : ';
if ($action == 'editcustomer') {
@@ -182,7 +182,7 @@ if ($id > 0 || !empty($track_id) || !empty($ref)) {
if ($user->rights->ticket->write)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/ticket/document.php b/htdocs/ticket/document.php
index b26b68e697a..c1cbaa26902 100644
--- a/htdocs/ticket/document.php
+++ b/htdocs/ticket/document.php
@@ -129,7 +129,7 @@ if ($object->id)
{
$morehtmlref.='
'.$langs->trans('ThirdParty');
/*if ($action != 'editcustomer' && $object->fk_statut < 8 && !$user->societe_id && $user->rights->ticket->write) {
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
}*/
$morehtmlref.=' : ';
if ($action == 'editcustomer') {
@@ -147,7 +147,7 @@ if ($object->id)
if ($user->rights->ticket->write)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/ticket/messaging.php b/htdocs/ticket/messaging.php
index eff160b52b4..d5bda4297ca 100644
--- a/htdocs/ticket/messaging.php
+++ b/htdocs/ticket/messaging.php
@@ -172,7 +172,7 @@ if (! empty($conf->societe->enabled))
{
$morehtmlref.='
'.$langs->trans('ThirdParty');
/*if ($action != 'editcustomer' && $object->fk_statut < 8 && !$user->societe_id && $user->rights->ticket->write) {
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('Edit'), 1) . '';
}*/
$morehtmlref.=' : ';
if ($action == 'editcustomer') {
@@ -190,7 +190,7 @@ if (! empty($conf->projet->enabled))
if ($user->rights->ticket->write)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . '';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/user/bank.php b/htdocs/user/bank.php
index e9a6a69e8d3..2ec9a121265 100644
--- a/htdocs/user/bank.php
+++ b/htdocs/user/bank.php
@@ -199,7 +199,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
print '';
- print '';
+ print '';
print '| '.$langs->trans("Login").' | ';
print ''.$object->login.' | ';
@@ -212,7 +212,7 @@ if ($action != 'edit' && $action != 'create') // If not bank account yet, $acco
print load_fiche_titre($langs->trans("BAN"));
print '';
- print '';
+ print '';
print '| '.$langs->trans("LabelRIB").' | ';
print ''.$account->label.' |
';
diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php
index 149e43ca88b..0922e9e63cf 100644
--- a/htdocs/user/clicktodial.php
+++ b/htdocs/user/clicktodial.php
@@ -150,7 +150,7 @@ if ($id > 0)
else // View mode
{
- print '';
+ print '';
if (! empty($user->admin))
{
diff --git a/htdocs/user/note.php b/htdocs/user/note.php
index 84a9decbe2e..0fdbdd26b81 100644
--- a/htdocs/user/note.php
+++ b/htdocs/user/note.php
@@ -104,7 +104,7 @@ if ($id)
print '';
print '';
- print '
';
+ print '';
// Login
print '| '.$langs->trans("Login").' | '.$object->login.' |
';
diff --git a/htdocs/user/notify/card.php b/htdocs/user/notify/card.php
index 119b62575aa..9ce745cf06c 100644
--- a/htdocs/user/notify/card.php
+++ b/htdocs/user/notify/card.php
@@ -144,7 +144,7 @@ if ($result > 0)
print '';
print '
';
- print '
';
+ print '';
// Login
print '| '.$langs->trans("Login").' | ';
@@ -179,10 +179,12 @@ if ($result > 0)
print "\n";
// Help
+ print '';
print '
'.$langs->trans("NotificationsDesc");
print '
'.$langs->trans("NotificationsDescUser");
print '
'.$langs->trans("NotificationsDescContact");
print '
'.$langs->trans("NotificationsDescGlobal");
+ print '';
print '
'."\n";
diff --git a/htdocs/website/websiteaccount_card.php b/htdocs/website/websiteaccount_card.php
index a98dabd4049..b9a1239449e 100644
--- a/htdocs/website/websiteaccount_card.php
+++ b/htdocs/website/websiteaccount_card.php
@@ -243,7 +243,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
{
if ($action != 'classify')
{
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/zapier/hook_agenda.php b/htdocs/zapier/hook_agenda.php
index a7b6b084895..6a10972a30e 100644
--- a/htdocs/zapier/hook_agenda.php
+++ b/htdocs/zapier/hook_agenda.php
@@ -163,7 +163,7 @@ if ($object->id > 0)
if ($user->rights->mymodule->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
diff --git a/htdocs/zapier/hook_card.php b/htdocs/zapier/hook_card.php
index 52811423d26..1d8a042435e 100644
--- a/htdocs/zapier/hook_card.php
+++ b/htdocs/zapier/hook_card.php
@@ -308,7 +308,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
if ($user->rights->mymodule->write)
{
if ($action != 'classify')
- $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ $morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);
$morehtmlref.='';
diff --git a/htdocs/zapier/hook_note.php b/htdocs/zapier/hook_note.php
index 7133dd8bf5c..718acc606d4 100644
--- a/htdocs/zapier/hook_note.php
+++ b/htdocs/zapier/hook_note.php
@@ -117,7 +117,7 @@ if ($id > 0 || ! empty($ref))
if ($user->rights->mymodule->creer)
{
if ($action != 'classify')
- //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
+ //$morehtmlref.='' . img_edit($langs->transnoentitiesnoconv('SetProject')) . ' : ';
$morehtmlref.=' : ';
if ($action == 'classify') {
//$morehtmlref.=$form->form_project($_SERVER['PHP_SELF'] . '?id=' . $object->id, $object->socid, $object->fk_project, 'projectid', 0, 0, 1, 1);