Update of /cvsroot/sandweb/sandweb/templates
In directory usw-pr-cvs1:/tmp/cvs-serv8988/templates
Modified Files:
view_file.html
Log Message:
implemented a temporary solution for download in the view_file template;
I disabled the download pulldown that's on the browse menu for now.
The problem is that the way I'm passing the filename seems to require
that it's an <A HREF> rather than a <FORM>. ack.
Index: view_file.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -U2 -r1.13 -r1.14
--- view_file.html 2001/12/30 12:24:04 1.13
+++ view_file.html 2002/01/07 07:14:42 1.14
@@ -6,5 +6,5 @@
<form submit="<TMPL_VAR NAME=PROGNAME>">
<input type="hidden" name="action" value="file" />
- <input type="submit" name="file_command" value="download" />
+ <a href="<TMPL_VAR NAME=PROGNAME>/<TMPL_VAR NAME=FILENAME>?action=file&file_command=download&location=<TMPL_VAR NAME=LOCATION>&filename=<TMPL_VAR NAME=FILENAME>">download</a>
<input type="submit" name="file_command" value="upload" />
<input type="submit" name="file_command" value="edit" />
|