| '.$langs->trans("TurnoverOrBudget").' * | ';
print $form->selectarray('budget', $arraybudget, GETPOST('budget'), 1);
print ' € or $';
diff --git a/htdocs/public/payment/paymentko.php b/htdocs/public/payment/paymentko.php
index 6894e6a18c8..606bed0c490 100644
--- a/htdocs/public/payment/paymentko.php
+++ b/htdocs/public/payment/paymentko.php
@@ -190,7 +190,7 @@ if (!empty($_SESSION['ipaddress'])) { // To avoid to make action twice
$urlback = $_SERVER["REQUEST_URI"];
$topic = '['.$appli.'] '.$companylangs->transnoentitiesnoconv("NewOnlinePaymentFailed");
$content = "";
- $content .= ''.$companylangs->transnoentitiesnoconv("ValidationOfOnlinePaymentFailed")."\n";
+ $content .= ''.$companylangs->transnoentitiesnoconv("ValidationOfOnlinePaymentFailed")."\n";
$content .= "
\n";
$content .= ''.$companylangs->transnoentitiesnoconv("TechnicalInformation").": \n";
diff --git a/htdocs/public/payment/paymentok.php b/htdocs/public/payment/paymentok.php
index 70a684f5932..18d6a2987c8 100644
--- a/htdocs/public/payment/paymentok.php
+++ b/htdocs/public/payment/paymentok.php
@@ -1506,12 +1506,12 @@ if ($ispaymentok) {
$content .= $companylangs->transnoentities("PostActionAfterPayment").' : ';
if ($ispostactionok > 0) {
//$topic.=' ('.$companylangs->transnoentitiesnoconv("Status").' '.$companylangs->transnoentitiesnoconv("OK").')';
- $content .= ''.$companylangs->transnoentitiesnoconv("OK").'';
+ $content .= ''.$companylangs->transnoentitiesnoconv("OK").'';
} elseif ($ispostactionok == 0) {
$content .= $companylangs->transnoentitiesnoconv("None");
} else {
$topic .= ($ispostactionok ? '' : ' ('.$companylangs->trans("WarningPostActionErrorAfterPayment").')');
- $content .= ''.$companylangs->transnoentitiesnoconv("Error").'';
+ $content .= ''.$companylangs->transnoentitiesnoconv("Error").'';
}
$content .= ' '."\n";
foreach ($postactionmessages as $postactionmessage) {
@@ -1630,7 +1630,7 @@ if ($ispaymentok) {
$urlback = $_SERVER["REQUEST_URI"];
$topic = '['.$appli.'] '.$companylangs->transnoentitiesnoconv("ValidationOfPaymentFailed");
$content = "";
- $content .= ''.$companylangs->transnoentitiesnoconv("PaymentSystemConfirmPaymentPageWasCalledButFailed")."\n";
+ $content .= ''.$companylangs->transnoentitiesnoconv("PaymentSystemConfirmPaymentPageWasCalledButFailed")."\n";
$content .= "
\n";
$content .= ''.$companylangs->transnoentitiesnoconv("TechnicalInformation").": \n";
diff --git a/htdocs/public/project/new.php b/htdocs/public/project/new.php
index 1d673991d3d..b9b68c5e2e9 100644
--- a/htdocs/public/project/new.php
+++ b/htdocs/public/project/new.php
@@ -415,9 +415,9 @@ jQuery(document).ready(function () {
print ''."\n";
// Lastname
-print '| '.$langs->trans("Lastname").' * | | '."\n";
+print '| '.$langs->trans("Lastname").' * | | '."\n";
// Firstname
-print '| '.$langs->trans("Firstname").' * | | '."\n";
+print '| '.$langs->trans("Firstname").' * | | '."\n";
// Company
print '| '.$langs->trans("Company").' | | '."\n";
// Address
@@ -460,7 +460,7 @@ if (empty($conf->global->SOCIETE_DISABLE_STATE)) {
print '';
}
// EMail
-print '| '.$langs->trans("Email").' * | | '."\n";
+print '| '.$langs->trans("Email").' * | | '."\n";
// Other attributes
$tpl_context = 'public'; // define template context to public
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_add.tpl.php';
diff --git a/htdocs/public/project/suggestbooth.php b/htdocs/public/project/suggestbooth.php
index 4598859b7b6..b07b7350372 100644
--- a/htdocs/public/project/suggestbooth.php
+++ b/htdocs/public/project/suggestbooth.php
@@ -577,13 +577,13 @@ jQuery(document).ready(function () {
print ''."\n";
// Name
-print ' | ';
+print ' | ';
print 'lastname).'" autofocus="autofocus"> | ';
print ' ';
// Email
-print '| '.$langs->trans("Email").'* | | '."\n";
+print '| '.$langs->trans("Email").'* | | '."\n";
// Company
-print '| '.$langs->trans("Company").'*';
+print ' | | '.$langs->trans("Company").'*';
print ' | | '."\n";
// Address
print '| '.$langs->trans("Address").' | '."\n";
@@ -628,16 +628,16 @@ if (empty($conf->global->SOCIETE_DISABLE_STATE)) {
print ' | ';
}
// Type of event
-print '| '.$langs->trans("EventType").'* | '."\n";
+print ' | '.$langs->trans("EventType").'* | '."\n";
print ''.FORM::selectarray('eventtype', $arrayofeventtype, $eventtype).' | ';
// Label
-print ' | '.$langs->trans("LabelOfBooth").'* | '."\n";
+print ' | '.$langs->trans("LabelOfBooth").'* | '."\n";
print ' | '."\n";
// Note
-print '| '.$langs->trans("Description").'* | '."\n";
+print ' | '.$langs->trans("Description").'* | '."\n";
print ' | '."\n";
// Start Date
-print '| '.$langs->trans("DateStart").'*';
+print ' | | '.$langs->trans("DateStart").'*';
if (!empty($project->date_start)) {
print '('.$langs->trans('Min'). ' '.dol_print_date($project->date_start).')';
}
@@ -646,7 +646,7 @@ print ' | ';
print $form->selectDate((empty($datestart)?$project->date_start:$datestart), 'datestart');
print ' | '."\n";
// End Date
-print '| '.$langs->trans("DateEnd").'*';
+print ' | '.$langs->trans("DateEnd").'*';
if (!empty($project->date_end)) {
print '('.$langs->trans('Max'). ' '.dol_print_date($project->date_end).')';
}
diff --git a/htdocs/public/project/suggestconference.php b/htdocs/public/project/suggestconference.php
index dc79346b427..3119c7831a9 100644
--- a/htdocs/public/project/suggestconference.php
+++ b/htdocs/public/project/suggestconference.php
@@ -508,17 +508,17 @@ jQuery(document).ready(function () {
print ''."\n";
// Last Name
-print ' | ';
+print ' | ';
print 'lastname).'" autofocus="autofocus"> | ';
print ' ';
// First Name
-print ' | ';
+print ' | ';
print 'firstname).'" autofocus="autofocus"> | ';
print ' ';
// Email
-print '| '.$langs->trans("Email").'* | | '."\n";
+print '| '.$langs->trans("Email").'* | | '."\n";
// Company
-print '| '.$langs->trans("Company").'*';
+print ' | | '.$langs->trans("Company").'*';
print ' | | '."\n";
// Address
print '| '.$langs->trans("Address").' | '."\n";
@@ -560,13 +560,13 @@ if (empty($conf->global->SOCIETE_DISABLE_STATE)) {
print ' | ';
}
// Type of event
-print '| '.$langs->trans("EventType").'* | '."\n";
+print ' | '.$langs->trans("EventType").'* | '."\n";
print ''.FORM::selectarray('eventtype', $arrayofeventtype, $eventtype).' | ';
// Label
-print ' | '.$langs->trans("LabelOfconference").'* | '."\n";
+print ' | '.$langs->trans("LabelOfconference").'* | '."\n";
print ' | '."\n";
// Note
-print '| '.$langs->trans("Description").'* | '."\n";
+print ' | '.$langs->trans("Description").'* | '."\n";
print ' | '."\n";
// Start Date
print '| '.$langs->trans("DateStart").' | '."\n";
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 b5a7b5cd8ea..c4bd26e1fc2 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 49ec346ec3f..6a0b9fac742 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 '';
}
diff --git a/htdocs/stripe/lib/stripe.lib.php b/htdocs/stripe/lib/stripe.lib.php
index 8749847b958..b0503a7103f 100644
--- a/htdocs/stripe/lib/stripe.lib.php
+++ b/htdocs/stripe/lib/stripe.lib.php
@@ -118,9 +118,9 @@ function html_print_stripe_footer($fromcompany, $langs)
}
print '
'."\n";
- print ''."\n";
+ print ''."\n";
print $fromcompany->name.' ';
print $line1.' ';
print $line2;
- print ' '."\n";
+ print ' '."\n";
}
diff --git a/htdocs/support/index.php b/htdocs/support/index.php
index 4c80445865b..7330c034aa7 100644
--- a/htdocs/support/index.php
+++ b/htdocs/support/index.php
@@ -83,9 +83,9 @@ print '';
print '| '.img_picto('', 'who.png', 'class="valignmiddle"', 1).' | ';
-print ''.$langs->trans("CommunitySupport").'';
+print ''.$langs->trans("CommunitySupport").'';
print '';
-print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommunauty").'';
+print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommunauty").'';
print ' '.$langs->trans("TypeOfHelp").'/'.$langs->trans("Efficiency").'/'.$langs->trans("Price").': ';
print $langs->trans("TypeHelpDev").'/'.img_picto_common('', 'redstar', 'class="valignmiddle"', 1).img_picto_common('', 'redstar', 'class="valignmiddle"', 1).'/'.img_picto_common('', 'star', 'class="valignmiddle"', 1).img_picto_common('', 'star', 'class="valignmiddle"', 1).img_picto_common('', 'star', 'class="valignmiddle"', 1).img_picto_common('', 'star', 'class="valignmiddle"', 1);
print '';
@@ -147,9 +147,9 @@ print ' | ';
print '| '.img_picto('', 'mail.png', 'class="valignmiddle"', 1).' | ';
-print ''.$langs->trans("EMailSupport").'';
+print ''.$langs->trans("EMailSupport").'';
print '';
-print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommercial").'';
+print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommercial").'';
print ' '.$langs->trans("TypeOfHelp").'/'.$langs->trans("Efficiency").'/'.$langs->trans("Price").': ';
print $langs->trans("TypeHelpOnly").'/'.img_picto_common('', 'redstar', 'class="valignmiddle"', 1).img_picto_common('', 'redstar', 'class="valignmiddle"', 1).img_picto_common('', 'redstar', 'class="valignmiddle"', 1).'/'.img_picto_common('', 'star', 'class="valignmiddle"', 1).img_picto_common('', 'star', 'class="valignmiddle"', 1);
print '';
@@ -182,9 +182,9 @@ print ' | ';
print '| '.img_picto('', 'pagemaster.png', 'class="valignmiddle"', 1).' | ';
-print ''.$langs->trans("OtherSupport").'';
+print ''.$langs->trans("OtherSupport").'';
print '';
-print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommercial").'';
+print ' '.$langs->trans("TypeOfSupport").': '.$langs->trans("TypeSupportCommercial").'';
//print ' '.$langs->trans("Efficiency").'/'.$langs->trans("Price").': '.img_picto_common('','redstar').img_picto_common('','redstar').img_picto_common('','redstar').' / '.img_picto_common('','star');
print ' '.$langs->trans("TypeOfHelp").'/'.$langs->trans("Efficiency").'/'.$langs->trans("Price").': ';
print $langs->trans("TypeHelpDevForm").'/?/?';
diff --git a/htdocs/takepos/pay.php b/htdocs/takepos/pay.php
index 27c3be96c5d..f79263bfce3 100644
--- a/htdocs/takepos/pay.php
+++ b/htdocs/takepos/pay.php
@@ -255,7 +255,7 @@ if ($conf->global->TAKEPOS_NUMPAD == 0) {
});
}, 2500);
}
-
+
global->TAKEPOS_CUSTOMER_DISPLAY)) {
echo "var line1='".$langs->trans('TotalTTC')."'.substring(0,20);";
@@ -274,18 +274,18 @@ if (!empty($conf->global->TAKEPOS_CUSTOMER_DISPLAY)) {
- trans('TotalTTC'); ?>: total_ttc, 1, '', 1, -1, -1, $invoice->multicurrency_code); ?>
+ trans('TotalTTC'); ?>: total_ttc, 1, '', 1, -1, -1, $invoice->multicurrency_code); ?>
total_ttc) { ?>
- trans('RemainToPay'); ?>: multicurrency_code); ?>
+ trans('RemainToPay'); ?>: multicurrency_code); ?>
- trans("Received"); ?>: multicurrency_code); ?>
+ trans("Received"); ?>: multicurrency_code); ?>
- trans("Change"); ?>: multicurrency_code); ?>
+ trans("Change"); ?>: multicurrency_code); ?>
global->TAKEPOS_CAN_FORCE_BANK_ACCOUNT_DURING_PAYMENT)) {
@@ -293,7 +293,7 @@ if (!empty($conf->global->TAKEPOS_CAN_FORCE_BANK_ACCOUNT_DURING_PAYMENT)) {
';
$filter = '';
$form = new Form($db);
- print ''.$langs->trans("BankAccount").': ';
+ print ''.$langs->trans("BankAccount").': ';
$form->select_comptes(0, 'accountid', 0, $filter, 1, '');
print ajax_combobox('selectaccountid');
print '
diff --git a/htdocs/ticket/list.php b/htdocs/ticket/list.php
index 6cac26a2e23..118d6208237 100644
--- a/htdocs/ticket/list.php
+++ b/htdocs/ticket/list.php
@@ -511,7 +511,7 @@ if ($socid && !$projectid && !$project_ref && $user->rights->societe->lire) {
print showValueWithClipboardCPButton(dol_escape_htmltag($socstat->code_client));
$tmpcheck = $socstat->check_codeclient();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongCustomerCode").')';
+ print ' ('.$langs->trans("WrongCustomerCode").')';
}
print ' | ';
print ' ';
@@ -523,7 +523,7 @@ if ($socid && !$projectid && !$project_ref && $user->rights->societe->lire) {
print showValueWithClipboardCPButton(dol_escape_htmltag($socstat->code_fournisseur));
$tmpcheck = $socstat->check_codefournisseur();
if ($tmpcheck != 0 && $tmpcheck != -5) {
- print ' ('.$langs->trans("WrongSupplierCode").')';
+ print ' ('.$langs->trans("WrongSupplierCode").')';
}
print '';
print '';
diff --git a/htdocs/user/clicktodial.php b/htdocs/user/clicktodial.php
index 8da4f344d56..2207e3358ae 100644
--- a/htdocs/user/clicktodial.php
+++ b/htdocs/user/clicktodial.php
@@ -119,7 +119,7 @@ if ($id > 0) {
print '';
if (empty($conf->global->CLICKTODIAL_URL) && empty($object->clicktodial_url)) {
$langs->load("errors");
- print ''.$langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("ClickToDial")).'';
+ print ''.$langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("ClickToDial")).'';
} else {
print ' '.$form->textwithpicto($langs->trans("KeepEmptyToUseDefault").': '.$conf->global->CLICKTODIAL_URL, $langs->trans("ClickToDialUrlDesc"));
}
@@ -158,7 +158,7 @@ if ($id > 0) {
}
if (empty($url)) {
$langs->load("errors");
- print ''.$langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("ClickToDial")).'';
+ print ''.$langs->trans("ErrorModuleSetupNotComplete", $langs->transnoentitiesnoconv("ClickToDial")).'';
} else {
print $form->textwithpicto((empty($object->clicktodial_url) ? ''.$langs->trans("DefaultLink").': ' : '').$url, $langs->trans("ClickToDialUrlDesc"));
}
diff --git a/htdocs/user/group/ldap.php b/htdocs/user/group/ldap.php
index e02eb3e25d0..710dab1ee22 100644
--- a/htdocs/user/group/ldap.php
+++ b/htdocs/user/group/ldap.php
@@ -184,7 +184,7 @@ if ($result > 0) {
// Show tree
if (((!is_numeric($records)) || $records != 0) && (!isset($records['count']) || $records['count'] > 0)) {
if (!is_array($records)) {
- print '| '.$langs->trans("ErrorFailedToReadLDAP").' | ';
+ print '| '.$langs->trans("ErrorFailedToReadLDAP").' | ';
} else {
$result = show_ldap_content($records, 0, $records['count'], true);
}
diff --git a/htdocs/user/ldap.php b/htdocs/user/ldap.php
index e8ceef77b0a..b7ea48f7734 100644
--- a/htdocs/user/ldap.php
+++ b/htdocs/user/ldap.php
@@ -189,7 +189,7 @@ if ($result > 0) {
// Affichage arbre
if (((!is_numeric($records)) || $records != 0) && (!isset($records['count']) || $records['count'] > 0)) {
if (!is_array($records)) {
- print '| '.$langs->trans("ErrorFailedToReadLDAP").' | ';
+ print '| '.$langs->trans("ErrorFailedToReadLDAP").' | ';
} else {
$result = show_ldap_content($records, 0, $records['count'], true);
}
|
|
| | |