monthly and yearly log with hyperlinks to log files
authorxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 2 Jan 2012 23:12:41 +0000 (23:12 +0000)
committerxchaos <xchaos@251d49ef-1d17-4917-a970-b30cf55b089b>
Mon, 2 Jan 2012 23:12:41 +0000 (23:12 +0000)
git-svn-id: https://dev.arachne.cz/repos/prometheus/trunk@159 251d49ef-1d17-4917-a970-b30cf55b089b

prometheus.c

index ed4661d46bbcefb8ebc6121c65c6223e641fed50..7e42169cfdd74eac71c491c6478d1be5165bb3fc 100644 (file)
@@ -853,8 +853,8 @@ void parse_ip_log(int argc, char **argv)
   {\r
    if(iplog->traffic)\r
    {\r
-    fprintf(f, "<tr><td align=\"right\">%d</td><th align=\"left\">%s</td><td align=\"right\">", \r
-               i++, iplog->name); \r
+    fprintf(f, "<tr><td align=\"right\">%d</td><td align=\"left\"><a href=\"%s%s.log\">%s</td></td><td align=\"right\">", \r
+               i++, log_url, iplog->name, iplog->name);  \r
     if(iplog->lmsid > 0)\r
     {\r
      /*base URL will be configurable soon ... */\r
This page took 0.113502 seconds and 4 git commands to generate.