From: Rob H. <for...@us...> - 2002-02-03 03:45:08
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv22094/templates Modified Files: view_file.html Log Message: edit is now implemented as a <TMPL_IF> instead of hard-coded HTML in the CGI. Also removed "FULLPATH" variable from CGI, that's old stuff from before the File object existed. Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.27 retrieving revision 1.28 diff -U2 -r1.27 -r1.28 --- view_file.html 2002/01/31 23:31:58 1.27 +++ view_file.html 2002/02/03 03:45:05 1.28 @@ -10,5 +10,7 @@ <input type="hidden" name="action" value="file" /> <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> - <TMPL_VAR NAME=EDIT> + <TMPL_IF NAME=EDIT> + <a href="<TMPL_VAR NAME=PROGNAME>/<TMPL_VAR NAME=FILENAME>?action=file&file_command=edit&location=<TMPL_VAR NAME=LOCATION>&filename=<TMPL_VAR NAME=FILENAME>">edit</a> + </TMPL_IF> <TMPL_VAR NAME=ERROR> <br /> |