1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-03-31 21:27:02 +00:00

fix: table class

This commit is contained in:
Baoshuo Ren 2022-09-23 22:02:40 +08:00
parent 1d142f8cff
commit 51aa5605cf
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

@ -168,9 +168,9 @@ function echoLongTable($col_names, $table_name, $cond, $tail, $header_row, $prin
$div_classes = isset($config['div_classes']) ? $config['div_classes'] : array('table-responsive');
$table_classes = isset($config['table_classes'])
? $config['table_classes']
: isset($REQUIRE_LIB['bootstrap5'])
: (isset($REQUIRE_LIB['bootstrap5'])
? array('table', 'table-bordered', 'table-striped', 'text-center')
: array('table', 'table-bordered', 'table-hover', 'table-striped', 'table-text-center');
: array('table', 'table-bordered', 'table-hover', 'table-striped', 'table-text-center'));
if (isset($config['head_pagination']) && $config['head_pagination']) {
echo $pag->pagination();