Diff
Not logged in

Differences From:

File src/descendents.c part of check-in [abce5105e2] - Updates to the timeline routines. Added the pqueue module. by drh on 2007-09-01 01:55:50. Also file src/descendents.c part of check-in [bbcb6326c9] - Pulled in the navbar and timeline changes. by aku on 2007-09-17 00:58:51. [view]

To:

File src/descendents.c part of check-in [d773eee943] - Fix the "leaves" webpage. by drh on 2007-09-14 21:10:52. [view]

@@ -183,15 +183,14 @@
   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; }
@@ -205,9 +204,9 @@
     "       (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){
   @ }
@@ -215,5 +214,4 @@
   @ }
   @ </script>
   style_footer();
 }
-#endif