diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index 59e6fb5cbce..20ebbe24fad 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -85,25 +85,38 @@ sub custom_driver_hook{
}
-$iconsizes{'up'} = 'width="75" height="25"';
-$iconsizes{'next'} = 'width="75" height="25"';
-$iconsizes{'previous'} = 'width="75" height="25"';
-$iconsizes{'contents'} = 'width="75" height="25"';
-$iconsizes{'index'} = 'width="75" height="25"';
+sub set_icon_size{
+ my($name, $w, $h) = @_;
+ $iconsizes{$name} = "width=$w height=$h";
+}
+
+foreach $name (split(/ /, 'up next previous contents index modules')) {
+ set_icon_size($name, 32, 32);
+}
+# The '_motif' is really annoying, and makes the HTML larger with no value
+# added, so strip it off:
+foreach $name (keys %icons) {
+ my $icon = $icons{$name};
+ $icon =~ s/_motif//;
+ $icons{$name} = $icon;
+}
$CUSTOM_BUTTONS = '';
sub make_nav_panel{
- ($NEXT_TITLE ? $NEXT : '')
- . ($UP_TITLE ? $UP : '')
- . ($PREVIOUS_TITLE ? $PREVIOUS : '')
- . $CONTENTS
- . $CUSTOM_BUTTONS
- . $INDEX
- . "\n
\n"
- . ($NEXT_TITLE ? "Next: $NEXT_TITLE\n" : '')
- . ($UP_TITLE ? "Up: $UP_TITLE\n" : '')
- . ($PREVIOUS_TITLE ? "Previous: $PREVIOUS_TITLE\n" : '');
+ ('
' + . ($NEXT_TITLE ? "$NEXT " : '') + . ($UP_TITLE ? "$UP " : '') + . ($PREVIOUS_TITLE ? "$PREVIOUS " : '') + . " | \n$t_title" + . " | \n" + . $CONTENTS + . ' ' . $CUSTOM_BUTTONS + . ' ' . $INDEX + . " |