From 4553ba1f8144a09514e153a1ac8f4b3eeba3aacb Mon Sep 17 00:00:00 2001 From: Hystepik Date: Mon, 9 Dec 2024 11:08:49 +0100 Subject: [PATCH] New add drag & drop on some cards --- htdocs/product/card.php | 2 +- htdocs/ticket/card.php | 2 +- htdocs/user/card.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 38976910f29..a0104b91461 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -2507,7 +2507,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio $titre = $langs->trans("CardProduct".$object->type); $picto = ($object->type == Product::TYPE_SERVICE ? 'service' : 'product'); - print dol_get_fiche_head($head, 'card', $titre, -1, $picto); + print dol_get_fiche_head($head, 'card', $titre, -1, $picto, 0, '', '', 0, '', 1); $linkback = ''.$langs->trans("BackToList").''; $object->next_prev_filter = "fk_product_type:=:".((int) $object->type); diff --git a/htdocs/ticket/card.php b/htdocs/ticket/card.php index f885e2fe1d7..30c3643dffb 100644 --- a/htdocs/ticket/card.php +++ b/htdocs/ticket/card.php @@ -912,7 +912,7 @@ if ($action == 'create' || $action == 'presend') { $head = ticket_prepare_head($object); - print dol_get_fiche_head($head, 'tabTicket', $langs->trans("Ticket"), -1, 'ticket'); + print dol_get_fiche_head($head, 'tabTicket', $langs->trans("Ticket"), -1, 'ticket', 0, '', '', 0, '', 1); $morehtmlref = '
'; diff --git a/htdocs/user/card.php b/htdocs/user/card.php index b3d02e0d72d..393282ac161 100644 --- a/htdocs/user/card.php +++ b/htdocs/user/card.php @@ -1642,7 +1642,7 @@ if ($action == 'create' || $action == 'adduserldap') { * View mode */ if ($action != 'edit') { - print dol_get_fiche_head($head, 'user', $title, -1, 'user'); + print dol_get_fiche_head($head, 'user', $title, -1, 'user', 0, '', '', 0, '', 1); $morehtmlref = ''; $morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard").' ('.$langs->trans("AddToContacts").')', 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"');