From 9bdd31e05a4788b7ce0c773eb3ffef755eb5e3ea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 21 Nov 2017 12:28:34 +0100 Subject: [PATCH] Module builder --- htdocs/modulebuilder/template/myobject_card.php | 6 +++++- htdocs/projet/card.php | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/htdocs/modulebuilder/template/myobject_card.php b/htdocs/modulebuilder/template/myobject_card.php index ae00feaab95..8aa3899f82c 100644 --- a/htdocs/modulebuilder/template/myobject_card.php +++ b/htdocs/modulebuilder/template/myobject_card.php @@ -414,10 +414,14 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea $MAXEVENT = 10; + $morehtmlright = ''; + $morehtmlright.= $langs->trans("SeeAll"); + $morehtmlright.= ''; + // List of actions on element include_once DOL_DOCUMENT_ROOT . '/core/class/html.formactions.class.php'; $formactions = new FormActions($db); - $somethingshown = $formactions->showactions($object, 'myobject', $socid, 1, '', $MAXEVENT); + $somethingshown = $formactions->showactions($object, 'myobject', $socid, 1, '', $MAXEVENT, '', $morehtmlright); print ''; } diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index 700feba4bd8..4b4e6a0ea58 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -1196,7 +1196,7 @@ elseif ($object->id > 0) print '
'; }