summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-03-07 20:38:27 -0500
committerAlexander Pickering <Alexander.Pickering@anondomain.site90.net>2016-03-07 20:38:27 -0500
commit0404e75e073819804c0ca7656b691b3486a7b383 (patch)
tree2a2faccd89907c660fcf551ffd76c7cbe6c28218
parentf2ee52c76786a952826324faa20894b24ab7495d (diff)
downloadwebpage-0404e75e073819804c0ca7656b691b3486a7b383.tar.gz
webpage-0404e75e073819804c0ca7656b691b3486a7b383.tar.bz2
webpage-0404e75e073819804c0ca7656b691b3486a7b383.zip
More work on the bug reporting page
-rw-r--r--report.sh15
1 files changed, 11 insertions, 4 deletions
diff --git a/report.sh b/report.sh
index 3aa4e91..b60e1a1 100644
--- a/report.sh
+++ b/report.sh
@@ -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