mark_open $id, $user;
debug $env => "Marking problem $id of contest $contest open by $user";
}
-
+t
$htc->param(cansubmit => 1);
if ($contest) {
- $htc->param(cansubmit => time <= contest_end $contest);
+ $htc->param(cansubmit => (time <= contest_end $contest));
$htc->param(contest => $contest);
}
$htc->param(formats => FORMATS);
$htc->param(author => problem_author $id);
$htc->param(owner => problem_owner $id);
$htc->param(statement => problem_statement $id);
+ $htc->param(timelimit => problem_timeout $id);
}
sub vary { 'Authorization' }
<h3>Problem information</h3>
<dl>
+<dt>Time limit:</dt> <dd><tmpl_var timelimit></dd>
<dt>Author</dt> <dd><tmpl_var author></dd>
<dt>Owner</dt> <dd><tmpl_var owner></dd>
</dl>