Project

General

Profile

« Previous | Next » 

Revision 299

Added by stefan almost 19 years ago

John: /modules/news/submit_comment.php
  • ticket 124 - line 35, added captcha settings check
  • ticket 107 - line 72, changed captcha.php call to include timestamp

View differences:

comment_page.php
1 1
<?php
2 2

  
3 3
// $Id$
4

  
4

  
5 5
/*
6 6

  
7 7
 Website Baker Project <http://www.websitebaker.org/>
......
21 21
 along with Website Baker; if not, write to the Free Software
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24
*/

24
*/
25 25

  
26 26
// Make sure page cannot be accessed directly
27 27
if(!defined('WB_URL')) { 
......
63 63
	<table cellpadding="2" cellspacing="0" border="0">
64 64
	<tr>
65 65
	<td><?php echo $TEXT['VERIFICATION']; ?>:</td>
66
	<td><img src="<?php echo WB_URL; ?>/include/captcha.php" alt="Captcha" /></td>
66
	<td><img src="<?php echo WB_URL; ?>/include/captcha.php?t=<?php echo time(); ?>" alt="Captcha" /></td>
67 67
	<td><input type="text" name="captcha" maxlength="5" /></td>
68 68
	</tr></table>
69 69
	<br />

Also available in: Unified diff