summaryrefslogtreecommitdiff
path: root/index.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi11
1 files changed, 8 insertions, 3 deletions
diff --git a/index.cgi b/index.cgi
index 1e9acb8..41b8f11 100755
--- a/index.cgi
+++ b/index.cgi
@@ -105,20 +105,25 @@ if ($form->submitted) {
$infostring .= "\n<P>The following info has been submitted:";
$form->{opt}{messages}{form_confirm_text} = "$infostring";
print $form->confirm(
-# header => 1,
+ header => 1,
template => $ack_path
);
} else {
print $form->render(
-# header => 1,
+ header => 1,
sticky => (! $form->validate),
#FIXME text => $infostring,
template => $req_path
);
}
+} elsif ($ENV{'FORMBUILDER_NOHEADER'}) {
+ print $form->render(
+ header => 0,
+ template => $req_path
+ );
} else {
print $form->render(
-# header => 1,
+ header => 1,
template => $req_path
);
}