Check-in [472f9411ee]
Not logged in
Overview

SHA1 Hash:472f9411eec4b5fc763662f6c1441601054bca88
Date: 2009-01-29 03:04:38
User: drh
Comment:Add the "hyperlinks are disabled" warning to the taglist page. Disable hyperlinks on the leaves page when hyperlinks are suppose to be disabled.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/descendants.c from [9007c3f73b] to [fabaf35b08].

@@ -269,11 +269,13 @@
 ** This routine is called while for each check-in that is rendered by
 ** the "leaves" page.  Add some additional hyperlink to show the
 ** ancestors of the leaf.
 */
 static void leaves_extra(int rid){
-  @ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">[timeline]</a>
+  if( g.okHistory ){
+    @ <a href="%s(g.zBaseURL)/timeline?p=%d(rid)">[timeline]</a>
+  }
 }
 
 /*
 ** WEBPAGE:  leaves
 **

Modified src/tag.c from [ddf9f91f87] to [3c286a5a05].

@@ -491,10 +491,11 @@
 
   login_check_credentials();
   if( !g.okRead ){
     login_needed();
   }
+  login_anonymous_available();
   style_header("Tags");
   style_submenu_element("Timeline", "Timeline", "tagtimeline");
   @ <h2>Non-propagating tags:</h2>
   db_prepare(&q,
     "SELECT substr(tagname,5)"