#833 Daily Stats Links Patch

open
nobody
5
2012-10-11
2009-11-28
Obsidian
No

I've attached a patch that will change the dates in the days of the month section to links linking to the daily stats for that day.

If you get a chance please integrate it into awstats.

Discussion

  • cncook001

    cncook001 - 2011-05-11

    patch for version 7.0 awstats

    awstats.pl 2011-05-11 14:28:23.000000000 -0500
    --- orig.awstats.pl 2011-05-11 09:48:17.000000000 -0500
    ***
    13175,13182
    $NewLinkParams =~ s/(^|&|&)staticlinks(=\w
    |$)//i;
    $NewLinkParams =~ s/(^|&|&)year=[^&]//i;
    $NewLinkParams =~ s/(^|&|&)month=[^&]
    //i;
    - $NewLinkParams =~ s/(^|&|&)day=[^&]//i;
    - $NewLinkParams =~ s/(^|&|&)databasebreak=[^&]
    //i;
    $NewLinkParams =~ s/(^|&|&)framename=[^&]*//i;
    $NewLinkParams =~ s/(&|&)+/&/i;
    $NewLinkParams =~ s/^&//;
    --- 13175,13180 ----
    ***
    13423,13431 *
    : ""
    )
    . ">";
    -
    - print "";
    -
    print(
    !$StaticLinks
    && $day == $nowday
    --- 13421,13426 ----
    ***
    13434,13440 ****
    ? ''
    : ''
    );
    -
    print "$day
    ' : '' );
    ! print "
    \n";
    }
    print " ";
    print "' : '' );
    ! print "\n";
    }
    print " ";
    print "<td valign=\"middle\""

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks