diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-17 22:03:52 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-02-17 22:03:52 +1100 |
| commit | 7622e84b62d9bddeeeb4a9785f7bc9b77d9aeea3 (patch) | |
| tree | b8cfe3a41cf4b60f35ed8908d5d960620e1ad939 /templates | |
| parent | fab3618afe502f3517329dd91b859602df9f970b (diff) | |
Bot prevention
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/index.html | 1 | ||||
| -rw-r--r-- | templates/thread.html | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 59ce3f54..f75b9015 100644 --- a/templates/index.html +++ b/templates/index.html @@ -13,6 +13,7 @@ <form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
+ {hidden_inputs}
<input type="hidden" name="board" value="{board[uri]}" />
{mod?<input type="hidden" name="mod" value="1" />}
<table>
diff --git a/templates/thread.html b/templates/thread.html index 19434be3..eae22720 100644 --- a/templates/thread.html +++ b/templates/thread.html @@ -12,7 +12,7 @@ <div class="title">{board[title]?{board[title]}}<p>{mod?<a href="?/">Return to dashboard</a>}</p></div>
<div class="banner">Posting mode: Reply <a class="unimportant" href="{return}">[Return.]</a></div>
- <form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">
+ <form onsubmit="return dopost(this);" enctype="multipart/form-data" action="{post_url}" method="post">{hidden_inputs}
<input type="hidden" name="thread" value="{id}" />
<input type="hidden" name="board" value="{board[uri]}" />
{mod?<input type="hidden" name="mod" value="1" />}
|
