diff options
author | Lennart Poettering <lennart@poettering.net> | 2003-11-12 22:56:12 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2003-11-12 22:56:12 +0000 |
commit | 84134c0a850b189236343a2be67b334d87b0e001 (patch) | |
tree | cf2f06f9a012efc45d3ebc1dc3fdfc708d1282fb | |
parent | cfa884e275b8832038ff5a6baf5026a8b3d479f6 (diff) |
add direct links
git-svn-id: file:///home/lennart/svn/public/syrep-chub/trunk@12 4c8cc7d0-f3cb-0310-ad32-ddc431b48844
-rwxr-xr-x | info.cgi | 3 | ||||
-rwxr-xr-x | list.cgi | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -14,5 +14,8 @@ if not sch.valid_fname(fname): sch.error("Fuck off!") sch.print_header("File Info for '%s'" % fname) + +print '<p><a href="%s/%s">Download the file</a></p>' % (sch.repository_directory, fname) + sch.run_proc('%s --info "%s/%s" ' % (sch.syrep_binary, sch.repository_directory, fname)) sch.print_footer() @@ -42,5 +42,7 @@ print '<input name="diff" type="submit" value="SYREP Diff"/>' print '</td></tr></table></form>' +print '<p><a href="%s/">Browse the directory directly</a></p>' % sch.repository_directory + sch.print_footer() |