Revision 739
Added by thorn over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
14 | 14 |
02-Mar-2008 Thomas Hornik |
15 | 15 |
# added missing text in language-files |
16 | 16 |
+ added missing sorting to language dropdown in admin/pages/settings.php |
17 |
- removed include/captcha/asp.php |
|
18 | 17 |
01-Mar-2008 Thomas Hornik |
19 | 18 |
# fixed ticket #562, applied changes from user tavitar with some own additions |
20 | 19 |
+ 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 |
?> |
|
0 | 38 |
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'); |
|
31 | 32 |
?> |
32 | 33 |
|
33 | 34 |
<style> |
... | ... | |
45 | 46 |
<?php if(ENABLED_ASP) { // add some honeypot-fields |
46 | 47 |
?> |
47 | 48 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
48 |
<p style="display:none;">
|
|
49 |
<p class="nixhier">
|
|
49 | 50 |
email-address: |
50 | 51 |
<label for="email-address">Leave this field empty, dont enter your e-mail address:</label> |
51 | 52 |
<input id="email-address" name="email-address" size="60" value="" /><br /> |
... | ... | |
97 | 98 |
</form> |
98 | 99 |
|
99 | 100 |
<br /> |
100 |
|
|
101 |
|
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'); |
|
43 | 44 |
|
44 | 45 |
// Function for generating an optionsfor a select field |
45 | 46 |
if (!function_exists('make_option')) { |
... | ... | |
133 | 134 |
if(ENABLED_ASP) { // first add some honeypot-fields |
134 | 135 |
?> |
135 | 136 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
136 |
<p style="display:none;">
|
|
137 |
<p class="nixhier">
|
|
137 | 138 |
email address: |
138 | 139 |
<label for="email">Your e-mail address is not relevant Leave this field blank:</label> |
139 | 140 |
<input id="email" name="email" size="56" value="" /><br /> |
... | ... | |
515 | 516 |
|
516 | 517 |
} |
517 | 518 |
|
518 |
?> |
|
519 |
?> |
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'); |
|
33 | 34 |
|
34 | 35 |
// Get comments page template details from db |
35 | 36 |
$query_settings = $database->query("SELECT comments_page,use_captcha,commenting FROM ".TABLE_PREFIX."mod_news_settings WHERE section_id = '".SECTION_ID."'"); |
... | ... | |
46 | 47 |
<?php if(ENABLED_ASP) { // add some honeypot-fields |
47 | 48 |
?> |
48 | 49 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
49 |
<p style="display:none;">
|
|
50 |
<p class="nixhier">
|
|
50 | 51 |
email address: |
51 | 52 |
<label for="email">We dont want to know your email-address. Leave this field empty:</label> |
52 | 53 |
<input id="email" name="email" size="60" value="" /><br /> |
Also available in: Unified diff
reintroduced include/captcha/asp.php