diff options
| author | Apickx <Apickx@cogarr.org> | 2016-05-11 17:51:28 -0400 |
|---|---|---|
| committer | Apickx <Apickx@cogarr.org> | 2016-05-11 17:51:28 -0400 |
| commit | 60631aeb6a03a7fdd8e7dfe78121a80747b62933 (patch) | |
| tree | ace478e706fe2f8b3f85134eeb68527099f07e63 /ws2a | |
| parent | 581b12d294a0f4e9ded2e17c44a38e81e060db13 (diff) | |
| parent | b9976f40a6a13b0dd8462183ff40a21634789cb8 (diff) | |
| download | webpage-60631aeb6a03a7fdd8e7dfe78121a80747b62933.tar.gz webpage-60631aeb6a03a7fdd8e7dfe78121a80747b62933.tar.bz2 webpage-60631aeb6a03a7fdd8e7dfe78121a80747b62933.zip | |
Merge branch 'development'
Diffstat (limited to 'ws2a')
| -rw-r--r-- | ws2a/bugcomment.c | 5 | ||||
| -rw-r--r-- | ws2a/bugs.html | 15 | ||||
| -rw-r--r-- | ws2a/newbug.c | 0 |
3 files changed, 20 insertions, 0 deletions
diff --git a/ws2a/bugcomment.c b/ws2a/bugcomment.c index afd0e6c..eeba8fe 100644 --- a/ws2a/bugcomment.c +++ b/ws2a/bugcomment.c @@ -27,6 +27,11 @@ char* replaceHTML(char* str){ nstr[nstrp] = (char)hex; nstrp++; strp+=3; + }else if(str[strp] == '\n'){ + nstr[nstrp] = '\\'; + nstr[nstrp+1] = 'n'; + nstrp+=2; + strp++; }else{ nstr[nstrp] = str[strp]; nstrp++; diff --git a/ws2a/bugs.html b/ws2a/bugs.html index 5c27898..7833614 100644 --- a/ws2a/bugs.html +++ b/ws2a/bugs.html @@ -57,6 +57,21 @@ </table> </div> + <div class="container"> + <form class="form-signin" action="/cgi-bin/newbug.cgi"> + <h2 class="form-signin-heading">Create a bug</h2> + <label for="inputName" class="sr-only">Name</label> + <input id="inputName" name="name" class="form-control" placeholder="Screen Name" required="" autofocus="" type="text"> + <label for="inputID" class="sr-only">Identifier</label> + <input id="inputID" name="id" class="form-control" placeholder="Identifier" required="" type="password"> + <textarea name="comment" rows="5" cols="50"></textarea> + <div id="captcha"></div> + <input id="solvecaptcha" name="captcha" class="form-control" placeholder="captcha" type="text"> + <input type="hidden" name="bugid" id=bgid> + <button class="btn btn-lg btn-primary btn-block" type="Post">Post</button> + </form> + </div> + <footer class="footer"> <p>Contact the admin at <a href="mailto:apickx@cogarr.org">Apickx@cogarr.org</a></p> </footer> diff --git a/ws2a/newbug.c b/ws2a/newbug.c new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/ws2a/newbug.c |
