From: Rob H. <for...@us...> - 2002-01-26 21:34:37
|
Update of /cvsroot/sandweb/sandweb/bin In directory usw-pr-cvs1:/tmp/cvs-serv9686/bin Modified Files: sandweb.cgi Log Message: made edit in view_file a link, plus made default mime_type-file location /etc/apache Index: sandweb.cgi =================================================================== RCS file: /cvsroot/sandweb/sandweb/bin/sandweb.cgi,v retrieving revision 1.123 retrieving revision 1.124 diff -U2 -r1.123 -r1.124 --- sandweb.cgi 2002/01/25 18:21:12 1.123 +++ sandweb.cgi 2002/01/26 21:34:32 1.124 @@ -510,5 +510,5 @@ $file_content = ""; } else { - $edit = '<input type="submit" name="file_command" value="edit" />'; + $edit = "\<a href\=\"$progname\/$filename\?action\=file\&file_command\=edit\&location\=$location\&filename\=$filename\"\>edit\<\/a\>" } |