diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php
index 033e34822ad..18e6d4eb73d 100644
--- a/htdocs/core/lib/functions.lib.php
+++ b/htdocs/core/lib/functions.lib.php
@@ -8406,16 +8406,20 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
$class = 'btnTitle';
if ($iconClass == 'fa fa-plus-circle') $class .= ' btnTitlePlus';
+ $useclassfortooltip = 1;
if (!empty($params['morecss'])) $class .= ' '.$params['morecss'];
$attr = array(
- 'class' => $class
- ,'href' => empty($url) ? '' : $url
+ 'class' => $class,
+ 'href' => empty($url) ? '' : $url
);
if (!empty($helpText)) {
$attr['title'] = dol_escape_htmltag($helpText);
+ } elseif (empty($attr['title']) && $label) {
+ $attr['title'] = $label;
+ $useclassfortooltip = 0;
}
if ($status <= 0) {
@@ -8430,7 +8434,7 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
}
}
- if (!empty($attr['title'])) {
+ if (!empty($attr['title']) && $useclassfortooltip) {
$attr['class'] .= ' classfortooltip';
}
@@ -8470,9 +8474,11 @@ function dolGetButtonTitle($label, $helpText = '', $iconClass = 'fa fa-file', $u
$tag = (empty($attr['href']) ? 'span' : 'a');
$button = '';
- $button .= '<'.$tag.' '.$compiledAttributes.' >';
+ $button .= '<'.$tag.' '.$compiledAttributes.'>';
$button .= '';
- $button .= ''.$label.'';
+ if (!empty($params['forcenohideoftext'])) {
+ $button .= ''.$label.'';
+ }
$button .= ''.$tag.'>';
return $button;
diff --git a/htdocs/core/menus/standard/eldy.lib.php b/htdocs/core/menus/standard/eldy.lib.php
index ee014814e5a..a76a4839242 100644
--- a/htdocs/core/menus/standard/eldy.lib.php
+++ b/htdocs/core/menus/standard/eldy.lib.php
@@ -171,7 +171,7 @@ function print_eldy_menu($db, $atarget, $type_user, &$tabMenu, &$menu, $noout =
'submenus' => array(),
);
- // MRP
+ // MRP - GPAO
$tmpentry = array(
'enabled'=>(!empty($conf->bom->enabled) || !empty($conf->mrp->enabled)),
'perms'=>(!empty($user->rights->bom->read) || !empty($user->rights->mrp->read)),
@@ -186,7 +186,7 @@ function print_eldy_menu($db, $atarget, $type_user, &$tabMenu, &$menu, $noout =
'target' => $atarget,
'mainmenu' => "mrp",
'leftmenu' => '',
- 'position' => 30,
+ 'position' => 31,
'id' => $id,
'idsel' => 'mrp',
'classname' => $classname = ($_SESSION["mainmenu"] && $_SESSION["mainmenu"] == "mrp") ? 'class="tmenusel"' : 'class="tmenu"',
@@ -1659,7 +1659,7 @@ function print_left_eldy_menu($db, $menu_array_before, $menu_array_after, &$tabM
}
/*
- * Menu PRODUCTS-SERVICES MRP
+ * Menu PRODUCTS-SERVICES MRP - GPAO
*/
if ($mainmenu == 'mrp')
{
diff --git a/htdocs/product/list.php b/htdocs/product/list.php
index 6d9a60b0c66..ca789bc3ffe 100644
--- a/htdocs/product/list.php
+++ b/htdocs/product/list.php
@@ -593,7 +593,7 @@ if ($resql)
$categoriesProductArr = $form->select_all_categories(Categorie::TYPE_PRODUCT, '', '', 64, 0, 1);
$categoriesProductArr[-2] = '- '.$langs->trans('NotCategorized').' -';
$moreforfilter .= Form::multiselectarray('search_category_product_list', $categoriesProductArr, $searchCategoryProductList, 0, 0, 'minwidth300');
- $moreforfilter .= ' '.$langs->trans('UseOrOperatorForCategories');
+ $moreforfilter .= ' '.$langs->trans('UseOrOperatorForCategories').'';
$moreforfilter .= '';
}
diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php
index 92ae2d44d3d..07576076921 100644
--- a/htdocs/theme/eldy/global.inc.php
+++ b/htdocs/theme/eldy/global.inc.php
@@ -3338,6 +3338,14 @@ table.hidepaginationnext .paginationnext {
.tabBar .arearef .pagination.paginationref {
max-width: calc(30%);
}
+.paginationafterarrows a.btnTitlePlus {
+ border: 1px solid var(--btncolorborder);
+}
+.paginationafterarrows a.btnTitlePlus:hover span:before {
+ /* text-shadow: 0px 0px 5px #ccc; */
+ /* filter: invert(0.3); */
+ font-size: 1.07em;
+}
/* Set the color for hover lines */
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 5ccb2a672ea..227f6bbba3d 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -3271,6 +3271,14 @@ table.hidepaginationprevious .paginationprevious {
table.hidepaginationnext .paginationnext {
display: none;
}
+.paginationafterarrows a.btnTitlePlus {
+ border: 1px solid var(--btncolorborder);
+}
+.paginationafterarrows a.btnTitlePlus:hover span:before {
+ /* text-shadow: 0px 0px 5px #ccc; */
+ /* filter: invert(0.3); */
+ font-size: 1.03em;
+}
/* Prepare to remove class pair - impair