function init($type) { global $config, $db, $user; $user->add_lang('mods/captcha_recaptcha_new'); parent::init($type); $this->response = request_var('g-recaptcha-response', ''); }
/** * Initialize plugun * * @global array $config * @global <type> $db * @global user $user * @param int $type */ function init($type) { global $config, $db, $user; $user->add_lang('mods/captcha_seznam'); parent::init($type); $this->hash = request_var('seznam_hash', ''); $this->code = request_var('seznam_code', ''); }
function init($type) { global $config, $db, $user; $user->add_lang('captcha_recaptcha'); parent::init($type); $this->challenge = request_var('recaptcha_challenge_field', ''); $this->response = request_var('recaptcha_response_field', ''); }