mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add llxHeader to tickets (#29932)
This commit is contained in:
parent
02eb66d9f4
commit
61c9245498
|
|
@ -154,7 +154,7 @@ if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/ticketnameonly/', getD
|
|||
}
|
||||
$help_url = 'EN:Module_Agenda_En|FR:Module_Agenda|DE:Modul_Terminplanung';
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-ticket page-card_agenda');
|
||||
|
||||
if ($socid > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
|
|
|
|||
|
|
@ -691,7 +691,7 @@ $help_url = 'EN:Module_Ticket|FR:DocumentationModuleTicket';
|
|||
|
||||
$title = $actionobject->getTitle($action);
|
||||
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-ticket page-card');
|
||||
|
||||
if ($action == 'create' || $action == 'presend') {
|
||||
if (empty($permissiontoadd)) {
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ if ($action == 'set_thirdparty' && $user->hasRight('ticket', 'write')) {
|
|||
*/
|
||||
|
||||
$help_url = 'FR:DocumentationModuleTicket';
|
||||
llxHeader('', $langs->trans("TicketContacts"), $help_url);
|
||||
llxHeader('', $langs->trans("TicketContacts"), $help_url, '', 0, 0, '', '', '', 'mod-ticket page-card_contacts');
|
||||
|
||||
$form = new Form($db);
|
||||
$formcompany = new FormCompany($db);
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ if ($action == 'set_thirdparty' && $user->hasRight('ticket', 'write')) {
|
|||
$form = new Form($db);
|
||||
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans("TicketDocumentsLinked").' - '.$langs->trans("Files"), $help_url);
|
||||
llxHeader('', $langs->trans("TicketDocumentsLinked").' - '.$langs->trans("Files"), $help_url, '', 0, 0, '', '', '', 'mod-ticket page-card_documents');
|
||||
|
||||
if ($object->id) {
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -87,7 +87,8 @@ $max = getDolGlobalInt('MAIN_SIZE_SHORTLIST_LIMIT', 5);
|
|||
|
||||
$resultboxes = FormOther::getBoxesArea($user, "11"); // Load $resultboxes (selectboxlist + boxactivated + boxlista + boxlistb)
|
||||
|
||||
llxHeader('', $langs->trans('TicketsIndex'), '');
|
||||
$help_url = '';
|
||||
llxHeader('', $langs->trans('TicketsIndex'), $help_url, '', 0, 0, '', '', '', 'mod-ticket page-dashboard');
|
||||
|
||||
$linkback = '';
|
||||
print load_fiche_titre($langs->trans('TicketsIndex'), $resultboxes['selectboxlist'], 'ticket');
|
||||
|
|
|
|||
|
|
@ -520,7 +520,7 @@ if ($num == 1 && getDolGlobalString('MAIN_SEARCH_DIRECT_OPEN_IF_ONLY_ONE') && $s
|
|||
// Output page
|
||||
// --------------------------------------------------------------------
|
||||
|
||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'bodyforlist');
|
||||
llxHeader('', $title, $help_url, '', 0, 0, $morejs, $morecss, '', 'mod-ticket page-list bodyforlist');
|
||||
|
||||
if ($socid && !$projectid && !$project_ref && $user->hasRight('societe', 'lire')) {
|
||||
$socstat = new Societe($db);
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ if (getDolGlobalString('MAIN_HTML_TITLE') && preg_match('/ticketnameonly/', getD
|
|||
$title = $object->ref.' '.$object->name.' - '.$langs->trans("Info");
|
||||
}
|
||||
$help_url = 'FR:DocumentationModuleTicket';
|
||||
llxHeader('', $title, $help_url);
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-ticket page-card_messaging');
|
||||
|
||||
if ($socid > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ $object = new Ticket($db);
|
|||
|
||||
$title = $langs->trans("Statistics");
|
||||
$dir = $conf->ticket->dir_temp;
|
||||
|
||||
llxHeader('', $title);
|
||||
$help_url = '';
|
||||
llxHeader('', $title, $help_url, '', 0, 0, '', '', '', 'mod-ticket page-stats');
|
||||
|
||||
print load_fiche_titre($title, '', 'ticket');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user