diff options
| -rw-r--r-- | report.sh | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,9 +1,16 @@ echo "Content-type: text/html" echo "" +shortname = `param sname` + cat ./fileparts/header.html -echo "<!--" -echo "Sname: $FORM_sname" -echo "-->" -cat ./fileparts/report.html + +if [ "REQUEST_METHOD" = "POST"]; then + #Make a thank-you-for-reporting-bug page + echo "<!--" + echo "Sname: $shortname" + echo "-->" +else + cat ./fileparts/report.html +fi cat ./fileparts/footer.html |
