};
sub _generate{
- my ($self, $htc, $path, $lang) = @_;
-
- $path =~ m,(?:ct/([^/]+)/)?pb/(\w+)\.html$,;
-
- my ($contest, $id) = ($1, $2);
+ my ($self, $htc, $lang, $logger, $contest, $id) = @_;
+ debug $logger => "language is '$lang', contest is '$contest', id is '$id'";
$htc->param(cansubmit => 1);
if (defined $contest) {