diff --git a/htdocs/recruitment/lib/recruitment_recruitmentjobposition.lib.php b/htdocs/recruitment/lib/recruitment_recruitmentjobposition.lib.php
index a7bfe03aac4..3d3b59a9253 100644
--- a/htdocs/recruitment/lib/recruitment_recruitmentjobposition.lib.php
+++ b/htdocs/recruitment/lib/recruitment_recruitmentjobposition.lib.php
@@ -124,7 +124,7 @@ function getPublicJobPositionUrl($mode, $ref = '', $localorexternal = 0)
$urltouse = $urlwithroot;
}
- $out = $urltouse.'/public/recruitment/view.php?ref='.($mode ? '' : '').$ref.($mode ? '' : '');
+ $out = $urltouse.'/public/recruitment/view.php?ref='.($mode ? '' : '').$ref.($mode ? '' : '');
/*if (!empty($conf->global->RECRUITMENT_SECURITY_TOKEN))
{
if (empty($conf->global->RECRUITMENT_SECURITY_TOKEN)) $out .= '&securekey='.urlencode($conf->global->RECRUITMENT_SECURITY_TOKEN);
diff --git a/htdocs/recruitment/recruitmentcandidature_card.php b/htdocs/recruitment/recruitmentcandidature_card.php
index 0406c5bc65c..5fbc1029e4e 100644
--- a/htdocs/recruitment/recruitmentcandidature_card.php
+++ b/htdocs/recruitment/recruitmentcandidature_card.php
@@ -605,7 +605,7 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print '
';
}
} else {
- print ''.$langs->trans("CreateDolibarrLogin")."
";
+ print ''.$langs->trans("CreateDolibarrLogin")."
";
}
}
diff --git a/htdocs/societe/canvas/company/tpl/card_view.tpl.php b/htdocs/societe/canvas/company/tpl/card_view.tpl.php
index 386824bf251..e57421bf8b5 100644
--- a/htdocs/societe/canvas/company/tpl/card_view.tpl.php
+++ b/htdocs/societe/canvas/company/tpl/card_view.tpl.php
@@ -62,7 +62,7 @@ print dol_get_fiche_head($head, 'card', $langs->trans("ThirdParty"), 0, 'company
trans('CustomerCode'); ?> |
control->tpl['code_client']; ?>
control->tpl['checkcustomercode'] <> 0) { ?>
- (trans("WrongCustomerCode"); ?>)
+ (trans("WrongCustomerCode"); ?>)
|
@@ -73,7 +73,7 @@ print dol_get_fiche_head($head, 'card', $langs->trans("ThirdParty"), 0, 'company
trans('SupplierCode'); ?> |
control->tpl['code_fournisseur']; ?>
control->tpl['checksuppliercode'] <> 0) { ?>
- (trans("WrongSupplierCode"); ?>)
+ (trans("WrongSupplierCode"); ?>)
|
@@ -134,7 +134,7 @@ for ($i = 1; $i <= 4; $i++) {
if ($this->control->tpl['checkprofid'.$i] > 0) {
echo ' '.$this->control->tpl['urlprofid'.$i];
} else {
- echo ' ('.$langs->trans("ErrorWrongValue").')';
+ echo ' ('.$langs->trans("ErrorWrongValue").')';
}
}
echo '';
diff --git a/htdocs/societe/canvas/individual/tpl/card_view.tpl.php b/htdocs/societe/canvas/individual/tpl/card_view.tpl.php
index 361c6d59f8d..16cd9f1e637 100644
--- a/htdocs/societe/canvas/individual/tpl/card_view.tpl.php
+++ b/htdocs/societe/canvas/individual/tpl/card_view.tpl.php
@@ -57,7 +57,7 @@ if ($this->control->tpl['action_delete']) {
trans('CustomerCode'); ?> |
control->tpl['code_client']; ?>
control->tpl['checkcustomercode'] <> 0) { ?>
- (trans("WrongCustomerCode"); ?>)
+ (trans("WrongCustomerCode"); ?>)
|
@@ -68,7 +68,7 @@ if ($this->control->tpl['action_delete']) {
trans('SupplierCode'); ?> |
control->tpl['code_fournisseur']; ?>
control->tpl['checksuppliercode'] <> 0) { ?>
- (trans("WrongSupplierCode"); ?>)
+ (trans("WrongSupplierCode"); ?>)
|
diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php
index 027293f9ed9..334793985f0 100644
--- a/htdocs/societe/card.php
+++ b/htdocs/societe/card.php
@@ -2284,7 +2284,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '| '.$form->editfieldkey('Capital', 'capital', '', $object, 0).' | ';
print ' '.$langs->trans("Currency".$conf->currency).' |
';
+ print '"> '.$langs->trans("Currency".$conf->currency).'';
// Default language
if (!empty($conf->global->MAIN_MULTILANGS)) {
@@ -2511,7 +2511,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print '';
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
print '';
@@ -2524,7 +2524,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
print '';
@@ -2552,7 +2552,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) {
if ($object->id_prof_check($i, $object) > 0) {
print ' '.$object->id_prof_url($i, $object);
} else {
- print ' ('.$langs->trans("ErrorWrongValue").')';
+ print ' ('.$langs->trans("ErrorWrongValue").')';
}
}
print '';
diff --git a/htdocs/societe/checkvat/checkVatPopup.php b/htdocs/societe/checkvat/checkVatPopup.php
index 21cd629dc67..dc88baf0c28 100644
--- a/htdocs/societe/checkvat/checkVatPopup.php
+++ b/htdocs/societe/checkvat/checkVatPopup.php
@@ -49,7 +49,7 @@ $vatNumber = GETPOST("vatNumber", 'alpha');
if (!$vatNumber) {
print '
';
- print ''.$langs->transnoentities("ErrorFieldRequired", $langs->trans("VATIntraShort")).'
';
+ print ''.$langs->transnoentities("ErrorFieldRequired", $langs->trans("VATIntraShort")).'
';
} else {
$vatNumber = preg_replace('/\^\w/', '', $vatNumber);
$vatNumber = str_replace(array(' ', '.'), '', $vatNumber);
@@ -97,16 +97,16 @@ if (!$vatNumber) {
// Service indisponible
if (!is_array($result) || preg_match('/SERVICE_UNAVAILABLE/i', $result['faultstring'])) {
- print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
+ print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
$messagetoshow = $soapclient->response;
} elseif (preg_match('/TIMEOUT/i', $result['faultstring'])) {
- print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
+ print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
$messagetoshow = $soapclient->response;
} elseif (preg_match('/SERVER_BUSY/i', $result['faultstring'])) {
- print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
+ print ''.$langs->trans("ErrorServiceUnavailableTryLater").'
';
$messagetoshow = $soapclient->response;
} elseif ($result['faultstring']) {
- print ''.$langs->trans("Error").'
';
+ print ''.$langs->trans("Error").'
';
$messagetoshow = $result['faultstring'];
} elseif (preg_match('/INVALID_INPUT/i', $result['faultstring'])
|| ($result['requestDate'] && !$result['valid'])) {
@@ -114,26 +114,26 @@ if (!$vatNumber) {
if ($result['requestDate']) {
print $langs->trans("Date").': '.$result['requestDate'].'
';
}
- print $langs->trans("VATIntraSyntaxIsValid").': '.$langs->trans("No").' (Might be a non europeen VAT)
';
- print $langs->trans("ValueIsValid").': '.$langs->trans("No").' (Might be a non europeen VAT)
';
+ print $langs->trans("VATIntraSyntaxIsValid").': '.$langs->trans("No").' (Might be a non europeen VAT)
';
+ print $langs->trans("ValueIsValid").': '.$langs->trans("No").' (Might be a non europeen VAT)
';
//$messagetoshow=$soapclient->response;
} else {
// Syntaxe ok
if ($result['requestDate']) {
print $langs->trans("Date").': '.$result['requestDate'].'
';
}
- print $langs->trans("VATIntraSyntaxIsValid").': '.$langs->trans("Yes").'
';
+ print $langs->trans("VATIntraSyntaxIsValid").': '.$langs->trans("Yes").'
';
print $langs->trans("ValueIsValid").': ';
if (preg_match('/MS_UNAVAILABLE/i', $result['faultstring'])) {
- print ''.$langs->trans("ErrorVATCheckMS_UNAVAILABLE", $countryCode).'
';
+ print ''.$langs->trans("ErrorVATCheckMS_UNAVAILABLE", $countryCode).'
';
} else {
if (!empty($result['valid']) && ($result['valid'] == 1 || $result['valid'] == 'true')) {
- print ''.$langs->trans("Yes").'';
+ print ''.$langs->trans("Yes").'';
print '
';
print $langs->trans("Name").': '.$result['name'].'
';
print $langs->trans("Address").': '.$result['address'].'
';
} else {
- print ''.$langs->trans("No").'';
+ print ''.$langs->trans("No").'';
print '
'."\n";
}
}
diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php
index 5f996e6f37d..44adf30b0ed 100644
--- a/htdocs/societe/consumption.php
+++ b/htdocs/societe/consumption.php
@@ -148,7 +148,7 @@ if ($object->client) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
$sql = "SELECT count(*) as nb from ".MAIN_DB_PREFIX."facture where fk_soc = ".((int) $socid);
@@ -185,7 +185,7 @@ if ($object->fournisseur) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
$sql = "SELECT count(*) as nb from ".MAIN_DB_PREFIX."commande_fournisseur where fk_soc = ".((int) $socid);
diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php
index 60184d4ed15..23720ebd54c 100644
--- a/htdocs/societe/document.php
+++ b/htdocs/societe/document.php
@@ -152,7 +152,7 @@ if ($object->id) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -163,7 +163,7 @@ if ($object->id) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/note.php b/htdocs/societe/note.php
index c896d4df70a..b932fb11595 100644
--- a/htdocs/societe/note.php
+++ b/htdocs/societe/note.php
@@ -118,7 +118,7 @@ if ($object->id > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -129,7 +129,7 @@ if ($object->id > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php
index b52b8b4a650..4ed16e948c5 100644
--- a/htdocs/societe/notify/card.php
+++ b/htdocs/societe/notify/card.php
@@ -178,7 +178,7 @@ if ($result > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -189,7 +189,7 @@ if ($result > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/partnership.php b/htdocs/societe/partnership.php
index 85223e856f3..443126290ab 100644
--- a/htdocs/societe/partnership.php
+++ b/htdocs/societe/partnership.php
@@ -189,7 +189,7 @@ if ($id > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($societe->code_client));
$tmpcheck = $societe->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -200,7 +200,7 @@ if ($id > 0) {
print showValueWithClipboardCPButton(dol_escape_htmltag($societe->code_fournisseur));
$tmpcheck = $societe->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
print '';
diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php
index f80bebd9bf5..94feb10f82e 100644
--- a/htdocs/societe/paymentmodes.php
+++ b/htdocs/societe/paymentmodes.php
@@ -761,7 +761,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
$sql = "SELECT count(*) as nb from ".MAIN_DB_PREFIX."facture where fk_soc = ".((int) $socid);
@@ -823,7 +823,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
$sql = "SELECT count(*) as nb from ".MAIN_DB_PREFIX."facture where fk_soc = ".((int) $socid);
@@ -1032,7 +1032,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($companypaymentmodetemp->country_code, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
print '';
// Default
@@ -1141,7 +1141,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($src->country, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
} elseif ($src->object == 'source' && $src->type == 'card') {
print ''.$src->owner->name.'
....'.$src->card->last4.' - '.$src->card->exp_month.'/'.$src->card->exp_year.'';
@@ -1152,7 +1152,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($src->card->country, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
} elseif ($src->object == 'source' && $src->type == 'sepa_debit') {
print ''.$src->billing_details->name.'
....'.$src->sepa_debit->last4;
@@ -1162,7 +1162,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($src->sepa_debit->country, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
} elseif ($src->object == 'payment_method' && $src->type == 'card') {
print ''.$src->billing_details->name.'
....'.$src->card->last4.' - '.$src->card->exp_month.'/'.$src->card->exp_year.'';
@@ -1173,7 +1173,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($src->card->country, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
} elseif ($src->object == 'payment_method' && $src->type == 'sepa_debit') {
print ''.$src->billing_details->name.'
....'.$src->sepa_debit->last4;
@@ -1183,7 +1183,7 @@ if ($socid && $action != 'edit' && $action != 'create' && $action != 'editcard'
print $img ? $img.' ' : '';
print getCountry($src->sepa_debit->country, 1);
} else {
- print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
+ print img_warning().' '.$langs->trans("ErrorFieldRequired", $langs->transnoentitiesnoconv("CompanyCountry")).'';
}
} else {
print '';
diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php
index 21dd3b9643b..bf19fc0385b 100644
--- a/htdocs/societe/price.php
+++ b/htdocs/societe/price.php
@@ -218,7 +218,7 @@ if ($object->client) {
print $object->code_client;
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print ' | ';
}
@@ -229,7 +229,7 @@ if ($object->fournisseur) {
print $object->code_fournisseur;
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/project.php b/htdocs/societe/project.php
index c6256324257..ef68a03ab78 100644
--- a/htdocs/societe/project.php
+++ b/htdocs/societe/project.php
@@ -112,7 +112,7 @@ if ($socid) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_client));
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -123,7 +123,7 @@ if ($socid) {
print showValueWithClipboardCPButton(dol_escape_htmltag($object->code_fournisseur));
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/societecontact.php b/htdocs/societe/societecontact.php
index 7425f094958..d0511d53a1f 100644
--- a/htdocs/societe/societecontact.php
+++ b/htdocs/societe/societecontact.php
@@ -181,7 +181,7 @@ if ($id > 0 || !empty($ref)) {
print $object->code_client;
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -192,7 +192,7 @@ if ($id > 0 || !empty($ref)) {
print $object->code_fournisseur;
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}
diff --git a/htdocs/societe/website.php b/htdocs/societe/website.php
index 0ea53355629..0bc51450e44 100644
--- a/htdocs/societe/website.php
+++ b/htdocs/societe/website.php
@@ -222,7 +222,7 @@ if ($object->client) {
print $object->code_client;
$tmpcheck = $object->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print '';
}
@@ -233,7 +233,7 @@ if ($object->fournisseur) {
print $object->code_fournisseur;
$tmpcheck = $object->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
}