Diff
Not logged in

Differences From:

File src/info.c part of check-in [9df32e2808] - Added the vdiff webpage with links from vinfo. by drh on 2007-08-01 01:24:37. [view]

To:

File src/info.c part of check-in [6dab6149b1] - From the vinfo webpage, provide a hyperlink to download a ZIP archive the version. by drh on 2007-08-01 13:32:11. [view]

@@ -216,14 +216,16 @@
      "   AND event.objid=%d",
      rid, rid
   );
   if( db_step(&q)==SQLITE_ROW ){
-    @ <h2>Version %s(db_column_text(&q,0))</h2>
+    const char *zUuid = db_column_text(&q, 0);
+    @ <h2>Version %s(zUuid)</h2>
     @ <ul>
     @ <li><b>Date:</b> %s(db_column_text(&q, 1))</li>
     @ <li><b>User:</b> %s(db_column_text(&q, 2))</li>
     @ <li><b>Comment:</b> %s(db_column_text(&q, 3))</li>
     @ <li><a href="%s(g.zBaseURL)/vdiff/%d(rid)">diff</a></li>
+    @ <li><a href="%s(g.zBaseURL)/zip/%s(zUuid).zip">ZIP archive</a></li>
     @ </ul>
   }
   db_finalize(&q);
   @ <p><h2>Descendents:</h2>