diff --git a/en_US.ISO8859-1/htdocs/cgi/man.cgi b/en_US.ISO8859-1/htdocs/cgi/man.cgi
index d315fbe347..10d16dc0cf 100755
--- a/en_US.ISO8859-1/htdocs/cgi/man.cgi
+++ b/en_US.ISO8859-1/htdocs/cgi/man.cgi
@@ -929,6 +929,10 @@ $want_to_link_to_this_page = 1;
$enable_include_links = 0;
$enable_mailto_links = 0;
+my $enable_section_indexes = 0;
+my $enable_intro = 0;
+
+
#
# end of config
#######################################################################################
@@ -1657,19 +1661,23 @@ sub indexpage {
local ($m) = ( $manpath ? $manpath : $manPathDefault );
$m = &encode_url($m);
+ if ($enable_section_indexes) {
print "Section Indexes:\n";
foreach ( '1', '2', '3', '4', '5', '6', '7', '8', '9', 'n' ) {
print qq{¤ } if $_ ne '1';
print
qq{$_\n};
}
+ }
+ if ($enable_intro) {
print "
Explanations of Man Sections:\n";
foreach ( '1', '2', '3', '4', '5', '6', '7', '8', '9' ) {
print qq{¤ } if $_ ne '1';
print
qq{intro($_)\n};
}
+ }
if (0) {
print "
\nQuick Reference Categories:\n";
@@ -1689,7 +1697,9 @@ qq{¤ $www{'home'}$BASE
ETX
- print "
\n";
+ if ($enable_section_indexes || $enable_intro) {
+ print "
\n";
+ }
&html_footer( 'no_home_link' => 1 );
}
@@ -1773,9 +1783,10 @@ ETX
Output format
+
home |
help
-