\n";
- }
+ my $title = shift;
- if ($caption) {
- print "
$caption
\n"; + print "\n";
+
+ # Show the title
+ if ($title) {
+ print "
diff --git a/config/cfgroot/header.pl b/config/cfgroot/header.pl index e62d351a4..a5cd5fbb1 100644 --- a/config/cfgroot/header.pl +++ b/config/cfgroot/header.pl @@ -340,19 +340,17 @@ sub closebigbox { # @param page align # @param page caption sub openbox { - $width = $_[0]; - $align = $_[1]; - $caption = $_[2]; + # The width parameter is ignored and should always be '100%' + my $width = shift; + my $align = shift; - if($align eq 'center') { - print "