mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 06:28:40 +00:00
This commit is contained in:
parent
18c501354c
commit
2baeac115e
@ -36,7 +36,7 @@ EOD,
|
||||
echo '</tr>';
|
||||
},
|
||||
[
|
||||
'page_len' => 40,
|
||||
'page_len' => 25,
|
||||
'div_classes' => ['card', 'my-3'],
|
||||
'table_classes' => ['table', 'uoj-table', 'mb-0'],
|
||||
]
|
||||
|
@ -394,7 +394,7 @@ if ($_POST['image_upload_file_submit'] == 'submit') {
|
||||
|
||||
<?php
|
||||
$pag_config = [
|
||||
'page_len' => 40,
|
||||
'page_len' => 20,
|
||||
'col_names' => ['*'],
|
||||
'table_name' => 'users_images',
|
||||
'cond' => "uploader = '{$myUser['username']}'",
|
||||
|
@ -86,7 +86,7 @@ $table_header .= '<th style="width:180px;">' . UOJLocale::get('appraisal') . '</
|
||||
$table_header .= '</tr>';
|
||||
|
||||
$table_config = [
|
||||
'page_len' => 40,
|
||||
'page_len' => 50,
|
||||
'div_classes' => ['card', 'mb-3'],
|
||||
'table_classes' => ['table', 'uoj-table', 'mb-0', 'text-center'],
|
||||
];
|
||||
@ -104,7 +104,7 @@ echoLongTable(
|
||||
'order by start_time asc, id asc',
|
||||
$table_header,
|
||||
'echoContest',
|
||||
$table_config
|
||||
$table_config + ['echo_full' => true],
|
||||
);
|
||||
|
||||
if ($rest_second <= 86400) {
|
||||
|
@ -81,7 +81,7 @@ if (UOJGroup::userCanCreateGroup(Auth::user())) {
|
||||
echo '</tr>';
|
||||
},
|
||||
[
|
||||
'page_len' => 40,
|
||||
'page_len' => 50,
|
||||
'div_classes' => ['card', 'my-3'],
|
||||
'table_classes' => ['table', 'uoj-table', 'mb-0'],
|
||||
'head_pagination' => true,
|
||||
|
@ -92,7 +92,7 @@ $pag_config = [
|
||||
],
|
||||
'cond' => '1',
|
||||
'tail' => "order by id asc",
|
||||
'page_len' => 40,
|
||||
'page_len' => 50,
|
||||
'post_filter' => function ($problem) {
|
||||
return (new UOJProblem($problem))->userCanView(Auth::user());
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ $pag = new Paginator([
|
||||
'table_name' => 'lists',
|
||||
'cond' => $cond,
|
||||
'tail' => "order by id desc",
|
||||
'page_len' => 40,
|
||||
'page_len' => 50,
|
||||
'post_filter' => function ($info) {
|
||||
return (new UOJList($info))->userCanView(Auth::user());
|
||||
}
|
||||
|
@ -229,7 +229,7 @@ $pag = new Paginator([
|
||||
],
|
||||
'cond' => $cond,
|
||||
'tail' => "order by id asc",
|
||||
'page_len' => 40,
|
||||
'page_len' => 50,
|
||||
'post_filter' => function ($problem) {
|
||||
return (new UOJProblem($problem))->userCanView(Auth::user());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user