mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
New add drag & drop on some cards
This commit is contained in:
@@ -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 = '<a href="'.DOL_URL_ROOT.'/product/list.php?restore_lastsearch_values=1&type='.$object->type.'">'.$langs->trans("BackToList").'</a>';
|
||||
$object->next_prev_filter = "fk_product_type:=:".((int) $object->type);
|
||||
|
||||
@@ -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 = '<div class="refidno">';
|
||||
|
||||
|
||||
@@ -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 = '<a href="'.DOL_URL_ROOT.'/user/vcard.php?id='.$object->id.'&output=file&file='.urlencode(dol_sanitizeFileName($object->getFullName($langs).'.vcf')).'" class="refid valignmiddle" rel="noopener">';
|
||||
$morehtmlref .= img_picto($langs->trans("Download").' '.$langs->trans("VCard").' ('.$langs->trans("AddToContacts").')', 'vcard.png', 'class="valignmiddle marginleftonly paddingrightonly"');
|
||||
|
||||
Reference in New Issue
Block a user