diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 86b1b75ba..f71181e63 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -238,7 +238,12 @@ sub openbox { $align = $_[1]; $caption = $_[2]; - print "
\n"; + if($align eq 'center') { + print "
\n" + } + else { + print "
\n"; + } if ($caption) { print "

$caption

\n";