feat: head_pagination

This commit is contained in:
Baoshuo Ren 2022-09-20 17:19:51 +08:00
parent 6926a6f912
commit 03ba52b90d
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -165,7 +165,11 @@ function echoLongTable($col_names, $table_name, $cond, $tail, $header_row, $prin
$div_classes = isset($config['div_classes']) ? $config['div_classes'] : array('table-responsive'); $div_classes = isset($config['div_classes']) ? $config['div_classes'] : array('table-responsive');
$table_classes = isset($config['table_classes']) ? $config['table_classes'] : array('table', 'table-bordered', 'table-hover', 'table-striped', 'table-text-center'); $table_classes = isset($config['table_classes']) ? $config['table_classes'] : array('table', 'table-bordered', 'table-hover', 'table-striped', 'table-text-center');
if (isset($config['head_pagination']) && $config['head_pagination']) {
echo $pag->pagination();
}
echo '<div class="', join($div_classes, ' '), '">'; echo '<div class="', join($div_classes, ' '), '">';
echo '<table class="', join($table_classes, ' '), '">'; echo '<table class="', join($table_classes, ' '), '">';
echo '<thead>'; echo '<thead>';