]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Put a HTML link on the user's label between the page of the denied accesses and the...
authorFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 18 Sep 2010 12:33:23 +0000 (12:33 +0000)
committerFrédéric Marchal <fmarchal@users.sourceforge.net>
Sat, 18 Sep 2010 12:33:23 +0000 (12:33 +0000)
denied.c

index 637fad5bf25a4bd36891dba94b9109880343a17b..99a624f039f144bb2dad212d50f13227ef3799a3 100644 (file)
--- a/denied.c
+++ b/denied.c
@@ -139,7 +139,7 @@ void gen_denied_report(void)
 
       fputs("<tr>",fp_ou);
       if (new_user)
-         fprintf(fp_ou,"<td class=\"data\">%s</td><td class=\"data\">%s</td>",uinfo->label,ip);
+         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
          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);