diff --git a/htdocs/modulebuilder/index.php b/htdocs/modulebuilder/index.php index be7200a040c..ac5144e476c 100644 --- a/htdocs/modulebuilder/index.php +++ b/htdocs/modulebuilder/index.php @@ -3351,10 +3351,10 @@ if (/* is_array($listofmodules) && */ count($listofmodules) > 0) { // Define $linktoenabledisable to show after module title if (isModEnabled($modulelowercase)) { // If module is already activated $linktoenabledisable .= ''; - $linktoenabledisable .= img_picto($langs->trans("Activated"), 'switch_on', '', 0, 0, 0, '', '', 1); + $linktoenabledisable .= img_picto($langs->trans("Warning").' : '.$langs->trans("ModuleIsLive"), 'switch_on', '', 0, 0, 0, '', 'warning valignmiddle', 1); $linktoenabledisable .= ''; - $linktoenabledisable .= $form->textwithpicto('', $langs->trans("Warning").' : '.$langs->trans("ModuleIsLive"), -1, 'warning'); + //$linktoenabledisable .= $form->textwithpicto('', $langs->trans("Warning").' : '.$langs->trans("ModuleIsLive"), -1, 'warning'); $objMod = $moduleobj; $backtourlparam = ''; @@ -3368,27 +3368,27 @@ if (/* is_array($listofmodules) && */ count($listofmodules) > 0) { foreach ($objMod->config_page_url as $page) { $urlpage = $page; if ($i++) { - $linktoenabledisable .= ' '.img_picto(ucfirst($page), "setup").''; + $linktoenabledisable .= ' '.img_picto(ucfirst($page), "setup").''; // print ''.ucfirst($page).' '; } else { if (preg_match('/^([^@]+)@([^@]+)$/i', $urlpage, $regs)) { $urltouse = dol_buildpath('/'.$regs[2].'/admin/'.$regs[1], 1); - $linktoenabledisable .= ' '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"').''; + $linktoenabledisable .= ' '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"', 0, 0, 0, '', '').''; } else { // Case standard admin page (not a page provided by the // module but a page provided by dolibarr) $urltouse = DOL_URL_ROOT.'/admin/'.$urlpage; - $linktoenabledisable .= ' '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"').''; + $linktoenabledisable .= ' '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"', 0, 0, 0, '', '').''; } } } } elseif (preg_match('/^([^@]+)@([^@]+)$/i', $objMod->config_page_url, $regs)) { - $linktoenabledisable .= '   '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"').''; + $linktoenabledisable .= '   '.img_picto($langs->trans("Setup"), "setup", 'style="padding-right: 8px"', 0, 0, 0, '', '').''; } } else { if (is_object($moduleobj)) { $linktoenabledisable .= ''; - $linktoenabledisable .= img_picto($langs->trans("ModuleIsNotActive", $urltomodulesetup), 'switch_off', 'style="padding-right: 8px"', 0, 0, 0, '', 'classfortooltip', 1); + $linktoenabledisable .= img_picto($langs->trans("ModuleIsNotActive", $urltomodulesetup), 'switch_off', 'style="padding-right: 8px"', 0, 0, 0, '', 'classfortooltip valignmiddle', 1); $linktoenabledisable .= "\n"; } } @@ -3400,7 +3400,7 @@ if (/* is_array($listofmodules) && */ count($listofmodules) > 0) { $head[$h][2] = $tmpmodulearray['modulenamewithcase']; if ($tmpmodulearray['modulenamewithcase'] == $module) { - $head[$h][4] = ''.$linktoenabledisable.''; + $head[$h][4] = ''.$linktoenabledisable.''; } $h++; @@ -4280,7 +4280,7 @@ if ($module == 'initmodule') { print $langs->trans("EnterNameOfObjectToDeleteDesc").'

'; - print ''; + print ''; print ''; print ''; } else { diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 91e6b0d7169..48117d93e8b 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1492,9 +1492,11 @@ span.fa.fa-plus-circle.paddingleft { .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off, .tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off { font-size: 1.5em; +} +.websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off, +.tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off { vertical-align: text-bottom; } - .divoverflow { overflow: hidden; white-space: nowrap; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 754fc47f937..464f7ca6900 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -1612,7 +1612,11 @@ span.fa.fa-plus-circle.paddingleft { .websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off, .asetresetmodule .fa-toggle-on, .asetresetmodule .fa-toggle-off, .tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off { - font-size: 1.5em; vertical-align: text-bottom; + font-size: 1.5em; +} +.websiteselectionsection .fa-toggle-on, .websiteselectionsection .fa-toggle-off, +.tdwebsitesearchresult .fa-toggle-on, .tdwebsitesearchresult .fa-toggle-off { + vertical-align: text-bottom; } .divoverflow {