';
diff --git a/htdocs/product/stock/replenish.php b/htdocs/product/stock/replenish.php
index c41577193ca..600d4e06c18 100644
--- a/htdocs/product/stock/replenish.php
+++ b/htdocs/product/stock/replenish.php
@@ -260,6 +260,7 @@ if ($action == 'order' && isset($_POST['valid']))
$form = new Form($db);
$formproduct = new FormProduct($db);
+$prod = new Product($db);
$title = $langs->trans('Status');
@@ -480,6 +481,7 @@ if ($sref || $snom || $sall || $salert || $draftorder || GETPOST('search', 'alph
);
}
+print '
'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
print '
';
$param = (isset($type)? '&type=' . $type : '');
@@ -535,9 +537,6 @@ print_liste_field_titre('StockToBuy', $_SERVER["PHP_SELF"], '', $param, '', 'ali
print_liste_field_titre('SupplierRef', $_SERVER["PHP_SELF"], '', $param, '', 'align="right"', $sortfield, $sortorder);
print "\n";
-$prod = new Product($db);
-
-$var = True;
while ($i < ($limit ? min($num, $limit) : $num))
{
$objp = $db->fetch_object($resql);
@@ -564,7 +563,6 @@ while ($i < ($limit ? min($num, $limit) : $num))
if (!empty($objtp->label)) $objp->label = $objtp->label;
}
}
- $var =! $var;
if ($usevirtualstock)
{
@@ -665,34 +663,7 @@ while ($i < ($limit ? min($num, $limit) : $num))
$i++;
}
print '
';
-
-
-if ($num > $conf->liste_limit)
-{
- if ($sref || $snom || $sall || $salert || $draftorder || GETPOST('search', 'alpha'))
- {
- $filters = '&sref=' . $sref . '&snom=' . $snom;
- $filters .= '&sall=' . $sall;
- $filters .= '&salert=' . $salert;
- $filters .= '&draftorder=' . $draftorder;
- $filters .= '&mode=' . $mode;
- $filters .= '&fk_supplier=' . $fk_supplier;
- $filters .= '&fk_entrepot=' . $fk_entrepot;
- print_barre_liste('', $page, 'replenish.php', $filters, $sortfield, $sortorder, '', $num, 0, '');
- }
- else
- {
- $filters = '&sref=' . $sref . '&snom=' . $snom;
- $filters .= '&fourn_id=' . $fourn_id;
- $filters .= (isset($type)? '&type=' . $type : '');
- $filters .= '&salert=' . $salert;
- $filters .= '&draftorder=' . $draftorder;
- $filters .= '&mode=' . $mode;
- $filters .= '&fk_supplier=' . $fk_supplier;
- $filters .= '&fk_entrepot=' . $fk_entrepot;
- print_barre_liste('', $page, 'replenish.php', $filters, $sortfield, $sortorder, '', $num, 0, '');
- }
-}
+print '
';
$db->free($resql);
diff --git a/htdocs/projet/activity/perday.php b/htdocs/projet/activity/perday.php
index 22eabef2dfa..eb710ce62a2 100644
--- a/htdocs/projet/activity/perday.php
+++ b/htdocs/projet/activity/perday.php
@@ -34,13 +34,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
-$langs->load('projects');
-$langs->load('users');
+$langs->loadLangs(array('projects','users','companies'));
$action=GETPOST('action','aZ09');
-$mode=GETPOST("mode");
+$mode=GETPOST("mode",'alpha');
$id=GETPOST('id','int');
-$taskid=GETPOST('taskid');
+$taskid=GETPOST('taskid','int');
$mine=0;
if ($mode == 'mine') $mine=1;
diff --git a/htdocs/projet/activity/perweek.php b/htdocs/projet/activity/perweek.php
index 161ecd83274..97574ef53b9 100644
--- a/htdocs/projet/activity/perweek.php
+++ b/htdocs/projet/activity/perweek.php
@@ -34,13 +34,12 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/html.formprojet.class.php';
require_once DOL_DOCUMENT_ROOT.'/core/class/html.formcompany.class.php';
require_once DOL_DOCUMENT_ROOT.'/holiday/class/holiday.class.php';
-$langs->load('projects');
-$langs->load('users');
+$langs->loadLangs(array('projects','users','companies'));
$action=GETPOST('action','aZ09');
-$mode=GETPOST("mode");
+$mode=GETPOST("mode",'alpha');
$id=GETPOST('id','int');
-$taskid=GETPOST('taskid');
+$taskid=GETPOST('taskid','int');
$mine=0;
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index a2b0da67c0d..ee52662cfcb 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -4775,9 +4775,19 @@ div.tabsElem a.tab {
}
.lilevel3
{
- padding-left: 54px;
+ padding-left: 44px;
background: #fff ! important;
}
+.lilevel4
+{
+ padding-left: 66px;
+ background: #fff ! important;
+}
+.lilevel5
+{
+ padding-left: 88px;
+ background: #fff ! important;
+}
diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php
index 073e861a85b..f8bb78159ce 100644
--- a/htdocs/theme/md/style.css.php
+++ b/htdocs/theme/md/style.css.php
@@ -4780,7 +4780,17 @@ border-top-right-radius: 6px;
}
.lilevel3
{
- padding-left: 54px;
+ padding-left: 44px;
+ background: #fff ! important;
+}
+.lilevel4
+{
+ padding-left: 66px;
+ background: #fff ! important;
+}
+.lilevel5
+{
+ padding-left: 88px;
background: #fff ! important;
}
diff --git a/htdocs/variants/list.php b/htdocs/variants/list.php
index 2e97dda0a04..74fb252147d 100644
--- a/htdocs/variants/list.php
+++ b/htdocs/variants/list.php
@@ -57,7 +57,9 @@ $variants = $object->fetchAll();
llxHeader('', $title);
-print_fiche_titre($title);
+$buttonadd='
'.$langs->trans('Create').'';
+
+print load_fiche_titre($title, $buttonadd);
$forcereloadpage=empty($conf->global->MAIN_FORCE_RELOAD_PAGE)?0:1;
?>
@@ -141,11 +143,6 @@ $forcereloadpage=empty($conf->global->MAIN_FORCE_RELOAD_PAGE)?0:1;