Rev 1016 | Rev 1050 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1016 | Rev 1018 | ||
---|---|---|---|
Line 27... | Line 27... | ||
27 | 27 | ||
28 | public function isVisible(): bool { |
28 | public function isVisible(): bool { |
29 | return false; |
29 | return false; |
30 | } |
30 | } |
31 | 31 | ||
32 | public function captchaDomHead() { |
32 | public function captchaGenerate($header_text=null, $footer_text=null) { |
33 | // Here you can add styles and scripts to be included into the HTML <head> part |
- | |
34 | return '<script> |
33 | return '<script> |
35 | function oidplus_captcha_response() { |
34 | var oidplus_captcha_response = function() { |
36 | return OIDplusCaptchaPluginNone.captchaResponse(); |
35 | return OIDplusCaptchaPluginNone.captchaResponse(); |
37 | } |
36 | }; |
38 | function oidplus_captcha_reset() { |
37 | var oidplus_captcha_reset = function() { |
39 | return OIDplusCaptchaPluginNone.captchaReset(); |
38 | return OIDplusCaptchaPluginNone.captchaReset(); |
40 | } |
39 | }; |
41 | </script>'; |
40 | </script>'; |
42 | } |
41 | } |
43 | 42 | ||
44 | public function captchaGenerate($header_text=null, $footer_text=null) { |
- | |
45 | return ''; |
- | |
46 | } |
- | |
47 | - | ||
48 | public function captchaVerify($params, $fieldname=null) { |
43 | public function captchaVerify($params, $fieldname=null) { |
49 | return true; |
44 | return true; |
50 | } |
45 | } |
51 | 46 | ||
52 | public static function setupHTML(): string { |
47 | public static function setupHTML(): string { |