diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php
index a45154d72d4..4a6c04fb3ec 100644
--- a/htdocs/admin/modules.php
+++ b/htdocs/admin/modules.php
@@ -303,7 +303,7 @@ llxHeader('', $langs->trans("Setup"), $help_url, '', '', '', $morejs, $morecss,
// Search modules dirs
$modulesdir = dolGetModulesDirs();
-$arrayofnatures = array('core'=>$langs->transnoentitiesnoconv("Core"), 'external'=>$langs->transnoentitiesnoconv("External").' - ['.$langs->trans("AllPublishers").']');
+$arrayofnatures = array('core'=>$langs->transnoentitiesnoconv("NativeModules"), 'external'=>$langs->transnoentitiesnoconv("External").' - ['.$langs->trans("AllPublishers").']');
$arrayofwarnings = array(); // Array of warning each module want to show when activated
$arrayofwarningsext = array(); // Array of warning each module want to show when we activate an external module
$filename = array();
@@ -564,7 +564,7 @@ if ($mode == 'common' || $mode == 'commonkanban') {
$moreforfilter .= '
';
$moreforfilter .= '';
$moreforfilter .= ' ';
- $moreforfilter .= '';
+ $moreforfilter .= '';
$moreforfilter .= '
';
$moreforfilter .= '';
@@ -597,6 +597,9 @@ if ($mode == 'common' || $mode == 'commonkanban') {
$oldfamily = '';
$foundoneexternalmodulewithupdate = 0;
$linenum = 0;
+ $atleastonequalified = 0;
+ $atleastoneforfamily = 0;
+
foreach ($orders as $key => $value) {
$linenum++;
$tab = explode('_', $value);
@@ -685,7 +688,9 @@ if ($mode == 'common' || $mode == 'commonkanban') {
}
}
- // Load all lang files of module
+ $atleastonequalified++;
+
+ // Load all language files of the qualified module
if (isset($objMod->langfiles) && is_array($objMod->langfiles)) {
foreach ($objMod->langfiles as $domain) {
$langs->load($domain);
@@ -972,6 +977,10 @@ if ($mode == 'common' || $mode == 'commonkanban') {
}
}
+ if (!$atleastonequalified) {
+ print '
'.$langs->trans("NoDeployedModulesFoundWithThisSearchCriteria").'
';
+ }
+
print dol_get_fiche_end();
print '
';
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index 4601f2c15b9..c258df38441 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -2211,3 +2211,5 @@ IfYouUseASecondTaxYouMustSetYouUseTheMainTax=If you want to use a second tax, yo
IfYouUseAThirdTaxYouMustSetYouUseTheMainTax=If you want to use a third tax, you must enable also the first sales tax
PDF_USE_1A=Generate PDF with PDF/A-1b format
MissingTranslationForConfKey = Missing translation for %s
+NativeModules=Native modules
+NoDeployedModulesFoundWithThisSearchCriteria=No modules found for these search criteria
\ No newline at end of file
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 218d2a20be0..1b924cf427f 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -505,7 +505,8 @@ div#moretabsList, div#moretabsListaction {
hr { border: 0; border-top: 1px solid #ccc; }
.tabBar hr { margin-top: 20px; margin-bottom: 17px; }
-.button:not(.bordertransp):not(.buttonpayment), .buttonDelete:not(.bordertransp):not(.buttonpayment) {
+.button:not(.bordertransp):not(.buttonpayment),
+.buttonDelete:not(.bordertransp):not(.buttonpayment) {
margin-bottom: 3px;
margin-top: 3px;
margin-left: 5px;
@@ -3297,9 +3298,14 @@ input.button[name="upload"] {
padding: 5px !important;
font-size: 0.9em;
}
-input.button.smallpaddingimp {
+input.button.smallpaddingimp, input.buttonreset.smallpaddingimp {
font-size: 0.8em;
}
+input.buttonreset {
+ margin-top: 3px;
+ margin-bottom: 3px;
+ padding: 8px 15px;
+}
.nopaddingleft {
padding-: 0px;
}
diff --git a/htdocs/theme/md/btn.inc.php b/htdocs/theme/md/btn.inc.php
index 136af6b273e..0269bba74f2 100644
--- a/htdocs/theme/md/btn.inc.php
+++ b/htdocs/theme/md/btn.inc.php
@@ -44,10 +44,6 @@ if (!empty($conf->global->THEME_DARKMODEENABLED)) {
/* ============================================================================== */
-/*div.divButAction {
- margin-bottom: 1.4em;
-}*/
-
div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
div.tabsAction > div.divButAction > span.butAction,
@@ -82,6 +78,7 @@ span.butAction, span.butActionDelete {
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
+ line-height: 1.8em;
margin: 0em em;
padding: 0.6em em;
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 331c6add932..13b03bb5642 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -438,6 +438,24 @@ input, select {
margin-bottom:1px;
margin-top:1px;
}
+#mainbody input.button:not(.buttongen):not(.bordertransp), #mainbody a.button:not(.buttongen):not(.bordertransp) {
+ background: var(--butactionbg);
+ color: #FFF !important;
+ border-radius: 3px;
+ border-collapse: collapse;
+ border: none;
+ text-shadow: none;
+ text-transform: uppercase;
+ font-weight: bold;
+ margin: 0em 0.9em;
+ padding: 0.6em 0.7em;
+ line-height: 17px;
+}
+#mainbody input.button:not(.buttongen):not(.bordertransp):hover, #mainbody a.button:not(.buttongen):not(.bordertransp):hover {
+ -webkit-box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
+ box-shadow: 0px 0px 6px 1px rgb(50 50 50 / 40%), 0px 0px 0px rgb(60 60 60 / 10%);
+}
+
input.button.massactionconfirmed {
margin: 4px;
}
@@ -4366,7 +4384,7 @@ div.boximport {
.fieldrequired { font-weight: bold; color: #000055; }
-.widthpictotitle { width: 40px; font-size: 1.4em; text-align: ; }
+.widthpictotitle { width: 32px; font-size: 1.4em; text-align: ; }
table.titlemodulehelp tr td img.widthpictotitle { width: 80px; }
.dolgraphtitle { margin-top: 6px; margin-bottom: 4px; }
diff --git a/htdocs/user/card.php b/htdocs/user/card.php
index 6acc4701c90..cb46a33f594 100644
--- a/htdocs/user/card.php
+++ b/htdocs/user/card.php
@@ -370,8 +370,7 @@ if (empty($reshook)) {
}
if ($result > 0) {
- header("Location: ".$_SERVER['PHP_SELF'].'?id='.$id);
- exit;
+ $action = '';
} else {
setEventMessages($object->error, $object->errors, 'errors');
}
@@ -1946,6 +1945,7 @@ if ($action == 'create' || $action == 'adduserldap') {
print '