mediawiki-extensions-Confir.../ReCaptcha/HTMLSubmittedValueField.php
Gergő Tisza 3e3b91b527 Add AuthManager support for ReCaptcha, ReCaptchaNoCaptcha
Also remove references to "two words" from ReCaptcha labels.
The captcha image doesn't always contain two words.

Bug: T110302
Change-Id: I544656289480056152a1db195babb6dadf29bc71
2016-05-16 09:51:11 +00:00

32 lines
535 B
PHP

<?php
/**
* Do not generate any input element, just accept a value. How that value gets submitted is someone
* else's responsibility.
*/
class HTMLSubmittedValueField extends HTMLFormField {
public function getTableRow( $value ) {
return '';
}
public function getDiv( $value ) {
return '';
}
public function getRaw( $value ) {
return '';
}
public function getInputHTML( $value ) {
return '';
}
public function canDisplayErrors() {
return false;
}
public function hasVisibleOutput() {
return false;
}
}