Revision 734
Added by thorn over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.7.0 ------------------------------------- |
| 14 |
02-Mar-2008 Thomas Hornik |
|
| 15 |
- removed include/captcha/asp.php |
|
| 14 | 16 |
01-Mar-2008 Thomas Hornik |
| 15 | 17 |
# fixed ticket #562, applied changes from user tavitar with some own additions |
| 16 | 18 |
+ added check for AddDefaultCharset to install |
| trunk/wb/include/captcha/asp.php | ||
|---|---|---|
| 1 |
<?php |
|
| 2 |
|
|
| 3 |
// $Id$ |
|
| 4 |
|
|
| 5 |
/* |
|
| 6 |
|
|
| 7 |
Website Baker Project <http://www.websitebaker.org/> |
|
| 8 |
Copyright (C) 2004-2008, Ryan Djurovich |
|
| 9 |
|
|
| 10 |
Website Baker is free software; you can redistribute it and/or modify |
|
| 11 |
it under the terms of the GNU General Public License as published by |
|
| 12 |
the Free Software Foundation; either version 2 of the License, or |
|
| 13 |
(at your option) any later version. |
|
| 14 |
|
|
| 15 |
Website Baker is distributed in the hope that it will be useful, |
|
| 16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
| 17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
| 18 |
GNU General Public License for more details. |
|
| 19 |
|
|
| 20 |
You should have received a copy of the GNU General Public License |
|
| 21 |
along with Website Baker; if not, write to the Free Software |
|
| 22 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
| 23 |
|
|
| 24 |
*/ |
|
| 25 |
|
|
| 26 |
// Must include code to stop this file being accessed directly |
|
| 27 |
if(!defined('WB_PATH')) { exit("Cannot access this file directly"); }
|
|
| 28 |
|
|
| 29 |
if(ENABLED_ASP) {
|
|
| 30 |
?> |
|
| 31 |
<style type="text/css"> |
|
| 32 |
.nixhier { display:none; }
|
|
| 33 |
</style> |
|
| 34 |
<?php |
|
| 35 |
} |
|
| 36 |
|
|
| 37 |
?> |
|
| 38 | 0 | |
| trunk/wb/account/signup_form.php | ||
|---|---|---|
| 28 | 28 |
exit(0); |
| 29 | 29 |
} |
| 30 | 30 |
require_once(WB_PATH.'/include/captcha/captcha.php'); |
| 31 |
require_once(WB_PATH.'/include/captcha/asp.php'); |
|
| 32 | 31 |
?> |
| 33 | 32 |
|
| 34 | 33 |
<style> |
| ... | ... | |
| 46 | 45 |
<?php if(ENABLED_ASP) { // add some honeypot-fields
|
| 47 | 46 |
?> |
| 48 | 47 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
| 49 |
<p class="nixhier">
|
|
| 48 |
<p style="display:none;">
|
|
| 50 | 49 |
email-address: |
| 51 | 50 |
<label for="email-address">Leave this field empty, dont enter your e-mail address:</label> |
| 52 | 51 |
<input id="email-address" name="email-address" size="60" value="" /><br /> |
| trunk/wb/modules/form/view.php | ||
|---|---|---|
| 40 | 40 |
} |
| 41 | 41 |
|
| 42 | 42 |
require_once(WB_PATH.'/include/captcha/captcha.php'); |
| 43 |
require_once(WB_PATH.'/include/captcha/asp.php'); |
|
| 44 | 43 |
|
| 45 | 44 |
// Function for generating an optionsfor a select field |
| 46 | 45 |
if (!function_exists('make_option')) {
|
| ... | ... | |
| 134 | 133 |
if(ENABLED_ASP) { // first add some honeypot-fields
|
| 135 | 134 |
?> |
| 136 | 135 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
| 137 |
<p class="nixhier">
|
|
| 136 |
<p style="display:none;">
|
|
| 138 | 137 |
email address: |
| 139 | 138 |
<label for="email">Your e-mail address is not relevant Leave this field blank:</label> |
| 140 | 139 |
<input id="email" name="email" size="56" value="" /><br /> |
| trunk/wb/modules/news/comment_page.php | ||
|---|---|---|
| 30 | 30 |
} |
| 31 | 31 |
|
| 32 | 32 |
require_once(WB_PATH.'/include/captcha/captcha.php'); |
| 33 |
require_once(WB_PATH.'/include/captcha/asp.php'); |
|
| 34 | 33 |
|
| 35 | 34 |
// Get comments page template details from db |
| 36 | 35 |
$query_settings = $database->query("SELECT comments_page,use_captcha,commenting FROM ".TABLE_PREFIX."mod_news_settings WHERE section_id = '".SECTION_ID."'");
|
| ... | ... | |
| 47 | 46 |
<?php if(ENABLED_ASP) { // add some honeypot-fields
|
| 48 | 47 |
?> |
| 49 | 48 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
| 50 |
<p class="nixhier">
|
|
| 49 |
<p style="display:none;">
|
|
| 51 | 50 |
email address: |
| 52 | 51 |
<label for="email">We dont want to know your email-address. Leave this field empty:</label> |
| 53 | 52 |
<input id="email" name="email" size="60" value="" /><br /> |
Also available in: Unified diff
removed include/captcha/asp.php