Vergleich inc/class_captcha.php - 1.6.7 - 1.6.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 31Zeile 31
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*

 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*

 * $Id: class_captcha.php 5605 2011-09-19 11:17:26Z Tomm $

 * $Id$

 */

class captcha

 */

class captcha

Zeile 167Zeile 167

function build_hidden_captcha()
{


function build_hidden_captcha()
{

		global $mybb, $templates;

		global $db, $mybb, $templates;


$field = array();



$field = array();


Zeile 312Zeile 312
		foreach($this->errors as $error)
{
$lang_string = $error['error_code'];

		foreach($this->errors as $error)
{
$lang_string = $error['error_code'];

			














if(!$lang_string)
{
if($lang->invalid_captcha_verify)
{
$lang_string = 'invalid_captcha_verify';
}
else
{
$lang_string = 'unknown_error';
}
}


			if(!$lang->$lang_string)
{
$errors[] = $error['error_code'];

			if(!$lang->$lang_string)
{
$errors[] = $error['error_code'];