SET(sarg_VERSION 2)
SET(sarg_REVISION "3.2-pre2")
SET(sarg_BUILD "")
-SET(sarg_BUILDDATE "Oct-30-2011")
+SET(sarg_BUILDDATE "Nov-01-2011")
INCLUDE(AddFileDependencies)
INCLUDE(CheckIncludeFile)
SARG ChangeLog
-Oct-30-2011 Version 2.3.2-pre2
+Nov-01-2011 Version 2.3.2-pre2
- Add support for sorttable.js (http://www.kryogenix.org/code/browser/sorttable/) to dynamically sort some tables (thanks to Éric).
- Add the two command line options --lastlog and --keeplogs to set the number of reports to keep or to keep all the reports respectively (thanks to Emmanuel Lacour for the suggestion).
- Report the user ID in the e-mail report.
for (i=strlen(url)-1 ; i>=0 && (unsigned char)url[i]<' ' ; i--) url[i]=0;
fputs("<tr>",fp_ou);
- if (new_user)
- fprintf(fp_ou,"<td class=\"data\"><a href=\"%s/%s.html\">%s</a></td><td class=\"data\">%s</td>",uinfo->filename,uinfo->filename,uinfo->label,ip);
- else
+ if (new_user) {
+ if (uinfo->topuser)
+ fprintf(fp_ou,"<td class=\"data\"><a href=\"%s/%s.html\">%s</a></td><td class=\"data\">%s</td>",uinfo->filename,uinfo->filename,uinfo->label,ip);
+ else
+ fprintf(fp_ou,"<td class=\"data\">%s</td><td class=\"data\">%s</td>",uinfo->label,ip);
+ } else
fputs("<td class=\"data\"></td><td class=\"data\"></td>",fp_ou);
fprintf(fp_ou,"<td class=\"data\">%s-%s</td><td class=\"data2\">",data,hora);
if(BlockIt[0]!='\0' && url[0]!=ALIAS_PREFIX) {
-#define VERSION PACKAGE_VERSION" Oct-30-2011"
+#define VERSION PACKAGE_VERSION" Nov-01-2011"
#define PGM PACKAGE_NAME
#define URL "http://sarg.sourceforge.net"
if(email[0] == '\0') {
if (!indexonly) {
- if((ReportType & REPORT_TYPE_DOWNLOADS) != 0)
- download_report();
- else if (debugz)
- debugaz(_("Downloaded files report not requested in report_type\n"));
-
if(DansGuardianConf[0] != '\0')
dansguardian_log();
else if (debugz)
topuser();
if (!indexonly) {
+ if((ReportType & REPORT_TYPE_DOWNLOADS) != 0)
+ download_report();
+ else if (debugz)
+ debugaz(_("Downloaded files report not requested in report_type\n"));
+
if((ReportType & REPORT_TYPE_TOPSITES) != 0)
topsites();
else if (debugz)