diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php
index 6ea79cf00eb..9bc2f5d8dc5 100644
--- a/htdocs/admin/system/modules.php
+++ b/htdocs/admin/system/modules.php
@@ -220,15 +220,27 @@ print ''.$langs->trans("ToActivateModule").''
print '
';
print '
';
+$mode = '';
+$arrayofmassactions = array();
+
$varpage = empty($contextpage) ? $_SERVER["PHP_SELF"] : $contextpage;
-$selectedfields = $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage); // This also change content of $arrayfields
+$selectedfields = ($mode != 'kanban' ? $form->multiSelectArrayWithCheckbox('selectedfields', $arrayfields, $varpage, getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN', '')) : ''); // This also change content of $arrayfields
+$selectedfields .= (count($arrayofmassactions) ? $form->showCheckAddButtons('checkforselect', 1) : '');
+
+$moreforfilter = '';
print '
| '; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print ' | '; +} if ($arrayfields['name']['checked']) { print ''; print ''; @@ -253,16 +265,20 @@ if ($arrayfields['module_position']['checked']) { print ' | '; print ' | '; } - -print ''; -$searchpicto = $form->showFilterButtons(); -print $searchpicto; -print ' | '; - +// Action column +if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + $searchpicto = $form->showFilterButtons(); + print $searchpicto; + print ' | '; +} print '
| '; + } if ($arrayfields['name']['checked']) { print ' | '; @@ -358,7 +380,10 @@ foreach ($moduleList as $module) { print ' | '.$module->module_position.' | '; } - print ''; + // Action column + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ' | '; + } print ' |