diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 577430592cf..5045660df0b 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -147,7 +147,7 @@ class FormTicket $extrafields = new ExtraFields($this->db); $extralabels = $extrafields->fetch_name_optionals_label($ticketstat->table_element); - print "\n\n"; + print "\n\n"; if ($withdolfichehead) dol_fiche_head(null, 'card', '', 0, ''); @@ -837,7 +837,7 @@ class FormTicket $outputlangs->load('other'); } - print "\n\n"; + print "\n\n"; $send_email = GETPOST('send_email', 'int') ? GETPOST('send_email', 'int') : 0; diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 287623c6c55..795ece72fe8 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1368,12 +1368,12 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi { $width=80; $cssclass='photoref'; $showimage=$object->is_photo_available($conf->ticket->multidir_output[$entity].'/'.$object->ref); - $maxvisiblephotos=(isset($conf->global->TICKETSUP_MAX_VISIBLE_PHOTO)?$conf->global->TICKETSUP_MAX_VISIBLE_PHOTO:2); + $maxvisiblephotos=(isset($conf->global->TICKET_MAX_VISIBLE_PHOTO)?$conf->global->TICKET_MAX_VISIBLE_PHOTO:2); if ($conf->browser->layout == 'phone') $maxvisiblephotos=1; if ($showimage) $morehtmlleft.='
'.$object->show_photos('ticket', $conf->ticket->multidir_output[$entity], 'small', $maxvisiblephotos, 0, 0, 0, $width, 0).'
'; else { - if (!empty($conf->global->TICKETSUP_NODISPLAYIFNOPHOTO)) { + if (!empty($conf->global->TICKET_NODISPLAYIFNOPHOTO)) { $nophoto=''; $morehtmlleft.='
'; } diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index 2c52ec513ff..eb47bc7044f 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -97,7 +97,7 @@ $url_page_current = DOL_URL_ROOT.'/ticket/card.php'; //if ($user->societe_id > 0) $socid = $user->societe_id; $result = restrictedArea($user, 'ticket', $object->id); -$triggermodname = 'TICKETSUP_MODIFY'; +$triggermodname = 'TICKET_MODIFY'; $permissiontoadd = $user->rights->ticket->write; $actionobject = new ActionsTicket($db); diff --git a/htdocs/ticket/class/ticket.class.php b/htdocs/ticket/class/ticket.class.php index 2f3ae74a358..586148d12f9 100644 --- a/htdocs/ticket/class/ticket.class.php +++ b/htdocs/ticket/class/ticket.class.php @@ -2672,7 +2672,7 @@ class Ticket extends CommonObject global $conf, $langs; if ($conf->global->TICKET_DISABLE_ALL_MAILS) { - dol_syslog(get_class($this) . '::sendTicketMessageByEmail: Emails are disable into ticket setup by option TICKETSUP_DISABLE_ALL_MAILS', LOG_WARNING); + dol_syslog(get_class($this) . '::sendTicketMessageByEmail: Emails are disable into ticket setup by option TICKET_DISABLE_ALL_MAILS', LOG_WARNING); return ''; }