Differences From:
File
src/info.c
part of check-in
[eae7ddfa4e]
- Add support for annotation in the web interface.
by
drh on
2008-02-04 18:28:55.
[view]
To:
File
src/info.c
part of check-in
[a20dcb5c26]
- Hyperlinks to directory browser pages on the pathname in the title
of the file history viewer, finfo.
by
drh on
2008-02-04 19:08:55.
[view]
@@ -446,8 +446,10 @@
void finfo_page(void){
Stmt q;
const char *zFilename;
char zPrevDate[20];
+ Blob title;
+
login_check_credentials();
if( !g.okHistory ){ login_needed(); return; }
style_header("File History");
@@ -465,9 +467,13 @@
" AND event.objid=mlink.mid"
" ORDER BY event.mtime DESC",
zFilename
);
- @ <h2>History of %h(zFilename)</h2>
+ blob_zero(&title);
+ blob_appendf(&title, "History of ");
+ hyperlinked_path(zFilename, &title);
+ @ <h2>%b(&title)</h2>
+ blob_reset(&title);
@ <table cellspacing=0 border=0 cellpadding=0>
while( db_step(&q)==SQLITE_ROW ){
const char *zVers = db_column_text(&q, 0);
const char *zUuid = db_column_text(&q, 1);