mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 06:58:41 +00:00
fix(problem/manage/data): problem_conf
This commit is contained in:
parent
1280c528e4
commit
760f8e7c5e
@ -324,9 +324,9 @@ function getDataDisplayer() {
|
||||
return $disp;
|
||||
} elseif ($judger_name === 'on') {
|
||||
if ($problem_conf->isOn('interaction_mode')) {
|
||||
if (isset($problem_conf['use_builtin_checker'])) {
|
||||
if ($problem_conf->getVal('use_builtin_checker', null)) {
|
||||
$disp->addTab('checker', function ($self) {
|
||||
echo '<h4>use builtin checker : ', $self->problem_conf['use_builtin_checker']['val'], '</h4>';
|
||||
echo '<h4>use builtin checker: ', $self->problem_conf['use_builtin_checker']['val'], '</h4>';
|
||||
});
|
||||
} else {
|
||||
addSrcTab($disp, 'checker', 'chk');
|
||||
@ -336,7 +336,7 @@ function getDataDisplayer() {
|
||||
addSrcTab($disp, 'standard', 'std');
|
||||
addSrcTab($disp, 'validator', 'val');
|
||||
}
|
||||
if (isset($problem_conf->conf['interaction_mode'])) {
|
||||
if ($problem_conf->isOn('interaction_mode')) {
|
||||
addSrcTab($disp, 'interactor', 'interactor');
|
||||
}
|
||||
return $disp;
|
||||
|
Loading…
Reference in New Issue
Block a user