cvs: pearweb /include pear-format-html.php
| From: | Daniel Convissor | Date: | Wed, 22 Sep 2004 05:20:01 +0000 |
| Subject: | cvs: pearweb /include pear-format-html.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-24123@lists.php.net to get a copy of this message | ||
danielc Wed Sep 22 01:20:01 2004 EDT
Modified files:
/pearweb/include pear-format-html.php
Log:
* Take the new CAPTHCA system live.
http://cvs.php.net/diff.php/pearweb/include/pear-format-html.php?r1=1.149&r2=1.150&ty=u
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.149 pearweb/include/pear-format-html.php:1.150
--- pearweb/include/pear-format-html.php:1.149 Sun Sep 5 17:47:08 2004
+++ pearweb/include/pear-format-html.php Wed Sep 22 01:20:01 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.149 2004/09/05 21:47:08 toby Exp $
+ $Id: pear-format-html.php,v 1.150 2004/09/22 05:20:01 danielc Exp $
*/
PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, 'error_handler');
@@ -990,9 +990,13 @@
}
$_SESSION['captcha_time'] = time();
}
- $out = 'Type "' . $_SESSION['captcha'] . '" into
this box... ';
- $out .= '<input type="text" size="4" maxlength="4"
name="captcha" />';
- return $out;
+ return 'Type <img src="/captcha-image.php" alt="If you are unable
to'
+ . ' read this image, click the help link to the right of'
+ . ' the input box" align="top" /> into this box...'
+ . ' <input type="text" size="4" maxlength="4"
name="captcha" />'
+ . ' (<a href="/captcha-help.php"
target="_blank">help</a>)'
+ . ' <br />If this image is hard to read, reload the page.';
+
}
/**