Check-in [d773eee943]
Not logged in
Overview

SHA1 Hash:d773eee943ed8844d18fd4737bbc434a9ce0c9fa
Date: 2007-09-14 21:10:52
User: drh
Comment:Fix the "leaves" webpage.
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/descendents.c from [420beefa61] to [7c7444f8a0].

@@ -182,17 +182,16 @@
   );
   print_timeline(&q, 20);
   db_finalize(&q);
 }
 
-#if 0
 /*
-** WEB PAGE:  leaves
+** WEBPAGE:  leaves
 **
 ** Find leaves of all branches.
 */
-void branches_page(void){
+void leaves_page(void){
   Stmt q;
 
   login_check_credentials();
   if( !g.okRead ){ login_needed(); return; }
 
@@ -204,16 +203,15 @@
     " WHERE blob.rid IN"
     "       (SELECT cid FROM plink EXCEPT SELECT pid FROM plink)"
     "   AND event.objid=blob.rid"
     " ORDER BY event.mtime DESC"
   );
-  www_print_timeline(&q, 0, 0, 0);
+  www_print_timeline(&q, 0, 0, 0, 0);
   db_finalize(&q);
   @ <script>
   @ function xin(id){
   @ }
   @ function xout(id){
   @ }
   @ </script>
   style_footer();
 }
-#endif