Fix default offsets

This commit is contained in:
iliajie
2023-05-13 12:24:59 +03:00
parent 7e417a84e8
commit 3ec090f222

View File

@@ -2824,9 +2824,9 @@ my %rv;
my $id = $main::ui_paginations++;
my @arr = @{$arr};
my ($script_name) = $0 =~ /([^\/]*\.cgi)$/;
my $top_offset_px = int($opts->{"top_offset_px"}) || 77;
my $bottom_offset_px = int($opts->{"bottom_offset_px"}) || 77;
my $row_size_px = int($opts->{"row_size_px"}) || 26;
my $top_offset_px = int($opts->{"top_offset_px"}) || 105;
my $bottom_offset_px = int($opts->{"bottom_offset_px"}) || 90;
my $row_size_px = int($opts->{"row_size_px"}) || 24;
my $items_per_page = int($tconfig{'paginate'}) || int($opts->{"paginate${id}"}) || 20;
my $curent_page = int($opts->{"page${id}"}) || 1;
my $search_term = &un_urlize($opts->{"search${id}"});