';
- $return .= '
'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= '
'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= '
';
if (!empty($arraydata['projectlink'])) {
//$tmpproject = $arraydata['project'];
diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php
index a4a39f0c2f4..4d751918432 100644
--- a/htdocs/projet/list.php
+++ b/htdocs/projet/list.php
@@ -1153,44 +1153,44 @@ if (!empty($arrayfields['p.budget_amount']['checked'])) {
print '';
}
if (!empty($arrayfields['p.usage_opportunity']['checked'])) {
- print '
';
- print $form->selectyesno('search_usage_opportunity', $search_usage_opportunity, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_usage_opportunity', $search_usage_opportunity, 1, false, 1, 1);
print '';
print ' | ';
}
if (!empty($arrayfields['p.usage_task']['checked'])) {
- print '
';
- print $form->selectyesno('search_usage_task', $search_usage_task, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_usage_task', $search_usage_task, 1, false, 1, 1);
print ' | ';
}
if (!empty($arrayfields['p.usage_bill_time']['checked'])) {
- print '
';
- print $form->selectyesno('search_usage_bill_time', $search_usage_bill_time, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_usage_bill_time', $search_usage_bill_time, 1, false, 1, 1);
print ' | ';
}
if (!empty($arrayfields['p.usage_organize_event']['checked'])) {
- print '
';
- print $form->selectyesno('search_usage_event_organization', $search_usage_event_organization, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_usage_event_organization', $search_usage_event_organization, 1, false, 1, 1);
print ' | ';
}
if (!empty($arrayfields['p.accept_conference_suggestions']['checked'])) {
- print '
';
- print $form->selectyesno('search_accept_conference_suggestions', $search_accept_conference_suggestions, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_accept_conference_suggestions', $search_accept_conference_suggestions, 1, false, 1, 1);
print ' | ';
}
if (!empty($arrayfields['p.accept_booth_suggestions']['checked'])) {
- print '
';
- print $form->selectyesno('search_accept_booth_suggestions', $search_accept_booth_suggestions, 1, false, 1);
+ print ' | ';
+ print $form->selectyesno('search_accept_booth_suggestions', $search_accept_booth_suggestions, 1, false, 1, 1);
print ' | ';
}
if (!empty($arrayfields['p.price_registration']['checked'])) {
print '
';
- print '';
+ print '';
print ' | ';
}
if (!empty($arrayfields['p.price_booth']['checked'])) {
print '
';
- print '';
+ print '';
print ' | ';
}
if (!empty($arrayfields['u.login']['checked'])) {
@@ -1313,27 +1313,27 @@ if (!empty($arrayfields['p.budget_amount']['checked'])) {
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.usage_opportunity']['checked'])) {
- print_liste_field_titre($arrayfields['p.usage_opportunity']['label'], $_SERVER["PHP_SELF"], 'p.usage_opportunity', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.usage_opportunity']['label'], $_SERVER["PHP_SELF"], 'p.usage_opportunity', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.usage_task']['checked'])) {
- print_liste_field_titre($arrayfields['p.usage_task']['label'], $_SERVER["PHP_SELF"], 'p.usage_task', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.usage_task']['label'], $_SERVER["PHP_SELF"], 'p.usage_task', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.usage_bill_time']['checked'])) {
- print_liste_field_titre($arrayfields['p.usage_bill_time']['label'], $_SERVER["PHP_SELF"], 'p.usage_bill_time', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.usage_bill_time']['label'], $_SERVER["PHP_SELF"], 'p.usage_bill_time', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.usage_organize_event']['checked'])) {
- print_liste_field_titre($arrayfields['p.usage_organize_event']['label'], $_SERVER["PHP_SELF"], 'p.usage_organize_event', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.usage_organize_event']['label'], $_SERVER["PHP_SELF"], 'p.usage_organize_event', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.accept_conference_suggestions']['checked'])) {
- print_liste_field_titre($arrayfields['p.accept_conference_suggestions']['label'], $_SERVER["PHP_SELF"], 'p.accept_conference_suggestions', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.accept_conference_suggestions']['label'], $_SERVER["PHP_SELF"], 'p.accept_conference_suggestions', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.accept_booth_suggestions']['checked'])) {
- print_liste_field_titre($arrayfields['p.accept_booth_suggestions']['label'], $_SERVER["PHP_SELF"], 'p.accept_booth_suggestions', "", $param, '', $sortfield, $sortorder, 'right ');
+ print_liste_field_titre($arrayfields['p.accept_booth_suggestions']['label'], $_SERVER["PHP_SELF"], 'p.accept_booth_suggestions', "", $param, '', $sortfield, $sortorder, '');
$totalarray['nbfield']++;
}
if (!empty($arrayfields['p.price_registration']['checked'])) {
@@ -1720,7 +1720,7 @@ while ($i < $imaxinloop) {
}
// Usage opportunity
if (!empty($arrayfields['p.usage_opportunity']['checked'])) {
- print '
';
+ print ' | ';
if ($obj->usage_opportunity) {
print yn($obj->usage_opportunity);
}
@@ -1731,7 +1731,7 @@ while ($i < $imaxinloop) {
}
// Usage task
if (!empty($arrayfields['p.usage_task']['checked'])) {
- print ' | ';
+ print ' | ';
if ($obj->usage_task) {
print yn($obj->usage_task);
}
@@ -1742,7 +1742,7 @@ while ($i < $imaxinloop) {
}
// Bill time
if (!empty($arrayfields['p.usage_bill_time']['checked'])) {
- print ' | ';
+ print ' | ';
if ($obj->usage_bill_time) {
print yn($obj->usage_bill_time);
}
@@ -1753,7 +1753,7 @@ while ($i < $imaxinloop) {
}
// Event Organization
if (!empty($arrayfields['p.usage_organize_event']['checked'])) {
- print ' | ';
+ print ' | ';
if ($obj->usage_organize_event) {
print yn($obj->usage_organize_event);
}
@@ -1764,7 +1764,7 @@ while ($i < $imaxinloop) {
}
// Allow unknown people to suggest conferences
if (!empty($arrayfields['p.accept_conference_suggestions']['checked'])) {
- print ' | ';
+ print ' | ';
if ($obj->accept_conference_suggestions) {
print yn($obj->accept_conference_suggestions);
}
@@ -1775,7 +1775,7 @@ while ($i < $imaxinloop) {
}
// Allow unknown people to suggest booth
if (!empty($arrayfields['p.accept_booth_suggestions']['checked'])) {
- print ' | ';
+ print ' | ';
if ($obj->accept_booth_suggestions) {
print yn($obj->accept_booth_suggestions);
}
diff --git a/htdocs/recruitment/class/recruitmentcandidature.class.php b/htdocs/recruitment/class/recruitmentcandidature.class.php
index 9d75781056a..71fbe249031 100644
--- a/htdocs/recruitment/class/recruitmentcandidature.class.php
+++ b/htdocs/recruitment/class/recruitmentcandidature.class.php
@@ -1046,7 +1046,7 @@ class RecruitmentCandidature extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= '';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'fk_recruitmentjobposition')) {
$return .= ' '.$langs->trans('Job').' : '.$this->fk_recruitmentjobposition.'';
diff --git a/htdocs/recruitment/class/recruitmentjobposition.class.php b/htdocs/recruitment/class/recruitmentjobposition.class.php
index 065d56d8857..f4301837ef2 100644
--- a/htdocs/recruitment/class/recruitmentjobposition.class.php
+++ b/htdocs/recruitment/class/recruitmentjobposition.class.php
@@ -1126,7 +1126,7 @@ class RecruitmentJobPosition extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'date_planned')) {
$return .= ' '.$langs->trans("Date").' : '.dol_print_date($this->db->jdate($this->date_planned), 'day').'';
diff --git a/htdocs/salaries/class/paymentsalary.class.php b/htdocs/salaries/class/paymentsalary.class.php
index 4294dd47478..5c5ff3255c5 100644
--- a/htdocs/salaries/class/paymentsalary.class.php
+++ b/htdocs/salaries/class/paymentsalary.class.php
@@ -782,7 +782,7 @@ class PaymentSalary extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'fk_bank')) {
$return .= ' | '.$this->fk_bank.'';
diff --git a/htdocs/salaries/class/salary.class.php b/htdocs/salaries/class/salary.class.php
index 6446e86655f..1d778e8a661 100644
--- a/htdocs/salaries/class/salary.class.php
+++ b/htdocs/salaries/class/salary.class.php
@@ -743,7 +743,7 @@ class Salary extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= ' ';
if (!empty($arraydata['user']) && is_object($arraydata['user'])) {
$return .= ' '.$arraydata['user']->getNomUrl(1, '', 0, 0, 16, 0, '', 'maxwidth100').'';
diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php
index a9f9cdea193..287114d0f1e 100644
--- a/htdocs/societe/class/societe.class.php
+++ b/htdocs/societe/class/societe.class.php
@@ -5256,7 +5256,7 @@ class Societe extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'code_client')) {
$return .= ' '.$this->code_client.'';
diff --git a/htdocs/supplier_proposal/class/supplier_proposal.class.php b/htdocs/supplier_proposal/class/supplier_proposal.class.php
index 7c9de7608ec..ffe6423fc22 100644
--- a/htdocs/supplier_proposal/class/supplier_proposal.class.php
+++ b/htdocs/supplier_proposal/class/supplier_proposal.class.php
@@ -2784,7 +2784,7 @@ class SupplierProposal extends CommonObject
//$return .= ' '; // Can be image
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'socid')) {
$return .= ' | '.$this->socid.'';
diff --git a/htdocs/theme/eldy/info-box.inc.php b/htdocs/theme/eldy/info-box.inc.php
index 113588d897a..8882bf8e220 100644
--- a/htdocs/theme/eldy/info-box.inc.php
+++ b/htdocs/theme/eldy/info-box.inc.php
@@ -95,8 +95,8 @@ if (!defined('ISLOADEDBYSTEELSHEET')) {
padding-top: 5px;
padding-bottom: 5px;
}
-.info-box-sm .info-box-icon {
- height: 96px; /* must match height of info-box-sm .info-box-content */
+.info-box-sm .info-box-icon, .info-box-sm .info-box-img {
+ height: 96px !important; /* must match height of info-box-sm .info-box-content */
width: 78px;
font-size: 25px;
line-height: 92px;
diff --git a/htdocs/theme/md/btn.inc.php b/htdocs/theme/md/btn.inc.php
index fdd9668c7d3..3e8195e0372 100644
--- a/htdocs/theme/md/btn.inc.php
+++ b/htdocs/theme/md/btn.inc.php
@@ -297,8 +297,8 @@ div.pagination li:first-child a.btnTitle {
.btnTitle, a.btnTitle {
display: inline-block;
- padding: 6px 12px;
- font-size: 14px
+ padding: 4px 12px;
+ font-size: 14px;
font-weight: 400;
line-height: 1.4;
text-align: center;
diff --git a/htdocs/theme/md/info-box.inc.php b/htdocs/theme/md/info-box.inc.php
index c685d13146a..87953857343 100644
--- a/htdocs/theme/md/info-box.inc.php
+++ b/htdocs/theme/md/info-box.inc.php
@@ -208,15 +208,31 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
}
-.info-box-sm .info-box-icon {
- height: 96px;
+.info-box-module .info-box-icon {
+ padding-top: 4px;
+ padding-bottom: 4px;
+}
+.info-box-sm .info-box-icon, .info-box-sm .info-box-img {
+ height: 96px !important; /* must match height of info-box-sm .info-box-content */
width: 80px;
font-size: 25px;
line-height: 92px;
}
-.info-box-module .info-box-icon {
- padding-top: 4px;
- padding-bottom: 4px;
+.info-box-order {
+ border-top-left-radius: 2px;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 2px;
+ display: block;
+ overflow: hidden;
+ float: left;
+ height: 115px;
+ width: 88px;
+ text-align: center;
+ font-size: 2.3em;
+ line-height: 115px;
+ margin-right: 10px;
+ background: var(--colorbacktitle1) !important;
}
.opened-dash-board-wrap .info-box .info-box-icon {
font-size: 2em;
@@ -286,6 +302,32 @@ a.info-box-text-a i.fa.fa-exclamation-triangle {
bottom: 0;
}
+/* customize section img box on list of products */
+.info-box-img {
+ height: 105px !important;
+ width: 88px;
+ border-top-left-radius: 2px;
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 2px;
+ display: block;
+ overflow: hidden;
+ float: left;
+ text-align: center;
+ font-size: 2.8em;
+ line-height: 90px;
+ margin-right: 5px;
+ background: var(--colorbacktitle1) !important;
+}
+.info-box-img > img {
+ width: 90%;
+ position: relative;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+}
+
+
global->MAIN_DISABLE_GLOBAL_BOXSTATS) && !empty($conf->global->MAIN_INCLUDE_GLOBAL_STATS_IN_OPENED_DASHBOARD)) { ?>
.info-box-icon-text{
opacity: 1;
@@ -535,7 +577,9 @@ if (GETPOSTISSET('THEME_SATURATE_RATIO')) {
.info-box-module .info-box-content {
height: 6.3em;
}
-
+.fright {
+ float:right;
+}
@media only screen and (max-width: 1740px) {
.info-box-module {
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index a6f2d19172f..1cda692ecc8 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -525,7 +525,7 @@ input, input.flat, textarea, textarea.flat, form.flat select, select, select.fla
input {
line-height: 17px;
- padding: 4px;
+ padding: 5px;
padding-left: 5px;
}
select {
@@ -3939,13 +3939,14 @@ div.colorback
table.liste, table.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact), table.formdoc, div.noborder:not(.paymenttable):not(.margintable):not(.tableforcontact) {
- border-left: 1px solid var(--colortopbordertitle1);
- border-right: 1px solid var(--colortopbordertitle1);
-
-}
-table.liste, table.noborder.paymenttable, table.noborder.margintable, table.noborder.tableforcontact, table.formdoc, div.noborder.paymenttable, div.noborder.margintable, div.noborder.tableforcontact {
+ /* border-left: 1px solid var(--colortopbordertitle1);
+ border-right: 1px solid var(--colortopbordertitle1); */
+ border-left: 1px solid #ccc;
+ border-right: 1px solid #ccc;
+
border-left: 1px solid #f0f0f0;
border-right: 1px solid #f0f0f0;
+
}
table.liste, table.noborder, table.formdoc, div.noborder {
width: calc(100% - 2px); /* -2 to fix a bug. Without, a scroll appears due to overflow-x: auto; of div-table-responsive */
@@ -3961,7 +3962,7 @@ table.liste, table.noborder, table.formdoc, div.noborder {
border-bottom-color: #BBB;
border-bottom-style: solid;
- margin: 0px 0px 20px 0px;
+ margin: 0px 0px 15px 0px;
-webkit-border-radius: 0.1em;
border-radius: 0.1em;
@@ -4538,8 +4539,10 @@ div .tdtop:not(.tagtdnote) {
/* Prepare to remove class pair - impair */
-.noborder > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
-div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
+.noborder > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
+.liste > tbody > tr:nth-child(even):not(.liste_titre):not(.nooddeven),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
+.liste > tbody > tr:nth-of-type(even):not(.liste_titre):not(.nooddeven),
div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(even):not(.liste_titre):not(.nooddeven)
{
background: linear-gradient(to bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
@@ -4547,14 +4550,17 @@ div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nt
background: -moz-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
background: -webkit-linear-gradient(bottom, var(--colorbacklineimpair2) 0%, var(--colorbacklineimpair2) 100%);
}
-.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre), .liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
+.noborder > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
+.liste > tbody > tr:nth-child(even):not(:last-of-type) td:not(.liste_titre),
.noborder .tagtr:nth-child(even):not(:last-of-type) .oddeven.tagtd:not(.liste_titre)
{
border-bottom: 1px solid #ddd;
}
-.noborder > tbody > tr:nth-child(odd):not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
-div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven), .liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
+.noborder > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
+.liste > tbody > tr:nth-child(odd):not(.liste_titre):not(.nooddeven),
+div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) > .border > tbody > table:not(.tableforfieldedit) > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
+.liste > tbody > tr:nth-of-type(odd):not(.liste_titre):not(.nooddeven),
div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nth-of-type(odd):not(.liste_titre):not(.nooddeven)
{
background: linear-gradient(to bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
@@ -4562,7 +4568,8 @@ div:not(.fichecenter):not(.fichehalfleft):not(.fichehalfright) .oddeven.tagtr:nt
background: -moz-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
background: -webkit-linear-gradient(bottom, var(--colorbacklinepair1) 0%, var(--colorbacklinepair2) 100%);
}
-.noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre), .liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
+.noborder > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
+.liste > tbody > tr:nth-child(odd):not(:last-child) td:not(.liste_titre),
.noborder .tagtr:nth-child(odd):not(:last-child) .oddeven.tagtd:not(.liste_titre)
{
border-bottom: 1px solid #ddd;
@@ -6493,11 +6500,11 @@ select.multiselectononeline {
{
/* CSS to have the dropdown boxes larger that the input search area */
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown.ui-dialog {
- min-width: 220px !important;
+ min-width: 240px !important;
}
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--below:not(.onrightofpage),
.select2-container.select2-container--open:not(.graphtype) .select2-dropdown--above:not(.onrightofpage) {
- min-width: 220px !important;
+ min-width: 240px !important;
}
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--below,
.onrightofpage span.select2-dropdown.ui-dialog.select2-dropdown--above {
diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php
index 92baa55ea89..158f3e30e2f 100644
--- a/htdocs/ticket/class/ticket.class.php
+++ b/htdocs/ticket/class/ticket.class.php
@@ -3030,7 +3030,7 @@ class Ticket extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl(1) : $this->ref).'';
$return .= ' ';
if (!empty($arraydata['user_assignment'])) {
$return .= ' '.$arraydata['user_assignment'].'';
diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php
index 2901efda215..af624e6b149 100644
--- a/htdocs/user/class/user.class.php
+++ b/htdocs/user/class/user.class.php
@@ -3103,7 +3103,7 @@ class User extends CommonObject
//$return .= ' '; // Can be image
$return .= '';
$return .= ' ';
- $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
+ $return .= ' '.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
$return .= ' ';
if (property_exists($this, 'label')) {
$return .= ' '.$this->label.'';
diff --git a/htdocs/user/class/usergroup.class.php b/htdocs/user/class/usergroup.class.php
index b077650846e..a55778c1d51 100644
--- a/htdocs/user/class/usergroup.class.php
+++ b/htdocs/user/class/usergroup.class.php
@@ -990,7 +990,7 @@ class UserGroup extends CommonObject
$return .= img_picto('', $this->picto);
$return .= '';
$return .= ' ';
- $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
+ $return .= ''.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'';
$return .= '';
if (property_exists($this, 'members')) {
$return .= ' '.(empty($this->nb_users) ? 0 : $this->nb_users).' '.$langs->trans('Users').'';
|