X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=html%2Fhtml%2Fthemes%2Fipfire%2Finclude%2Ffunctions.pl;h=f71181e6323f27b25fd2bdc98552fd79dea7d17f;hb=480f354d894e212e9dd6f66936c2ca592e1c549b;hp=0ead967ae1ef57c2b184842e015ac145ba8e704a;hpb=9027a25d92afbbb4486c17deac66b4c439e80520;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/html/html/themes/ipfire/include/functions.pl b/html/html/themes/ipfire/include/functions.pl index 0ead967ae..f71181e63 100644 --- a/html/html/themes/ipfire/include/functions.pl +++ b/html/html/themes/ipfire/include/functions.pl @@ -80,7 +80,7 @@ EOF foreach my $k1 ( sort keys %$menu ) { $link = getlink($menu->{$k1}); next if (!is_menu_visible($link) or $link eq ''); - print '
  • '.$menu->{$k1}->{'caption'}.''; + print '
  • '.$menu->{$k1}->{'caption'}.''; my $submenus = $menu->{$k1}->{'subMenu'}; &showsubmenu($submenus) if ($submenus); print "
  • "; @@ -120,7 +120,7 @@ sub openpage { } print < + $headline - $title @@ -128,6 +128,12 @@ print < + + END foreach my $stylesheet (@stylesheets) { @@ -232,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";