Revision 762
Added by thorn over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
14 | 14 |
24-Mar-2008 Thomas Hornik |
15 | 15 |
# search: great speed-up with large pages - requires PHP >= 4.3.3; small speed-up for PHP < 4.3.3 |
16 | 16 |
# FCK-Editor: loads large pages faster |
17 |
- removed include/captcha/asp.php. css have to be added to module's css-files. |
|
17 | 18 |
23-Mar-2008 Matthias Gallas |
18 | 19 |
! Updated form modul for valid output, removed all javascript (Big thanks to BerndJM) |
19 | 20 |
17-Mar-2008 Thomas Hornik |
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'); |
|
31 |
|
|
32 | 32 |
?> |
33 |
|
|
34 |
<style> |
|
33 |
<style type="text/css"> |
|
35 | 34 |
.value_input input, .value_input text, .value_input select { |
36 | 35 |
width: 300px; |
37 | 36 |
} |
37 |
<?php if(ENABLED_ASP) { ?> |
|
38 |
.nixhier { display:none; } |
|
39 |
<?php } ?> |
|
38 | 40 |
</style> |
39 | 41 |
|
40 | 42 |
<h1> <?php echo $TEXT['SIGNUP']; ?></h1> |
... | ... | |
48 | 50 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
49 | 51 |
<p class="nixhier"> |
50 | 52 |
email-address: |
51 |
<label for="email-address">Leave this field empty, dont enter your e-mail address:</label>
|
|
53 |
<label for="email-address">Leave this field email-address blank:</label>
|
|
52 | 54 |
<input id="email-address" name="email-address" size="60" value="" /><br /> |
53 | 55 |
username (id): |
54 |
<label for="name">Enter your user name or id not here:</label>
|
|
56 |
<label for="name">Leave this field name blank:</label>
|
|
55 | 57 |
<input id="name" name="name" size="60" value="" /><br /> |
56 | 58 |
Full Name: |
57 |
<label for="full_name">This is to leave blank, dont enter your full name here:</label>
|
|
59 |
<label for="full_name">Leave this field full_name blank:</label>
|
|
58 | 60 |
<input id="full_name" name="full_name" size="60" value="" /><br /> |
59 | 61 |
</p> |
60 | 62 |
<?php } |
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')) { |
... | ... | |
130 | 129 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
131 | 130 |
<p class="nixhier"> |
132 | 131 |
email address: |
133 |
<label for="email">Your e-mail address is not relevant Leave this field blank:</label>
|
|
132 |
<label for="email">Leave this field email-address blank:</label>
|
|
134 | 133 |
<input id="email" name="email" size="56" value="" /><br /> |
135 | 134 |
Homepage: |
136 |
<label for="homepage">Do not enter a homepage-url www.whatever.com here:</label>
|
|
135 |
<label for="homepage">Leave this field homepage blank:</label>
|
|
137 | 136 |
<input id="homepage" name="homepage" size="55" value="" /><br /> |
138 | 137 |
URL: |
139 |
<label for="url">Don't write anything in this field:</label>
|
|
138 |
<label for="url">Leave this field url blank:</label>
|
|
140 | 139 |
<input id="url" name="url" size="61" value="" /><br /> |
141 | 140 |
Comment: |
142 |
<label for="comment">Enter not your comment here:</label>
|
|
141 |
<label for="comment">Leave this field comment blank:</label>
|
|
143 | 142 |
<textarea id="comment" name="comment" cols="50" rows="10"></textarea><br /> |
144 | 143 |
</p> |
145 | 144 |
|
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."'"); |
... | ... | |
49 | 48 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
50 | 49 |
<p class="nixhier"> |
51 | 50 |
email address: |
52 |
<label for="email">We dont want to know your email-address. Leave this field empty:</label>
|
|
51 |
<label for="email">Leave this field email blank:</label>
|
|
53 | 52 |
<input id="email" name="email" size="60" value="" /><br /> |
54 | 53 |
Homepage: |
55 |
<label for="homepage">Do not enter a homepage-url here, use field comment instead if you want:</label>
|
|
54 |
<label for="homepage">Leave this field homepage blank:</label>
|
|
56 | 55 |
<input id="homepage" name="homepage" size="60" value="" /><br /> |
57 | 56 |
URL: |
58 |
<label for="url">Don't write anything in this url field:</label>
|
|
57 |
<label for="url">Leave this field url blank:</label>
|
|
59 | 58 |
<input id="url" name="url" size="60" value="" /><br /> |
60 | 59 |
Comment: |
61 |
<label for="comment">Leave not your comment here:</label>
|
|
60 |
<label for="comment">Leave this field comment blank:</label>
|
|
62 | 61 |
<input id="comment" name="comment" size="60" value="" /><br /> |
63 | 62 |
</p> |
64 | 63 |
<?php } |
Also available in: Unified diff
removed include/captcha/asp.php. css have to be added to module's css-files.