mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-15 22:11:36 +01:00
Fix responsive
This commit is contained in:
@@ -3800,7 +3800,8 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
|
||||
{
|
||||
if ($totalnboflines) // If we know total nb of lines
|
||||
{
|
||||
$maxnbofpage=(empty($conf->dol_optimize_smallscreen) ? 4 : 1); // page nb before and after selected page + ... + first or last
|
||||
// Define nb of extra page links before and after selected page + ... + first or last
|
||||
$maxnbofpage=(empty($conf->dol_optimize_smallscreen) ? 4 : 1);
|
||||
|
||||
if ($limit > 0) $nbpages=ceil($totalnboflines/$limit);
|
||||
else $nbpages=1;
|
||||
|
||||
Reference in New Issue
Block a user