X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FSubmit.pm;h=7e4d1634d27ca6ef328cc530b4e095db02c4a976;hb=2b0036ac8e077cc20cf9db6ff8dad4091ab50cb3;hp=3f289d5c50eebb1f6b0e7680a48f07b92346273c;hpb=879063d7deb100035d21ff2be57dce8d090b431f;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Submit.pm b/lib/Gruntmaster/Page/Submit.pm index 3f289d5..7e4d163 100644 --- a/lib/Gruntmaster/Page/Submit.pm +++ b/lib/Gruntmaster/Page/Submit.pm @@ -8,15 +8,12 @@ our @EXPORT_OK = qw/generate/; our $VERSION = '0.001'; use constant FORMATS => [qw/CPP/]; -use constant TITLE => 'Submit job'; -use Fcntl qw/:flock/; use HTML::Template::Compiled; -use YAML::Any qw/LoadFile/; -use Gruntmaster::Page::Common qw/header footer/; -use Gruntmaster::Data qw//; +use Gruntmaster::Page::Common qw/cook_templates reload_templates/; +use Gruntmaster::Data qw/problem_name problems/; -my %templates = ( +my %orig_templates = ( en => <<'HTML',