summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl15
1 files changed, 1 insertions, 14 deletions
diff --git a/CGI.pl b/CGI.pl
index 4b7269358..c1b8aca11 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -50,20 +50,7 @@ sub CGI_pl_sillyness {
require 'globals.pl';
-use vars qw($template $vars);
-
-sub PutHeader {
- ($vars->{'title'}, $vars->{'h1'}, $vars->{'h2'}) = (@_);
-
- $::template->process("global/header.html.tmpl", $::vars)
- || ThrowTemplateError($::template->error());
- $vars->{'header_done'} = 1;
-}
-
-sub PutFooter {
- $::template->process("global/footer.html.tmpl", $::vars)
- || ThrowTemplateError($::template->error());
-}
+use vars qw($vars);
############# Live code below here (that is, not subroutine defs) #############