Diff
Not logged in

Differences From:

File src/report.c part of check-in [623a9129c8] - Update to the latest SQLite. On the "Ticket" page, if "nobody" is not allowed to create new tickets but "anonymous" is, then offer a hyperlink to log in as anonymous. Change the default settings to be more secure. by drh on 2009-07-06 23:53:18. [view]

To:

File src/report.c part of check-in [7a2c37063a] - merge trunk into creole branch by bob on 2009-09-22 07:49:39. Also file src/report.c part of check-in [5fe3aee839] - Disable additional hyperlinks when "history" privilege is disabled (by default when the user has not signed in as "anonymous" or other known user.) Help prevent spiders for soaking up bandwidth. by drh on 2009-08-30 01:22:15. [view]

@@ -784,9 +784,13 @@
         blob_reset(&content);
       }
     }else if( azName[i][0]=='#' ){
       zTid = zData;
-      @ <td valign="top"><a href="tktview?name=%h(zData)">%h(zData)</a></td>
+      if( g.okHistory ){
+        @ <td valign="top"><a href="tktview?name=%h(zData)">%h(zData)</a></td>
+      }else{
+        @ <td valign="top">%h(zData)</td>
+      }
     }else if( zData[0]==0 ){
       @ <td valign="top">&nbsp;</td>
     }else{
       @ <td valign="top">