Mercurial > hg > Blog
comparison themes/tuxlite_tbs/templates/simple_comments.html @ 36:96084c11584a
comment out the captcha code. Trying the new approach to accept any blog post comment and
filter it through an email spam filter.
| author | Dirk Olmes <dirk@xanthippe.ping.de> |
|---|---|
| date | Mon, 01 Sep 2014 04:16:11 +0200 |
| parents | 7380bf280fc9 |
| children | c2b99e876559 |
comparison
equal
deleted
inserted
replaced
| 35:a30aee3f6158 | 36:96084c11584a |
|---|---|
| 16 {% if article.metadata.allowcomments %} | 16 {% if article.metadata.allowcomments %} |
| 17 <div style="padding: 20px 0px 0px 0px;"> | 17 <div style="padding: 20px 0px 0px 0px;"> |
| 18 <div style="font-size: 120%;"> | 18 <div style="font-size: 120%;"> |
| 19 Leave a comment | 19 Leave a comment |
| 20 </div> | 20 </div> |
| 21 {% if False %} | |
| 21 <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> | 22 <form action="http://xanthippe.duckdns.org/blog-comments/simple_comments.php" method="POST"> |
| 23 {% endif %} | |
| 24 <form action="http://xanthippe.duckdns.org/blog-comments/submit_comment.php" method="POST"> | |
| 22 <input type="hidden" name="Slug" value="{{ article.slug }}"> | 25 <input type="hidden" name="Slug" value="{{ article.slug }}"> |
| 23 <table style="padding: 10px 0px 0px 0px;"> | 26 <table style="padding: 10px 0px 0px 0px;"> |
| 24 <tr> | 27 <tr> |
| 25 <td> | 28 <td> |
| 26 Your name: | 29 Your name: |
| 35 </td> | 38 </td> |
| 36 <td> | 39 <td> |
| 37 <textarea rows="5" cols="60" name="Comment"></textarea> | 40 <textarea rows="5" cols="60" name="Comment"></textarea> |
| 38 </td> | 41 </td> |
| 39 </tr> | 42 </tr> |
| 43 {% if False %} | |
| 40 <tr> | 44 <tr> |
| 41 <td colspan="2"> | 45 <td colspan="2"> |
| 42 Please type the characters you see in this image: | 46 Please type the characters you see in this image: |
| 43 <td> | 47 <td> |
| 44 <td></td> | 48 <td></td> |
| 49 </td> | 53 </td> |
| 50 <td> | 54 <td> |
| 51 <input type="text" name="Challenge"> | 55 <input type="text" name="Challenge"> |
| 52 </td> | 56 </td> |
| 53 </tr> | 57 </tr> |
| 58 {% endif %} | |
| 54 <tr> | 59 <tr> |
| 55 <td> | 60 <td> |
| 56 <input type="submit" value="Submit"> | 61 <input type="submit" value="Submit"> |
| 57 </td> | 62 </td> |
| 58 <td></td> | 63 <td></td> |
