a9fe682c94e9248eaa7dfb00394f8e8425b07fef
[collab-maint/awstats.git] / debian / patches / 1008_extrasections_with_top.patch
1 Description: Include the words (Top XXX) in the ExtraSection headings.
2 Author: Patrick Collins <pcollins1@users.sourceforge.net>
3 Bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1844793&group_id=13764&atid=313764
5 ---
6  wwwroot/cgi-bin/awstats.pl |    4 ++--
7  1 file changed, 2 insertions(+), 2 deletions(-)
9 --- a/wwwroot/cgi-bin/awstats.pl
10 +++ b/wwwroot/cgi-bin/awstats.pl
11 @@ -11621,7 +11621,7 @@
12                         if ($Debug) { debug( "ExtraName$extranum", 2 ); }
13                         print "$Center<a name=\"extra$extranum\">&nbsp;</a><br />";
14                         my $title = $ExtraName[$extranum];
15 -                       &tab_head( "$title", 19, 0, "extra$extranum" );
16 +                       &tab_head( "$title ($Message[77] $MaxNbOfExtra[$extranum])", 19, 0, "extra$extranum");
17                         print "<tr bgcolor=\"#$color_TableBGRowTitle\">";
18                         print "<th>" . $ExtraFirstColumnTitle[$extranum] . "</th>";
19  
20 @@ -16657,7 +16657,7 @@
21         if ($Debug) { debug( "ExtraName$extranum", 2 ); }
22         print "$Center<a name=\"extra$extranum\">&nbsp;</a><br />";
23         my $title = $ExtraName[$extranum];
24 -       &tab_head( "$title", 19, 0, "extra$extranum" );
25 +       &tab_head( "$title ($Message[77] $MaxNbOfExtra[$extranum])", 19, 0, "extra$extranum");
26         print "<tr bgcolor=\"#$color_TableBGRowTitle\">";
27         print "<th>" . $ExtraFirstColumnTitle[$extranum];
28         print "&nbsp; - &nbsp; <a href=\""